Using managed identities in AKS cluster

Kopl 166 Reputation points
2021-12-13T20:44:19.797+00:00

Hi team,

I am trying to connect to Azure Blob in AKS using managed identities.
I followed steps here : https://learn.microsoft.com/en-us/azure/machine-learning/how-to-use-azure-ad-identity. However, when I try to use the BlobServiceClient to upload data to Blob, I got the following warning:
No body was attached to the request
Ultimately, the request is rejected by:
azure.core.exceptions.ClientAuthenticationError: Unexpected content type "text/plain; charset=utf-8"
Would greatly appreciate your help, thanks!

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,454 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,878 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,688 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kopl 166 Reputation points
    2021-12-14T01:20:50.773+00:00

    I was able to get AKS-managed identities work by following the latest Microsoft documentation here: https://learn.microsoft.com/en-us/azure/aks/use-azure-ad-pod-identity.

    1 person found this answer helpful.