Azure Redis connectivity using Managed Identity

Lakshmi 0 Reputation points


I've created User managed identity and added as Azure Redis user and I'm trying to connect redis using username as managed identity and password as token.

Could you pls help on how can I fetch access token for managed identity to connect Redis.

Appreciate your quick help on the fix.

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
232 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 17,866 Reputation points Microsoft Employee


    Thank you for reaching out.

    Are you using default credentials? If yes, please check this link

    In this article, you learn how to use your service principal or managed identity to connect to your cache, and how to grant your connection predefined permissions based on the Microsoft Entra artifact being used for the connection.



    0 comments No comments