[Enter feedback here]
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
For Assignable Scope, can you use file or json file
"assignableScopes": [
"filename or file.json"
],
as instead
"assignableScopes": [
"/subscriptions/11111111-1111-1111-1111-111111111111"
],
The reason for this question is that I have over 10 customer roles and I have 30 plus subscriptions and when I create new subscription, then I need update each customer role with additional subscriptions.
I was hopping that there is a way to use file.json to contain all subscriptions so I can just update one file with new subscription.
@elvirk Thank you for your question, our team will look into it and get back to you at the earliest.
Hi - any update?
@elvirk Apologies for delayed response on this. Sorry to inform that currently there isn't a way to utilize a file for assignableScopes in a custom role. You can explore using management groups to manage your subscriptions. It is possible to use a management group for assignableScopes in a custom role, but this feature is currently in preview and not recommended for production workloads. You can specify only one management group in a custom role.
Please find the Documentation Reference for the same.
Hope the above information helps. At this point it appears that there's no further edits or updates needed to the documentation. We will go ahead and close this issue, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you