Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 2.13 KB

File metadata and controls

42 lines (29 loc) · 2.13 KB
title Authorize a managed identity request
description This article provides information about authorizing requests to Azure Web PubSub resources with Managed identities for Azure resources.
author terencefan
ms.author lianwei
ms.date 03/11/2025
ms.service azure-web-pubsub
ms.topic how-to

Authorize requests to Azure Web PubSub resources with Managed identities for Azure resources

Azure Web PubSub Service supports Microsoft Entra ID for authorizing requests from Managed identities for Azure resources.

This article explains how to set up your resource and code to authorize requests to the resource using a managed identity.

Configure managed identities

The first step is to configure managed identities on your app or virtual machine.

Add a role assignment in the Azure portal

[!INCLUDE add role assignments]

Code samples with Microsoft Entra authorization

Check out our samples that show how to use Microsoft Entra authorization in programming languages we officially support.

Related content