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/develop/rra-limits-troubleshooting.md
+23-17Lines changed: 23 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,28 @@
1
1
---
2
-
title:
3
-
description:
4
-
author:
5
-
ms.author:
2
+
title:Troubleshooting the configured permissions limits
3
+
description:Learn why some apps may exceed the limits on configured permissions and how to address this issue.
4
+
author:Jackson-Woods
5
+
ms.author:jawoods
6
6
manager: CelesteDG
7
-
ms.date: 12/07/2022
7
+
ms.date: 12/08/2022
8
8
ms.topic: reference
9
9
ms.subservice: develop
10
10
ms.custom: aaddev
11
11
ms.service: active-directory
12
-
ms.reviewer:
12
+
ms.reviewer:phsignor
13
13
---
14
14
15
-
# Revised limits of the `RequiredResourceAccess` collection (RRA)
15
+
# Troubleshooting the configured permissions limits
16
16
17
17
The `RequiredResourceAccess` collection (RRA) on an application object contains all the configured API permissions that an app requires for its default consent request. This collection has various limits depending on which types of identities the app supports, For more information on the limits for supported account types, see [Validation differences by supported account types](supported-accounts-validation.md).
18
18
19
-
The limit on maximum permissions was updated in May 2022, so some apps may have more permissions in their RRA than are now allowed. For such apps, no new permissions may be added until the number of permissions in the `RequiredResourceAccess` collection is brought under the limits.
19
+
The limits on maximum permissions were updated in May 2022, so some apps may have more permissions in their RRA than are now allowed. In addition, apps that change their supported account types after configuring permissions may exceed the limits of the new setting. When apps exceed the configured permissions limit, no new permissions may be added until the number of permissions in the `RequiredResourceAccess` collection is brought back under the limits.
20
20
21
21
This document offers additional information and troubleshooting steps to resolve this issue.
22
22
23
23
## Identifying when an app has exceeded the `RequiredResourceAccess` limits
24
24
25
-
In general, applications with more than 400 permissions have exceeded the configuration limits. An app that has exceeded the permission limits will receive the following error when trying to add more permissions in the Azure portal:
25
+
In general, all applications with more than 400 permissions have exceeded the configuration limits. Apps may also be subject to lower limits if they support sign-in for personal Microsoft accounts (MSA). An app that has exceeded the permission limits will receive the following error when trying to add more permissions in the Azure portal:
26
26
27
27
> `Failed to save permissions for <AppName>. This configuration exceeds the global application object limit. Remove some items and retry your request.`
28
28
@@ -32,14 +32,14 @@ If the application isn't needed anymore, the first option you should consider is
32
32
33
33
If you still need the application or are unsure, the following steps will help you resolve this issue:
34
34
35
-
1.**Remove duplicate permissions.** In some cases, the same permission is listed multiple times. Review the required permissions and remove permissions that are listed two or more times. Learn more
36
-
2.**Remove unused permissions.** Review the permissions required by the application and compare them to what the application or service does. Remove permissions that are configured in the app registration, but which the application or services doesn’t require. Learn more
37
-
3.**Remove redundant permissions.** In many APIs, including Microsoft Graph, some permissions aren't necessary when other more privileged permissions are included. For example, the Microsoft Graph permission User.Read.All (read all users) isn't needed when an application also has User.ReadWrite.All (read, create and update all users). Learn more about Microsoft Graph permissions.
38
-
4.**Use multiple app registrations.** If a single app or service requires more than 400 permissions in the required permissions list, the app will need to be configured to use two (or more) different app registrations, each one with 400 or fewer permissions configured on the app registration. Learn more
35
+
1.**Remove duplicate permissions.** In some cases, the same permission is listed multiple times. Review the required permissions and remove permissions that are listed two or more times.
36
+
2.**Remove unused permissions.** Review the permissions required by the application and compare them to what the application or service does. Remove permissions that are configured in the app registration, but which the application or service doesn’t require. For more information on how to review permissions, see [Review application permissions](../manage-apps/manage-application-permissions.md)
37
+
3.**Remove redundant permissions.** In many APIs, including Microsoft Graph, some permissions aren't necessary when other more privileged permissions are included. For example, the Microsoft Graph permission User.Read.All (read all users) isn't needed when an application also has User.ReadWrite.All (read, create and update all users). To learn more about Microsoft Graph permissions, see [Microsoft Graph permissions reference](/graph/permissions-reference).
38
+
4.**Use multiple app registrations.** If a single app or service requires more than 400 permissions in the required permissions list, the app will need to be configured to use two (or more) different app registrations, each one with 400 or fewer permissions configured on the app registration.
39
39
40
40
## Frequently asked questions (FAQ)
41
41
42
-
### *Why did Microsoft revise the limit on total permissions?*
42
+
### *Why has Microsoft revised the limit on total permissions?*
43
43
44
44
This limit is important for two reasons:
45
45
@@ -52,13 +52,13 @@ If your app exceeds the total permissions limit, you'll no longer be able to inc
52
52
53
53
### *Does the limit change how many permissions my application can be granted?*
54
54
55
-
No. This limit affects only the list of requested API permissions configured on the app registration. This is different from the list of permissions that have been granted to your application.[Learn more]()
55
+
No. This limit affects only the list of requested API permissions configured on the app registration. This is different from the list of permissions that have been granted to your application.
56
56
57
57
Even if it isn't listed in the required API permissions list, a delegated permission can still be requested dynamically by an application. Both delegated permissions and app roles (application permissions) can also be granted directly, using Microsoft Graph API or Microsoft Graph PowerShell.
58
58
59
59
### *Can the limit be raised for my application?*
60
60
61
-
No, the limit can't be raised.
61
+
No, the limit can't be raised for individual applications or organizations.
62
62
63
63
### *Are there other limits on the list of required API permissions?*
64
64
@@ -141,4 +141,10 @@ process {
141
141
Write-Host "No updates necessary for '$($App.DisplayName)' (AppId: $($App.AppId))"
142
142
}
143
143
}
144
-
```
144
+
```
145
+
146
+
## Learn more
147
+
148
+
- Learn about API permissions and the Microsoft identity platform: [Overview of permissions and consent in the Microsoft identity platform](permissions-consent-overview.md)
149
+
- Understand the permissions available for Microsoft Graph: [Microsoft Graph permissions reference](/graph/permissions-reference)
150
+
- Review the limitations to application configurations: [Validation differences by supported account types](supported-accounts-validation.md)
0 commit comments