'Insufficient privileges when creating a Azure pipeline in my own project

I am currently trying to create a pipeline for my python flask webapp in Azure DevOps for a university project. I have the student subscription and added my code to the repo.

When trying to create a pipeline, I choose the Azure Repo git, select my repo and choose "Python to Linux Web App on Azure". After choosing my subscription and clicking on "Validate and configure" I get the following error:

Picture of the error

I can't find any setting related to this problem. Especially because I am the owner of the organisation and project, I have all the permissions to do everything (at least with the settings available in Azure DevOps).

Maybe someone knows a solution to this problem. Sadly I couldn't find one on the internet yet.

Greetings, Lukas



Solution 1:[1]

You need at least Application Administrator role in Azure AD. You should have this as you've created the subscription. Possibly you've created Azure subscription and Azure DevOps with different users.

Please go and check if you can create an application in AAD.

  • If you can, create an empty job instead of wizard.
  • Create service connection for Azure.
  • Then configure your pipeline.

https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ramazan Kilimci