Skip to content

Commit

Permalink
Merge pull request #1045 from audunsolemdal/tweak-doc
Browse files Browse the repository at this point in the history
Fix accuracy in documentation of Application permissions for azuread_group and azuread_group_member
  • Loading branch information
manicminer committed Mar 22, 2023
2 parents 432ffb9 + 7bfadc8 commit df2d1be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Manages a group within Azure Active Directory.

The following API permissions are required in order to use this resource.

When authenticated with a service principal, this resource requires one of the following application roles: `Group.ReadWrite.All` or `Directory.ReadWrite.All`
When authenticated with a service principal, this resource requires one of the following application roles: `Group.ReadWrite.All` or `Directory.ReadWrite.All`.

Alternatively, if the authenticated service principal is also an owner of the group being managed, this resource can use the application role: `Group.Create`.

If using the `assignable_to_role` property, this resource additionally requires one of the following application roles: `RoleManagement.ReadWrite.Directory` or `Directory.ReadWrite.All`

Expand Down
4 changes: 3 additions & 1 deletion docs/resources/group_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ Manages a single group membership within Azure Active Directory.

The following API permissions are required in order to use this resource.

When authenticated with a service principal, this resource requires one of the following application roles: `Group.ReadWrite.All` or `Directory.ReadWrite.All`
When authenticated with a service principal, this resource requires one of the following application roles: `Group.ReadWrite.All` or `Directory.ReadWrite.All`.

However, if the authenticated service principal is an owner of the group being managed, an application role is not required.

When authenticated with a user principal, this resource requires one of the following directory roles: `Groups Administrator`, `User Administrator` or `Global Administrator`

Expand Down

0 comments on commit df2d1be

Please sign in to comment.