question

AlexEldridge-6760 avatar image
1 Vote"
AlexEldridge-6760 asked Deva-MSFT edited

New-AzRoleAssignment: Exception of type 'Microsoft.Rest.Azure.CloudException' was thrown.

I cannot run New-AzRoleAssignment using a service principal account. There is no way to assign the azure AD graph API permissions as its greyed out and deprecated soon. is there an alternative?

azure-active-directoryazure-ad-graphazure-ad-adal-deprecationazure-ad-graph-deprecation
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AlexEldridge-6760
Thank you for your post!

When it comes to running the New-AzRoleAssignment PowerShell command, can you share a screenshot of your error message, so I can gain a better understanding of your issue? Any additional information or screenshots would be appreciated.



If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

0 Answers