Skip to content

Commit 9ffd733

Browse files
authored
Update clean-up-unmanaged-azure-ad-accounts.md
minor changes to the MgGraph cmdlet
1 parent d847252 commit 9ffd733

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/active-directory/enterprise-users/clean-up-unmanaged-azure-ad-accounts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,19 @@ Run the following cmdlets:
6161

6262
To identify unmanaged Azure AD accounts, run:
6363

64-
- `Connect-MgGraph --Scope User.Read.All`
64+
- `Connect-MgGraph -Scope User.ReadAll`
6565

6666
- `Get-MsIdUnmanagedExternalUser`
6767

6868
To reset unmanaged Azure AD account redemption status, run:
6969

70-
- `Connect-MgGraph --Scope User.Readwrite.All`
70+
- `Connect-MgGraph -Scopes User.ReadWriteAll`
7171

7272
- `Get-MsIdUnmanagedExternalUser | Reset-MsIdExternalUser`
7373

7474
To delete unmanaged Azure AD accounts, run:
7575

76-
- `Connect-MgGraph --Scope User.Readwrite.All`
76+
- `Connect-MgGraph -Scopes User.ReadWriteAll`
7777

7878
- `Get-MsIdUnmanagedExternalUser | Remove-MgUser`
7979

0 commit comments

Comments
 (0)