Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
Description
My Azure subscription is using my personal Microsoft account. When I was trying to use the Azure local provisioning, I get this: Azure.RequestFailedException: The access token is from the wrong issuer 'https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/'. It must match the tenant 'https://sts.windows.net/xxxxxxxxxxxxxxxxx/'
.
The token source is from my Visual Studio. I think it requests the access token from Microsoft Personal Public Tenant, but not my subscription tenant. And I've found a workaround: With ENV: AZURE_TENANT_ID , which sets the DefaultAzureCredentialOptions.TenantId
.
Describe the solution you'd like
Provide ability to specify the azure tenant id for local provisioning or can there be an automatic way to determine the tenant id? May related, DefaultAzureCredentialOptions.AdditionallyAllowedTenants
Additional context
No response