| 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 |
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.
The first step is to configure managed identities on your app or virtual machine.
- Configure managed identities for App Service and Azure Functions
- Configure managed identities on Azure virtual machines (VMs)
- Configure managed identities for Azure resources on a virtual machine scale set
[!INCLUDE add role assignments]
Check out our samples that show how to use Microsoft Entra authorization in programming languages we officially support.