Azure web app Easy auth (with Azure AD auth) is working for windows web apps, but not on Linux web app. After enabling the easy auth with Azure AD the web app url shows page not found.
When I checked the web app logs, the container has started and ready to serve the requests. But the web app still shows same Not Found
error.
If I disable the easy-auth the web app is working as is.
My azure web app tech stack is
React SPA
running on Node LTS 14
in a Linux web app
.
Not sure if I am missing something on configuration. Any help is appreciated. Thanks in advance...
Please check if below cases :
Go to
Azure app service> Configuration > General Settings.
If your build folder is at the root of the project,give Start up command:pm2 serve /home/site/wwwroot --no-daemon –spa
Please go through these related issue References to trouble shoot :
Also please check this Blog.
According to Azure App Service | Microsoft Docs
In your app page, select TLS/SSL settings. Then make HTTPS Only to On.
Also, suggest you Enable diagnostics logging for web apps in Azure App Service incase if you haven’t enabled earlier to check the complete error details and root cause.