[BUG] BlobServiceClient.GetAccountInfo
fails when using DefaultAzureCredential
#30761
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Library name and version
Azure.Storage.Blobs 12.13.1
Describe the bug
BlobServiceClient.GetAccountInfo
works when using a connection string, but fails when usingDefaultAzureCredential
.Expected behavior
The account info is returned.
Actual behavior
Service responds with a HTTP 404 and an exception is thrown.
Reproduction Steps
Program.cs
csproj
Environment
.NET SDK (reflecting any global.json):
Version: 6.0.400
Commit: 7771abd614
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19044
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.400\
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.3.0
The text was updated successfully, but these errors were encountered: