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
Copy file name to clipboardExpand all lines: articles/active-directory/manage-apps/application-sign-in-unexpected-user-consent-prompt.md
+24-28Lines changed: 24 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,27 +19,27 @@ ms.custom: enterprise-apps
19
19
20
20
Many applications that integrate with Azure Active Directory require permissions to various resources in order to run. When these resources are also integrated with Azure Active Directory, the permission to access them is requested using the Azure AD consent framework. These requests result in a consent prompt being shown the first time an application is used, which is often a one-time operation.
21
21
22
-
In certain scenarios, additional consent prompts can appear when a user attempts to sign-in. In this article, we'll diagnose the reason for the unexpected consent prompts showing, and how to troubleshoot.
22
+
In certain scenarios, additional consent prompts can appear when a user attempts to sign-in. In this article, we diagnose the reason for the unexpected consent prompts showing, and how to troubleshoot.
Further prompts can be expected in various scenarios:
29
29
30
-
* The application has been configured to require assignment. Individual user consent isn't currently supported for apps that require assignment; thus the permissions must be granted by an admin for the whole directory. If you configure an application to require assignment, be sure to also grant tenant-wide admin consent so that assigned user can sign-in.
30
+
- The application has been configured to require assignment. Individual user consent isn't currently supported for apps that require assignment; thus the permissions must be granted by an admin for the whole directory. If you configure an application to require assignment, be sure to also grant tenant-wide admin consent so that assigned user can sign-in.
31
31
32
-
* The set of permissions required by the application has changed by the developer and needs to be granted again.
32
+
- The set of permissions required by the application has changed by the developer and needs to be granted again.
33
33
34
-
* The user who originally consented to the application wasn't an administrator, and now a different (non-admin) user is using the application for the first time.
34
+
- The user who originally consented to the application wasn't an administrator, and now a different (nonadmin) user is using the application for the first time.
35
35
36
-
* The user who originally consented to the application was an administrator, but they didn't consent on-behalf of the entire organization.
36
+
- The user who originally consented to the application was an administrator, but they didn't consent on-behalf of the entire organization.
37
37
38
-
* The application is using [incremental and dynamic consent](../develop/permissions-consent-overview.md#consent) to request further permissions after consent was initially granted. Incremental and dynamic consent is often used when optional features of an application require permissions beyond those required for baseline functionality.
38
+
- The application is using [incremental and dynamic consent](../develop/permissions-consent-overview.md#consent) to request further permissions after consent was initially granted. Incremental and dynamic consent is often used when optional features of an application require permissions beyond those required for baseline functionality.
39
39
40
-
* Consent was revoked after being granted initially.
40
+
- Consent was revoked after being granted initially.
41
41
42
-
* The developer has configured the application to require a consent prompt every time it's used (note: this behavior isn't best practice).
42
+
- The developer has configured the application to require a consent prompt every time it's used (note: this behavior isn't best practice).
43
43
44
44
> [!NOTE]
45
45
> Following Microsoft's recommendations and best practices, many organizations have disabled or limited users' permission to grant consent to apps. If an application forces users to grant consent every time they sign in, most users will be blocked from using these applications even if an administrator grants tenant-wide admin consent. If you encounter an application which is requiring user consent even after admin consent has been granted, check with the app publisher to see if they have a setting or option to stop forcing user consent on every sign in.
@@ -52,38 +52,34 @@ Further prompts can be expected in various scenarios:
52
52
53
53
To ensure the permissions granted for the application are up-to-date, you can compare the permissions that are being requested by the application with the permissions already granted in the tenant.
54
54
55
-
1. Sign in to the [Azure portal](https://portal.azure.com)with an administrator account.
56
-
2. Navigate to **Enterprise applications**.
57
-
3. Select the application in question from the list.
58
-
4. Under Security in the left-hand navigation, choose **Permissions**
59
-
5. View the list of already granted permissions from the table on the Permissions page
60
-
6. To view the requested permissions, select the **Grant admin consent** button. (NOTE: This will open a consent prompt listing all of the requested permissions. Don't click accept on the consent prompt unless you're sure you want to grant tenant-wide admin consent.)
61
-
7. Within the consent prompt, expand the listed permissions and compare with the table on the permissions page. If any are present in the consent prompt but not the permissions page, that permission has yet to be consented to. Unconsented permissions may be the cause for unexpected consent prompts showing for the application.
55
+
1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com)as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator).
1. Enter the name of the existing application in the search box, and then select the application from the search results.
58
+
1. Under Security in the left-hand navigation, choose **Permissions**
59
+
1. View the list of already granted permissions from the table on the Permissions page
60
+
1. To view the requested permissions, select the **Grant admin consent** button. This opens a consent prompt listing all of the requested permissions. Don't select **Accept** on the consent prompt unless you're sure you want to grant tenant-wide admin consent.
61
+
1. Within the consent prompt, expand the listed permissions and compare with the table on the permissions page. If any are present in the consent prompt but not the permissions page, that permission has yet to be consented to. Unconsented permissions may be the cause for unexpected consent prompts showing for the application.
62
62
63
63
### View user assignment settings
64
64
65
65
If the application requires assignment, individual users can't consent for themselves. To check if assignment is required for the application, do the following:
66
66
67
-
1. Sign in to the [Azure portal](https://portal.azure.com) with an administrator account.
68
-
2. Navigate to **Enterprise applications**.
69
-
3. Select the application in question from the list.
70
-
4. Under Manage in the left-hand navigation, choose **Properties**.
71
-
5. Check to see if **Assignment required?** is set to **Yes**.
72
-
6. If set to yes, then an admin must consent to the permissions on behalf of the entire organization.
67
+
1. On the application's page, Select **Properties** under **Manage**.
68
+
1. Check to see if **Assignment required?** is set to **Yes**.
69
+
1. If set to yes, then an admin must consent to the permissions on behalf of the entire organization.
73
70
74
71
### Review tenant-wide user consent settings
75
72
76
73
Determining whether an individual user can consent to an application can be configured by every organization, and may differ from directory to directory. Even if every permission doesn't require admin consent by default, your organization may have disabled user consent entirely, preventing an individual user to consent for themselves for an application. To view your organization's user consent settings, do the following:
77
74
78
-
1. Sign in to the [Azure portal](https://portal.azure.com) with an administrator account.
79
-
2. Navigate to **Enterprise applications**.
80
-
3. Under Security in the left-hand navigation, choose **Consent and permissions**.
81
-
4. View the user consent settings. If set to *Do not allow user consent*, users will never be able to consent on behalf of themselves for an application.
75
+
1. Navigate to the **Enterprise applications** page of the Microsoft Entra admin center.
76
+
1. Under **Security**, choose **Consent and permissions**.
77
+
1. View the user consent settings. If set to **Do not allow user consent**, users are never able to consent on behalf of themselves for an application.
82
78
83
79
## Next steps
84
80
85
-
*[Apps, permissions, and consent in Azure Active Directory (v1.0 endpoint)](../develop/quickstart-register-app.md)
81
+
-[Apps, permissions, and consent in Azure Active Directory (v1.0 endpoint)](../develop/quickstart-register-app.md)
86
82
87
-
*[Scopes, permissions, and consent in the Azure Active Directory (v2.0 endpoint)](../develop/permissions-consent-overview.md)
83
+
-[Scopes, permissions, and consent in the Azure Active Directory (v2.0 endpoint)](../develop/permissions-consent-overview.md)
88
84
89
-
*[Unexpected error when performing consent to an application](application-sign-in-unexpected-user-consent-error.md)
85
+
-[Unexpected error when performing consent to an application](application-sign-in-unexpected-user-consent-error.md)
0 commit comments