A cloud-based identity and access management service for securing user authentication and resource access
B2C Custom policy preventing loading and rendering custom html file
Tuan Pham Van
0
Reputation points
Hi Support Team,
We are using Azure AD B2C with a custom policy. In this policy, we provide a customized HTML page that includes both inline scripts and external script sources.
Everything generally works well, but in certain geographic locations we frequently encounter the following issue:
The B2C login page fails to load.
The user is immediately redirected back to our application.
We see this error in the logs:
"HResult": "80131500", "Message": "The resource 'https://....blob.core.windows.net/b2c/n-CA/login.html' contains script errors preventing it from being loaded.",
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Sign in to answer