-
Notifications
You must be signed in to change notification settings - Fork 68
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
[@microsoft/vscode-azext-azureauth] AzureSubscription.credential.getToken() returns an error with '.default' scope #1538
Comments
The error source is here so that indicates that |
@shsuman can you share the logs from the Microsoft Authentication output window? Please redact any sensitive info. |
You may need to set the log level for Microsoft Authentication to debug or trace. You can do so via the "Developer: Set Log Level..." command. Choose "Microsoft Authentication" and select Debug or Trace. |
@bwateratmsft @alexweininger Below are the logs with PII redacted:
|
Thanks @shsuman, this is helpful. It looks like |
When calling ,
or
I am getting this error:
You are not signed in to an Azure account. Please sign in.
However, this doesn't happen if you pass an empty array
[]
inside thegetToken
function.The text was updated successfully, but these errors were encountered: