Setting the "defaultServiceVersion" makes no difference on requests without the "x-ms-version" headers set

Behzad 40 Reputation points
2025-01-28T16:22:36.27+00:00

Hello,

I've used the following command to set the "defaultServiceVersion" unto our Storage Account:

az storage account blob-service-properties update --set defaultServiceVersion="2020-04-08" --account-name FOOBAR

So that when I interact with the Storage Account API (https://FOOBAR.blob.core.windows.net/), I wouldn't have to set it.

I can see that it is set and accepted by Azure when I do blob-service-properties show

User's image

However, when I use Postman to send a request to it, I still have to always set the x-ms-version so that it accepts Bearer FOOBAR . Otherwise:

Authentication scheme Bearer is not supported in this version.

I've tried it with the 2025-01-05 , no luck. The Storage Account is in West Europe.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,050 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,057 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.