Create Role Collections during subaccount setup #413
-
Hello, I tried adding the following object to "assignrolecollections" section: `{
But when running the script, I'm getting the following error: [2023-01-23 14:48:19] ERROR : FAILED I checked https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/libs/btpsa-usecase.json and found that "services" section has "assignrolecollections": { So I tried adding this line to "services", but it didn't work out: "services": [ Could you please advise? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You find an example of the assignment of a role collection here: https://github.com/SAP-samples/btp-setup-automator/blob/main/usecases/released/default.json. In your case I assume that this is a custom role collection and I guess you need to add the type "custom" in your configuration instead of account The code and different option executed are contained in the file https://github.com/SAP-samples/btp-setup-automator/blob/main/libs/python/helperRolesAndUsers.py, which gives you an insight into the different steps that are executed. |
Beta Was this translation helpful? Give feedback.
You find an example of the assignment of a role collection here: https://github.com/SAP-samples/btp-setup-automator/blob/main/usecases/released/default.json.
In your case I assume that this is a custom role collection and I guess you need to add the type "custom" in your configuration instead of account
The code and different option executed are contained in the file https://github.com/SAP-samples/btp-setup-automator/blob/main/libs/python/helperRolesAndUsers.py, which gives you an insight into the different steps that are executed.
For custom role collections you find the flow in the code here