4
votes

Logged into Azure portal--> App Services-->Selected the Project-->Continuous Delivery Preview I see error message "You do not have enough permissions on this App Service to setup Continuous Delivery. Learn More: https://go.microsoft.com/fwlink/?linkid=843472" and Configure button is disabled. I am the Global Administrator and why I don't had the permissions to configure, where I can assign those access. Error message

Failed to set Azure permission 'RoleAssignmentId: 9****a' for the service principal '2****3' on subscription id '****': error code: Forbidden, innner error code: AuthorizationFailed, inner error message The client 'my mail Id' with object id '***** does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/*****'. For troubleshooting refer to link

2

2 Answers

4
votes

Global Administrator is your directory role. If you want to manage your resource in your subscription, you should give your user owner role.

You could do it on Azure Portal. <your subscription>--><Access Control>--><Add>.

enter image description here

More information about this please refer to this official document.

Note: Find your user(or service principal), if your user does not have owner, please grant it.

0
votes

Had this issue as well, please try the following:

  1. Turn off all checkboxes in Azure DevOps project settings (Azure DevOps -> Project Settings -> Settings), like this "Limit job authorization scope to the current project for non-release pipelines" DevOps pipeline settings

  2. Elevate your permissions to be able to assign Owner to your user using this guide.

  3. Assign Owner role to you user: Azure Portal -> Azure subscriptions -> select subscription -> Access control (IAM) tab -> Roles assignments -> Select role Owner, select your user -> Save.