Skip to content

Commit 2092f93

Browse files
committed
Added All Principals changes from Stuart
1 parent b6ec1a8 commit 2092f93

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

articles/role-based-access-control/deny-assignments.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,19 @@ Deny assignments follow a similar pattern as deny assignments, but also have som
6262
> | `ExcludePrincipals[i].Type` | No | String[] | An array of object types represented by ExcludePrincipals[i].Id. |
6363
> | `IsSystemProtected` | No | Boolean | Specifies whether this deny assignment was created by Azure and cannot be edited or deleted. Currently, all deny assignments are system protected. |
6464
65-
## System-Defined Principal
65+
## The All Principals principal
6666

67-
To support deny assignments, the **System-Defined Principal** has been introduced. This principal represents all users, groups, service principals, and managed identities in an Azure AD directory. If the principal ID is a zero GUID `00000000-0000-0000-0000-000000000000` and the principal type is `SystemDefined`, the principal represents all principals. `SystemDefined` can be combined with `ExcludePrincipals` to deny all principals except some users. `SystemDefined` has the following constraints:
67+
To support deny assignments, a system-defined principal named *All Principals* has been introduced. This principal represents all users, groups, service principals, and managed identities in an Azure AD directory. If the principal ID is a zero GUID `00000000-0000-0000-0000-000000000000` and the principal type is `SystemDefined`, the principal represents all principals. In Azure PowerShell output, All Principals looks like the following:
68+
69+
```azurepowershell
70+
Principals : {
71+
DisplayName: All Principals
72+
ObjectType: SystemDefined
73+
ObjectId: 00000000-0000-0000-0000-000000000000
74+
}
75+
```
76+
77+
All Principals can be combined with `ExcludePrincipals` to deny all principals except some users. All Principals has the following constraints:
6878

6979
- Can be used only in `Principals` and cannot be used in `ExcludePrincipals`.
7080
- `Principals[i].Type` must be set to `SystemDefined`.

0 commit comments

Comments
 (0)