question

kavinkumar-0157 avatar image
0 Votes"
kavinkumar-0157 asked Anjana-8731 published

I have issue in bash"az ad sp create-for-rbac" in this CLI

While executing this command in azure bash "az ad sp create-for-rbac"

I am getting error like "Insufficient privileges to complete the operation."

azure-ad-domain-services
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.

1 Answer

SaurabhSharma-msft avatar image
0 Votes"
SaurabhSharma-msft answered Anjana-8731 published

@kavinkumar-0157 You need to have administrator role to perform create a service principal. Please assign "application administrator" role to the account you are using to log in and execute the command. If you do not have privileges to assign roles then you need to contact your admin to give you proper permissions. Please refer to the roles and permissions document for understand various roles.


· 2
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.

@kavinkumar-0157 I too have the same issue, but I am the Owner of this account

1 Vote 1 ·

@kavinkumar-0157 Please let me know if you are still having issues or have any other questions.


Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

0 Votes 0 ·