Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,020 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am hosting an Angular Single Page Application (SPA) on Azure Static Web Apps, and I am trying to enable Azure Active Directory (AAD) authentication for the front-end. Despite configuring the app registration and Azure Static Web App settings, authentication fails, and users are unable to log in.
Details
https://mc-app-tst.lantmannen.com/.auth/login/aad/callback
https://mc-app-test.azcn.lantmannen.com/.auth/login/aad/callback
staticwebapp.config.json
file to enforce authentication with the following configuration:{
"routes": [
{
"route": "/*",
"allowedRoles": [
"authenticated"
]
}
],
"responseOverrides": {
"401": {
"redirect": "/.auth/login/aad",
"statusCode": 302
}
},
"auth": {
"identityProviders": {
"azureActiveDirectory": {
"registration": {
"openIdIssuer": "https://login.microsoftonline.com/<TENANT_ID>/v2.0",
"clientId": "<CLIENT_ID>"
}
}
}
},
"navigationFallback": {
"rewrite": "/index.html",
"exclude": [
"/*.{png,ico,svg}",
"/assets/*"
]
},
"forwardingGateway": {
"allowedForwardedHosts": []
},
"networking": {
"allowedIpRanges": [
"0.0.0.0/0"
]
}
```}
Issue Observed
- When accessing the app, users are redirected to the Azure AD login page.
- After login, the authentication process fails with the following error:
- **Error Code**: `900971`
- **Error Message**: "No reply address provided."
- Azure AD Sign-In Logs show that MFA is completed, but the error indicates that no valid reply address is provided:
- **Application**: `App-ConNy-Login-TST`
- **Failure Reason**: No reply address provided.
- **Sign-in error code**: `900971`.
![User's image](/api/attachments/b688a825-3b14-4107-9f32-a85a37813947?platform=QnA)
I've added the corresponding redirect URIs to my App Registration.
Could you see the problem why is says "No reply address provided" even though i've clearly added these