0

I am using REST API to fetch all role assignments at subscription scope. I don't have the nextLink and still don't have full list of role assignments. I noticed this question has no replies either. So looking for any help with resolution on this. I used URL: https://management.azure.com/subscriptions/ID/providers/Microsoft.Authorization/roleAssignments. The missing ones were Owner role assigned to 2 users. Appreciate any help with this.

1 Answer 1

0

Resolved this problem. The API does not have a flag like PowerShell to pass the IncludeClassAdministrators. So it misses the Service Administrator and CoAdministrator in the list. To workaround a separate call can be made to get just the ClassicAdministrators.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.