4

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

Shui shengbao
  • 18,746
  • 3
  • 27
  • 45
Jagadesh
  • 264
  • 6
  • 16

2 Answers2

4

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.

Community
  • 1
  • 1
Shui shengbao
  • 18,746
  • 3
  • 27
  • 45
0

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.

Dmytro Kutetskyi
  • 701
  • 6
  • 11