You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running my Net6 project via docker compose in VS, DefaultAzureCredential fails with
[Informational] Azure-Identity: VisualStudioCredential.GetToken invoked. Scopes: [ https://storage.azure.com/.default ] ParentRequestId: 2109dca0-a2c9-4e44-942f-bcddaa4989f7
[Informational] Azure-Identity: VisualStudioCredential.GetToken was unable to retrieve an access token. Scopes: [ https://storage.azure.com/.default ] ParentRequestId: 2109dca0-a2c9-4e44-942f-bcddaa4989f7 Exception: Azure.Identity.CredentialUnavailableException (0x80131500): File found at "C:\Users\ContainerAdministrator\AppData\Local\.IdentityService\AzureServiceAuth\tokenprovider.json" isn't a valid JSON file
---> System.Text.Json.JsonReaderException (0x80131500): 'T' is an invalid escapable character within a JSON string. The string should be correctly escaped. LineNumber: 0 | BytePositionInLine: 111.
in the logging I get from AzureEventSourceListener.CreateConsoleLogger().
If you're planning a 17.7.1 it would be great if it could include a fix for this, otherwise feel free to close this and I'll just tell my coworkers not to update to 17.7.
Describe the Bug
Running my Net6 project via docker compose in VS,
DefaultAzureCredential
fails within the logging I get from
AzureEventSourceListener.CreateConsoleLogger()
.Steps to Reproduce
The contents of that file:
which the github highlighting agrees isn't valid JSON.
Other Information
This may be related to be upgrading to "Version 17.7.0" of VS, since I was able to get a credential before.
Output of
docker version
Output of
docker info
Toggle me!
The text was updated successfully, but these errors were encountered: