How to allow aks default storage class to create azure disk as the issue started after cleaning managed identity

Srinivas Indra 0 Reputation points
2024-07-19T17:13:34.0733333+00:00

failed to provision volume with StorageClass "default": rpc error: code = Internal desc = Retriable: true, RetryAfter: 0s, HTTPStatusCode: -1, RawError: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to http://localhost:7788/subscriptions/98a89f8b-6b06-4ab8-ac9f-d59c57423ad6/resourceGroups/mc_rg-dev-eastus-001_aks-core-d-001_eastus/providers/Microsoft.Compute/disks/pvc-8c5766df-c949-48ad-9072-5f968317626c?api-version=2022-07-02: StatusCode=0 -- Original Error: adal: Failed to execute the refresh request. Error = 'context deadline exceeded'

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
661 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,994 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
603 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 35,636 Reputation points Microsoft Employee
    2024-07-23T16:16:54.59+00:00

    @Srinivas Indra

    Try updating the credentials to see if it resolves the error. If you are still facing the issue, please let me know and we can work with you directly to further investigate.

    https://learn.microsoft.com/en-us/azure/aks/update-credentials


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments