How to fix broken web chat app after Microsoft Entra ID authentication login added

Peter Daniels 40 Reputation points

I had a chat app using Azure web app and Web PubSub working perfectly using the github example: samples/javascript/chatapp/nativeapi

I made no changes to code and added the microsoft entra ID authentication requirement according the default instructions for Workforce configuration (current tenant) which stated "No SDKs, specific languages, or changes to application code are required."

I logged into the new login authentication screen and my app launched what appeared to be normally. However, after connection indicated through Web PubSub, the websocket showed it was closed on the next input. I'm not sure what I'm doing wrong, if no code changes are required and the app was working fine before adding authentication. When I deleted the app registration to microsoft entra ID it goes back to working normally. What am I missing?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,050 questions
0 comments No comments
{count} votes