Skip to content

Commit c12ae32

Browse files
authored
Merge pull request #2406 from SteveMutungi254/patch-7
Update Get-MgGroup.md specific permissions.
2 parents 46bdb8e + 1db06db commit c12ae32

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/Groups/v1.0/examples/Get-MgGroup.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Description : Welcome to the BizDev team.
1616
GroupTypes : {Unified}
1717
```
1818

19-
This examples retrieves a list of groups.
19+
This example retrieves a list of groups.
2020

21-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
21+
To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
2222

23-
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
23+
To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
2424

2525
### Example 2: Get a group by the display name
2626

@@ -37,9 +37,9 @@ GroupTypes : {Unified}
3737

3838
This example gets a group by the specified display name.
3939

40-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
40+
To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
4141

42-
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
42+
To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
4343

4444
### Example 3: Get a count of all groups
4545

@@ -58,11 +58,11 @@ Id DisplayName Description
5858
4d5f57a1-85e0-41dd-8282-ff995ad5e1c3 Business Development Welcome to the BizDev team. {Unified}
5959
```
6060

61-
The example gets a list of all groups. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries).
61+
The example gets a list of all groups. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries).
6262

63-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
63+
To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
6464

65-
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
65+
To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
6666

6767
### Example 4: Use -Search to get all the groups whose display name contains 'Market' including a count of the returned users
6868

@@ -77,11 +77,11 @@ Id DisplayName Description
7777
74a7bfca-7fbc-4a67-b4bb-3ef115b114f1 Sales & Marketing This is the sales and marketing team {}
7878
```
7979

80-
This example returns all groups whose display name contains 'Market'. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries).
80+
This example returns all groups whose display name contains 'Market'. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries).
8181

82-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
82+
To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
8383

84-
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
84+
To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
8585

8686
### Example 5: Use -Filter to get all the applications with a display name that starts with 'A' including a count of the returned users, with the results ordered by display name
8787

@@ -96,8 +96,8 @@ f07a8d78-f18c-4c02-b339-9ebace025122 All Employees
9696
bbfa9226-a965-47e1-9db2-bcfcb2c202e6 All Users
9797
```
9898

99-
This example returns all groups whose display name starts with 'A'. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries).
99+
This example returns all groups whose display name starts with 'A'. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries).
100100

101-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
101+
To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
102102

103-
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.
103+
To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.

0 commit comments

Comments
 (0)