Open EitanBlumin opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
Author: | EitanBlumin |
---|---|
Assignees: | - |
Labels: | `ARM - RBAC`, `Service Attention`, `customer-reported`, `needs-triage`, `question` |
Milestone: | - |
Hi @EitanBlumin, Apologies for the delayed response. I just tried the command you provided and was able to get a response successfully.
Could you please confirm if you are still facing the issue and need assistance? If the issue is resolved, please feel free to close this issue or do let us know so that we can close it.
Thank you
@KranthiPakala-MSFT , the error is still happening.
I tried to determine the differences between subscriptions where this happens and when it doesn't.
I have access to multiple subscriptions with varying levels of access. In some of them, I have Contributor access, in others, I have Owner access, some have classic admins and some don't. It doesn't seem to have any correlation with the error.
So far I think this error only happens with subscriptions managed by a CSP. Subscriptions where I see the exact Offer in the portal don't seem to have this error.
I hope this will help you in reproduction.
Thanks for your response and clarification @EitanBlumin. I don't have subscriptions managed by a CSP to test this. Hence deflecting this to relevant owners who can assist on this.
@armleads-azure - Could you please have a look at this issue and share your thoughts? - Thank you
@armleads-azure Do you have any updates on this issue.
Description
In some cases, when I run
Get-AzRoleAssignment -IncludeClassicAdministrators
, I'm getting the error below:This indicates that under certain circumstances it's not possible to list the classic administrators using this command.
Unfortunately, these circumstances are not detailed in the proper documentation:
https://github.com/Azure/azure-powershell/blob/main/src/Resources/Resources/help/Get-AzRoleAssignment.md#-includeclassicadministrators
Please update the documentation to reflect when using the
-IncludeClassicAdministrators
is possible and when not.Steps to reproduce
Environment data
Module versions
Debug output
Error output