You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this scenario, Azure Active Directory (Azure AD) signs the user in. But the application displays an error message and doesn't let the user finish the sign-in flow. The problem is that the app didn't accept the response that Azure AD issued.
19
19
20
-
There are several possible reasons why the app didn't accept the response from Azure AD. If the error message doesn't clearly identify what's missing from the response, try the following:
20
+
There are several possible reasons why the app didn't accept the response from Azure AD. If there is an error message or code displayed, use the following resources to diagnose the error:
21
+
22
+
*[Azure AD Authentication and authorization error codes](../develop/reference-aadsts-error-codes.md)
If the error message doesn't clearly identify what's missing from the response, try the following:
21
28
22
29
- If the app is the Azure AD gallery, verify that you followed the steps in [How to debug SAML-based single sign-on to applications in Azure AD](./debug-saml-sso-issues.md).
23
30
@@ -58,13 +65,13 @@ To add an attribute in the Azure AD configuration that will be sent in the Azure
58
65
59
66
The next time that the user signs in to the app, Azure AD will send the new attribute in the SAML response.
60
67
61
-
## The app doesn't identify the user
68
+
## The app cannot identify the user
62
69
63
70
Signing in to the app fails because the SAML response is missing an attribute such as a role. Or it fails because the app expects a different format or value for the **NameID** (User Identifier) attribute.
64
71
65
72
If you're using [Azure AD automated user provisioning](../app-provisioning/user-provisioning.md) to create, maintain, and remove users in the app, verify that the user has been provisioned to the SaaS app. For more information, see [No users are being provisioned to an Azure AD Gallery application](../app-provisioning/application-provisioning-config-problem-no-users-provisioned.md).
66
73
67
-
## Add an attribute to the Azure AD app configuration
74
+
###Add an attribute to the Azure AD app configuration
68
75
69
76
To change the User Identifier value, follow these steps:
70
77
@@ -87,7 +94,7 @@ To change the User Identifier value, follow these steps:
87
94
88
95
8. Under **User attributes**, select the unique identifier for the user from the **User Identifier** drop-down list.
89
96
90
-
## Change the NameID format
97
+
###Change the NameID format
91
98
92
99
If the application expects another format for the **NameID** (User Identifier) attribute, see [Editing nameID](../develop/active-directory-saml-claims-customization.md#editing-nameid) to change the NameID format.
93
100
@@ -155,4 +162,8 @@ To change the signing algorithm, follow these steps:
155
162
156
163
## Next steps
157
164
158
-
[How to debug SAML-based single sign-on to applications in Azure AD](./debug-saml-sso-issues.md).
165
+
*[How to debug SAML-based single sign-on to applications in Azure AD](./debug-saml-sso-issues.md).
166
+
167
+
*[Azure AD Authentication and authorization error codes](../develop/reference-aadsts-error-codes.md)
0 commit comments