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: src/Groups/beta/examples/Get-MgBetaGroup.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@ Description : Welcome to the BizDev team.
16
16
GroupTypes : {Unified}
17
17
```
18
18
19
-
This examples retrieves a list of groups.
19
+
This example retrieves a list of groups.
20
20
21
-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
21
+
To learn about the permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
22
22
23
-
To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
23
+
To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
24
24
25
25
### Example 2: Get a group by the display name
26
26
@@ -37,9 +37,9 @@ GroupTypes : {Unified}
37
37
38
38
This example gets a group by the specified display name.
39
39
40
-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
40
+
To learn about the permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
41
41
42
-
To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
42
+
To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
43
43
44
44
### Example 3: Get a count of all groups
45
45
@@ -58,11 +58,11 @@ Id DisplayName Description
58
58
4d5f57a1-85e0-41dd-8282-ff995ad5e1c3 Business Development Welcome to the BizDev team. {Unified}
59
59
```
60
60
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).
62
62
63
-
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
63
+
To learn about the permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall).
64
64
65
-
To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
65
+
To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
66
66
67
67
### Example 4: Use -Search to get all the groups whose display name contains 'Market' including a count of the returned users
68
68
@@ -77,9 +77,9 @@ Id DisplayName Description
77
77
74a7bfca-7fbc-4a67-b4bb-3ef115b114f1 Sales & Marketing This is the sales and marketing team {}
78
78
```
79
79
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).
81
81
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).
83
83
84
84
To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
85
85
@@ -96,8 +96,8 @@ f07a8d78-f18c-4c02-b339-9ebace025122 All Employees
96
96
bbfa9226-a965-47e1-9db2-bcfcb2c202e6 All Users
97
97
```
98
98
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).
100
100
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).
102
102
103
-
To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
103
+
To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`.
0 commit comments