Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription is not listed despite of having a successful sign-in #949

Open
Tracked by #952
thomeee86 opened this issue Apr 22, 2024 · 4 comments
Open
Tracked by #952

Subscription is not listed despite of having a successful sign-in #949

thomeee86 opened this issue Apr 22, 2024 · 4 comments

Comments

@thomeee86
Copy link

  • VS Code Version: 1.88.1
  • Azure Account Extension Version: 0.11.6
  • OS Version: Win11 23H2 OS Build: 22631.3447

Are you connected to a proxy server? No

Steps to Reproduce:

  1. Run: az login
  2. Getting the result:
    PS C:\GitHub\TMMT-Backend-dev> az login
    A web browser has been opened at https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with az login --use-device-code.
    [
    {
    "cloudName": "AzureUSGovernment",
    "homeTenantId": "45299e41-86ca-43b6-877b-xxxxxxxxx",
    "id": "687510a4-3818-4aeb-be8c-xxxxxxxxx",
    "isDefault": true,
    "managedByTenants": [],
    "name": "gea-gcchdev-pilot1a-001",
    "state": "Enabled",
    "tenantId": "45299e41-86ca-43b6-877b-xxxxxxxxxx",
    "user": {
    "name": "[email protected]",
    "type": "user"
    }
    }
    ]
  3. The Azure tab still showing 'Select Subscriptions...' and not listing the found subscription in the list.
@alexweininger
Copy link
Member

Hi, the authentication for the Azure extensions in VS Code is not linked in any way to the Azure CLI.

Use this button to select subscriptions with the extensions.
Screenshot 2024-04-22 at 3 28 34 PM

@thomeee86
Copy link
Author

Hi, the authentication for the Azure extensions in VS Code is not linked in any way to the Azure CLI.

Use this button to select subscriptions with the extensions. Screenshot 2024-04-22 at 3 28 34 PM

I don't really have this option. :(
image

@alexweininger
Copy link
Member

Can you click the "Select subscriptions..." item in the screenshot you posted?

@thomeee86
Copy link
Author

I can, it's get highlighted and nothing happens:
image

Also, if I run this:
image
I get my subscription visible here, but again nothing happens more:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants