Skip to content

Commit 2715751

Browse files
committed
Minor edit
1 parent 8d89daf commit 2715751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

microsoftgraph/docs-conceptual/how-to-grant-revoke-api-permissions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Scope : Group.Read.All
150150
To confirm the delegated permissions assigned to the service principal on behalf of the user, you run the following command.
151151

152152
```powershell
153-
Get-MgOauth2PermissionGrant -Filter "clientId eq '11112222-bbbb-3333-cccc-4444dddd5555' and consentType eq 'AllPrincipals'"
153+
Get-MgOauth2PermissionGrant -Filter "clientId eq '11112222-bbbb-3333-cccc-4444dddd5555' and consentType eq 'AllPrincipals'" | Format-List
154154
```
155155

156156
```Output
@@ -171,7 +171,7 @@ To add the `User.Read.All` scope to the oauthPermissionGrant object, run:
171171

172172
```powershell
173173
$params = @{
174-
Scope = "Group.Read.All User.Read.All "
174+
Scope = "Group.Read.All User.Read.All"
175175
}
176176
177177
Update-MgOauth2PermissionGrant -OAuth2PermissionGrantId 'DXfBIt8w50mnY_OdLvmzadDQeqbRp9tKjNm83QyGbTw' -BodyParameter $params

0 commit comments

Comments
 (0)