I cant find the the subscription when creating an azure connection with docker registry from Azure DevOps

Thomas Gammelby Lodberg 20 Reputation points
2025-06-11T07:59:01.87+00:00

I have the role as being owner of the subscription and I am Project Collection Administrator but when I am trying to create a service connection as a docker registry with service principal I get the error:
You don’t appear to have an active Azure subscription.

Azure DevOps
0 comments No comments
{count} votes

Accepted answer
  1. Durga Reshma Malthi 5,475 Reputation points Microsoft External Staff Moderator
    2025-06-11T09:08:22.41+00:00

    Hi Thomas Gammelby Lodberg

    Could you please follow the below steps to resolve this issue:

    1. Go to Azure Portal -> Subscriptions -> Ensure your subscription is active.
    2. Ensure the Service Principal has Contributor or Owner access to the subscription.
    3. Ensure Your Azure DevOps Org Is Connected to Microsoft Entra ID -> Go to Azure DevOps -> Organization Settings -> Microsoft Entra ID. User's image
    4. Go to Project Settings -> Service Connections -> Create new Service Connection -> Select Docker Registry -> Instead of selecting the service principal, try selecting the Others for Registry type and enter the required details. User's image or You can select the Registry type as Azure Container Registry -> Authentication type -> Managed Service Identity.

    Additional References:

    https://stackoverflow.com/questions/76744159/unable-to-see-azure-subscriptions-in-the-azure-devops-service-connection

    Hope this helps!

    Please Let me know if you have any queries.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.