Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9b56a00

Browse files
authored
Merge pull request #128 from microsoftgraph/fix/samples
Fix sample command mismatch
2 parents dcb208e + dae0eb1 commit 9b56a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/2-TenantInformation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ mgc organization list --select "DisplayName, City, State, Country, PostalCode, B
1313
### List application registrations in the tenant
1414

1515
```sh
16-
mgc organization list --select "DisplayName, id, SignInAudience"
16+
mgc applications list --select "DisplayName, id, SignInAudience"
1717
```
1818

1919
### List service principals in the tenant
2020

2121
```sh
22-
mgc organization list --select "id, AppDisplayName" --query "value[?contains(appDisplayName, 'powershell')]"
22+
mgc service-principals list --select "id, AppDisplayName" --query "value[?contains(appDisplayName, 'powershell')]"
2323
```

0 commit comments

Comments
 (0)