Devops pipeline cant get my ACR nor I can create a service connection to ACR

Javier Juarez 21 Reputation points
2022-02-02T19:42:43.437+00:00

Hello.

I'm tyring create a pipeline to deploy containers to my ACR using the "Deploy to Azure kubernetes service". After I authenticate I can see my AKS cluster, but when it asks for container registry is says:

no results found.

After multiple issues I started using this guide and a few others:

https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/kubernetes/aks-template?view=azure-devops

I have created the following to try and make it work:

  1. Service connection to my subscription
  2. I have created my AKS cluster and ACR
  3. ACR is attached to AKS
  4. pull permission was applied for AKS to the ACR

If I try to create a service connection using docker registry. After I login to the subscription I get a message:
no registries found

I also followed this guide to create a SP:
https://cloudblogs.microsoft.com/opensource/2018/11/27/tutorial-azure-devops-setup-cicd-pipeline-kubernetes-docker-helm/

Please confirm what I could be missing to deploy using azure devops.

Thanks for your help

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
25,563 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. srbhatta-MSFT 8,451 Reputation points Microsoft Employee
    2022-02-03T07:18:32.023+00:00

    Hello @Javier Juarez ,

    Thank you for reaching out to Microsoft QnA Platform.
    As you are using Azure Devops to create a pipeline to deploy containers, I would recommend you to post your question in the Azure DevOps community channel.

    Hope this helps.

    ------------------------------------------------------------------------------------------------------

    Please don't forget to Upvote if you find this information useful.