Error : Click Authorize to configure an Azure service connection. A new Azure service principal will be created and added to the Contributor role.

Anuraj 166 Reputation points MVP
2020-01-31T04:34:54.453+00:00

I am getting this error while configuring Azure Web App deployment. The build pipeline already contains a web app deployment, I am trying to add one more.

EPlSnOeUcAAR_I2

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,854 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anuraj 166 Reputation points MVP
    2020-02-27T04:32:01.097+00:00

    I resolved it. Instead of adding a new web app deployment step - which was causing issue. I cloned the properly working step and changed the target web app. And it worked without any issue.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,286 Reputation points
    2020-01-31T11:15:59.977+00:00

    Thanks for asking question! It looks like you don’t have the required permissions on the AAD, and thus you are not able to configure.
    Please refer to the below link might be helpful:

    https://learn.microsoft.com/en-us/azure/devops/pipelines/release/azure-rm-endpoint?view=azure-devops#the-user-is-not-authorized-to-add-applications-in-the-directory

    https://learn.microsoft.com/en-us/azure/app-service/overview-authentication-authorization

    Let me know if issue persists.