I'm trying to create a new Kubernetes Service Connection for Azure DevOps, but when I try to create it I get the error:
You don’t appear to have an active Azure subscription
I've tried a few ways to fix the issue but it's not working.
I'm trying to create a new Kubernetes Service Connection for Azure DevOps, but when I try to create it I get the error:
You don’t appear to have an active Azure subscription
I've tried a few ways to fix the issue but it's not working.
Here's how I solved it:
I simply went to Azure DevOps > Project > Project settings
Next, I went to Permissions > Endpoint Administrators > Members
Then I added my user to one of the groups under the Endpoint Administrators group. You are also allowed to add your user directly, but permissions are better managed in groups and not individually.
Since the permission updates might take some minutes to take effect in the current web browser window, I logged in to Azure DevOps using a New incognito window of my web browser, this time I was able to create a new Kubernetes Service Connection.
The root cause of this problem is the directory used by Azure Dev Ops. One of them related to the email and the second one related to the Azure Active directory user.
All you have to do is change the directory to the default one.
For me, the problem was that I selected the Microsoft Account
instead of the Default directory
Azure Active Directory (AAD) on the Azure DevOps Organizations login page.
Select the AAD which contains the Azure subscription(s) then you can select them on Azure DevOps.