I signed on to a free-tier Azure subscription and am trying to create a CICD pipeline.
I go pipelines -> classic editor
Azure repo source –> docker container
but when starting to enter Azure subscription
I get the following error:
I tried references from Deploy azure subscription using azure devops pipeline, Azure Subscriptions are missing on a pipeline, You don’t appear to have an active Azure subscription when creating new Kubernetes service connection in Azure DevOps, and Error when creating a pipeline. "You don’t appear to have an active Azure subscription." to no avail.
Azure’s troubleshoot https://learn.microsoft.com/en-us/azure/devops/pipelines/release/azure-rm-endpoint?view=azure-devops also gave me the same error, You don’t appear to have an active Azure subscription.
Can anyone suggest what I might be missing?
2
Answers
Thank you for suggestions, but I checked again today, and my Azure subscription populated the correct space.
Only thing I did was contact Azure and set up a meeting (which they did not show up for).
I have faced the same issue when trying to reproduce the issue. As an alternative way, I have configured the container service connection as below.
Go to Azure container registry and enable admin in Access keys and make a note of the username, password and login server.
Next, in azure devops, docker task, select the latest version (2) and fill in the required details as shown in the screenshot.
In the above screenshot, the docker registry is the ACR login server name and the docker ID is the ACR username.
Save and run the pipeline.