microsoft/vscode-tools-for-ai

Doesn't read the tenant information from azure.tenant in vscode settings

thegovind opened this issue · 3 comments

Expected Behavior

Should either give the ability to select a tenant or read that information from vscode settings.json.

Actual Behavior

Defaults of a tenant, but doesn't allow the ability to switch tenant.

Steps to Reproduce the Problem

1.Switch to a different tenant

Specifications

  • Version: 0.48.0
  • Platform: Win

@shsuman - I think it's up to Microsoft Auth Provider sign in to the right tenant and provide us the subscriptions we need but I think I remember that there were issues getting notified of switching tenants. Do you remember what the latest is here?

Looking into it a bit azure.tenant is the way of controlling the deprecated Azure Account Extension but I can't remember if that applies for the Microsoft Auth Provider

@thegovind By default, we sign in to all the tenants but in some cases, due to some restrictions like MFA, you will have to manually sign in to your non-default tenant. You can use the command Azure ML: Sign In to Directory to do the same

Closing because of inactivity. Please reopen if need be :)