Skip to content

Commit fdf1b7a

Browse files
msewawerupeombwa
andauthored
Removed the scopes table (#1247)
Co-authored-by: Peter Ombwa <[email protected]>
1 parent 89c0daf commit fdf1b7a

File tree

1 file changed

+6
-36
lines changed

1 file changed

+6
-36
lines changed

src/Users/Users/examples/v1.0-beta/Get-MgUser.md

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ UserPrincipalName : [email protected]
1717

1818
This command returns a list of all users.
1919

20-
One of the following permissions is required to run this cmdlet;
21-
22-
|Permission type| Recommended Permissions| Other Permissions|
23-
|-----|------|------|
24-
|Delegated (work or school account)|User.ReadBasic.All, User.Read.All| User.ReadWrite.All, Directory.Read.All|
25-
|Application|User.Read.All|User.ReadWrite.All, Directory.Read.All|
20+
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
2621

2722
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes User.ReadBasic.All, User.Read.All`.
2823

@@ -41,12 +36,7 @@ UserPrincipalName : [email protected]
4136

4237
This command gets the specified user.
4338

44-
One of the following permissions is required to run this cmdlet;
45-
46-
|Permission type| Recommended Permissions| Other Permissions|
47-
|-----|------|------|
48-
|Delegated (work or school account)|User.ReadBasic.All, User.Read.All| User.ReadWrite.All, Directory.Read.All|
49-
|Application|User.Read.All|User.ReadWrite.All, Directory.Read.All|
39+
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
5040

5141
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes User.ReadBasic.All, User.Read.All`.
5242

@@ -69,12 +59,7 @@ Id DisplayName Mail
6959

7060
The example gets a list of all users. The $userCount 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).
7161

72-
One of the following permissions is required to run this cmdlet;
73-
74-
|Permission type| Recommended Permissions| Other Permissions|
75-
|-----|------|------|
76-
|Delegated (work or school account)|User.ReadBasic.All, User.Read.All| User.ReadWrite.All, Directory.Read.All|
77-
|Application|User.Read.All|User.ReadWrite.All, Directory.Read.All|
62+
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
7863

7964
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes User.ReadBasic.All, User.Read.All`.
8065

@@ -91,12 +76,7 @@ Id DisplayName Mail
9176

9277
This example returns the top 1 users with the display name starting with 'a'. The $userCount 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).
9378

94-
One of the following permissions is required to run this cmdlet;
95-
96-
|Permission type| Recommended Permissions| Other Permissions|
97-
|-----|------|------|
98-
|Delegated (work or school account)|User.ReadBasic.All, User.Read.All| User.ReadWrite.All, Directory.Read.All|
99-
|Application|User.Read.All|User.ReadWrite.All, Directory.Read.All|
79+
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
10080

10181
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes User.ReadBasic.All, User.Read.All`.
10282

@@ -117,12 +97,7 @@ a7afe08d-55b9-4c44-be94-05d17c6513f3 Conf Room Rainier [email protected] Raini
11797

11898
This example returns all users whose display name contains 'Conf'. The $userCount 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).
11999

120-
One of the following permissions is required to run this cmdlet;
121-
122-
|Permission type| Recommended Permissions| Other Permissions|
123-
|-----|------|------|
124-
|Delegated (work or school account)|User.ReadBasic.All, User.Read.All| User.ReadWrite.All, Directory.Read.All|
125-
|Application|User.Read.All|User.ReadWrite.All, Directory.Read.All|
100+
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
126101

127102
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes User.ReadBasic.All, User.Read.All`.
128103

@@ -143,11 +118,6 @@ a7afe08d-55b9-4c44-be94-05d17c6513f3 Conf Room Rainier [email protected] Raini
143118

144119
This example filters all users whose display name starts with 'Conf' and orders the results by the user principal name. The $userCount 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).
145120

146-
One of the following permissions is required to run this cmdlet;
147-
148-
|Permission type| Recommended Permissions| Other Permissions|
149-
|-----|------|------|
150-
|Delegated (work or school account)|User.ReadBasic.All, User.Read.All| User.ReadWrite.All, Directory.Read.All|
151-
|Application|User.Read.All|User.ReadWrite.All, Directory.Read.All|
121+
To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference).
152122

153123
To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes User.ReadBasic.All, User.Read.All`.

0 commit comments

Comments
 (0)