Skip to content

Commit 845f842

Browse files
Update turn-off-directory-synchronization.md
Updated the command Update-MgBetaOrganization to Update-MgOrganization.
1 parent 6a325de commit 845f842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

microsoft-365/enterprise/turn-off-directory-synchronization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To turn off Directory synchronization:
4040

4141
1. First, install the required software and connect to your Microsoft 365 subscription. For instructions, see [Connect with the Microsoft Graph PowerShell module for Windows PowerShell](/microsoft-365/enterprise/connect-to-microsoft-365-powershell#connect-with-microsoft-graph-powershell).
4242

43-
2. Use **Update-MgBetaOrganization** to disable directory synchronization:
43+
2. Use **Update-MgOrganization** to disable directory synchronization:
4444

4545
```powershell
4646
# Install v1.0 and beta Microsoft Graph PowerShell modules
@@ -62,7 +62,7 @@ To turn off Directory synchronization:
6262
}
6363
6464
# Perform the update
65-
Update-MgBetaOrganization -OrganizationId $organizationId -BodyParameter $params
65+
Update-MgOrganization -OrganizationId $organizationId -BodyParameter $params
6666
6767
# Check that the command worked
6868
Get-MgOrganization | Select OnPremisesSyncEnabled

0 commit comments

Comments
 (0)