WebPubSub Managed Identity in Event Handler not recognized

Adrian Stauffer 20 Reputation points
2025-05-01T08:59:19.81+00:00

Hey all,

does anyone have an idea why my event handler for Web PubSub claims I don't have a Managed Identity if in fact I do have one? Is this a bug? I have tried everything (turn on and off, restart the resource, ...) but to no avail.

User's image

It seems I can't get the required token that way. Any ideas what I can do here?

Thanks for your help!

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
97 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2025-05-08T06:02:40.96+00:00

    @Adrian Stauffer Apologies for the inconvenience caused. This appears to be a bug in the portal UI.

    Thanks for bringing this to our attention. I've reached out to the team for a fix.

    As a workaround, you can use Azure CLI to configure the Managed Identity for the event handler. This method bypasses the portal issue and allows for correct setup.

    Please refer to the following Microsoft Learn article for detailed steps: How to configure event handler | Microsoft Learn

    Let us know if further assistance is required!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.