1

I signed on to a free-tier Azure subscription and am trying to create a CICD pipeline.

I go pipelines -> classic editor

enter image description here

Azure repo source --> docker container

enter image description here

but when starting to enter Azure subscription

enter image description here

I get the following error:

enter image description here

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?

frank
  • 3,036
  • 7
  • 33
  • 65
  • Check if the troubleshooting steps provided in this [document](https://blog.georgekosmidis.net/troubleshooting-you-dont-appear-to-have-an-active-azure-subscription.html) helps to fix the issue. – Pravallika KV May 04 '23 at 12:49
  • 1
    That does not unfortunately help either @pravallika KV – frank May 04 '23 at 15:04

2 Answers2

0

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.

enter image description here

Next, in azure devops, docker task, select the latest version (2) and fill in the required details as shown in the screenshot. enter image description here

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. enter image description here

HowAreYou
  • 605
  • 2
  • 6
  • I got the following error `The pipeline is not valid. Job Job_1: Step input containerRegistry references service connection undefined which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.` while trying your suggestion – frank May 09 '23 at 15:25
0

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).

enter image description here

frank
  • 3,036
  • 7
  • 33
  • 65