-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[BUG] VSCode Credential doesn't work #15428
Comments
Hi @mhoeger , do you have the same error when scope is set in valid format, e.g.: |
Hi @AlexanderSher ! Sorry for the delay. Thanks for that note - I've updated my code so that it is in a valid format. Now, I'm getting this exception:
I am logged in though through the Azure extension |
^Sorry I should specify, the original issue happened on Windows and the issue I just pasted is from a Mac. I'm guessing that this is the root cause this #14362? I'll try again on my Windows machine. Apologies for the mixup! |
This appears to be resolved. Please re-open if not. |
Describe the bug
When I use
DefaultAzureCredential
locally with myself logged in only via the VS Code Extension, I run into an exception.Similar behavior and error message on Node.js SDK: Azure/azure-sdk-for-js#11452
Expected behavior
Gets token correctly
Actual behavior (include Exception or Stack Trace)
To Reproduce
<PackageReference Include="Azure.Identity" Version="1.2.2" />
Workaround: Log in via az CLI
Environment:
dotnet --info
output for .NET Core projects): Windows 10 .NET Core 2 or 3The text was updated successfully, but these errors were encountered: