Hi Experts,
Bearer authentication is working to create storage account via API - https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}?api-version=2018-02-01
I am using below REST API to create a container in my storage account and I would like to use Bearer token authentication.
https://{accountName}.blob.core.windows.net/{containerName}?restype=container
But, I am getting the below error in POSTMAN:
Log:
<?xml version="1.0" encoding="utf-8"?>
<Error>
<Code>AuthenticationFailed</Code>
<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:e3a26fc3-d01e-00b0-18e7-529719000000
Time:2021-05-27T10:59:33.6579643Z</Message>
<AuthenticationErrorDetail>Authentication scheme Bearer is not supported in this version.</AuthenticationErrorDetail>
</Error>
Any help would be highly appreciated.