0

enter image description here

I'm the owner of my Azure Portal Subscriptions and also my DevOps Portal Organizations also. But I'm not getting the Azure Subscriptions while creating service connection in Azure DevOps Portal.

I tried Googling and applying some of the steps like

  1. checking the access of subscription, app registration,
  2. https://learn.microsoft.com/en-us/troubleshoot/azure/devops/issues-service-connection-task#unable-to-see-the-azure-subscriptions-while-creating-a-service-connection-even-after-having-the-necessary-permissions
  3. You don’t appear to have an active Azure subscription when creating new Kubernetes service connection in Azure DevOps

etc. but no luck

Vamsi
  • 5
  • 5
  • 1
    Check if this [helps](https://stackoverflow.com/questions/76172767/azure-you-don-t-appear-to-have-an-active-azure-subscription-pipeline#comment134335146_76172767) – Pravallika KV Jul 22 '23 at 16:12
  • Hi @PravallikaKV, Hope you are doing well. Thanks for your response. I tried all the steps present in your given [link](https://blog.georgekosmidis.net/troubleshooting-you-dont-appear-to-have-an-active-azure-subscription.html) but didn't get the subscriptions list while creating the service connection in azure devops project settings. – Vamsi Jul 22 '23 at 18:27
  • Hi @PravallikaKV, Any Update? – Vamsi Jul 26 '23 at 06:29
  • Verify if you are in correct directory in [Azure Portal](https://i.imgur.com/Jpftjbj.png). If not, switch to your directory. – Pravallika KV Jul 26 '23 at 07:04
  • Any update @Vamsi, did it work? – Pravallika KV Jul 26 '23 at 07:40
  • Got it @PravallikaKV, that I switched to default directly by clicking on user account> switch directory in Azure DevOps portal. Then the subscriptions are populated. – Vamsi Jul 26 '23 at 17:54
  • Thanks @PravallikaKV – Vamsi Jul 26 '23 at 17:54
  • Glad it worked @Vamsi. – Pravallika KV Jul 26 '23 at 18:27

1 Answers1

0

Converting my comments as answer:

To fix the issue You don’t appear to have an active Azure subscription while creating service connections in Azure Devops, troubleshoot using the below steps:

Check 1:

  • Click on the profile in Azure Devops (or) Portal, Check if you are in your directory which is valid one.
  • If not, click on the Switch Directory and Select Default directory.

enter image description here

Check 2:

Security details should be in disabled state.

  • Go to Portal=>search for Tenant properties=> Manage security details=>check if security details option is disabled or not. If this option Enabled, change it to disabled

enter image description here

  • Then the subscriptions will be listed while creating Service Connections:

enter image description here

  • Make sure your subscriptions are active in portal: enter image description here
Pravallika KV
  • 2,415
  • 2
  • 2
  • 7