First off, as always, thank you for taking the time to read this thread.
What we are trying to achieve
We would like to present a user with a dropdown list of networks (on a VM provisioning blueprint) that are available and associated with their business group via reservations. Once selected, this would allow for the machine to be provisioned in that network.
Issue
When calling getApplicableNetworks from the dropdown or a workflow we are receiving a 403 error.
[2019-03-12 10:53:23.889] [E] (com.vmware.vra.reservations/getReservationTypeIdForComponent) Error in (Dynamic Script Module name : getReservationTypeIdForComponent#2) 403
Steps taken so far
I've taken a look at the code for this action and it calls a series of other actions. It appears as though the actual issue with with the getReservationTypeIdForComponent action. We fail on this line of code:
var blueprint = compositionService.getBlueprint(blueprintId);
After digging into this a bit, it appears the part that is failing is a call to the vRealize Automation Composition Service API with a 403.
Post upgrade to vRA 7.5 we've experienced a number of permissions issues. We've been slowing working through them as they arise and given the nature of this error, I am wondering if this may be another given we are receiving an 403 error from the API. I don't believe this is an issue with vRA 7.5 at all. We have 7.5 running in our production environment and these actions work fine over there.
Has anyone else had issues calling the Composition Service API? Or any idea how to set permissions to this API?