Are you looking to uninstall Azure AD Connect from your Microsoft Azure environment? Join me in this comprehensive tutorial as I walk you through the process step-by-step. Whether you're decommissioning an old server, simplifying your hybrid identity management, or making changes to your Azure setup, knowing how to correctly uninstall Azure AD Connect is crucial.
By the end of this tutorial, you'll have a clear understanding of how to uninstall Azure AD Connect without causing disruptions to your Azure Active Directory. Don't forget to like, share, and subscribe for more Azure-related tutorials and tips!
"AZ-104 - Microsoft Azure Hands on Labs" - Dive into the world of Azure, uncover strategies. Your journey to mastering Microsoft Azure begins here!
🔥 Enroll Here --- https://www.udemy.com/course/az-104-m...
Explore these indispensable affiliate links:
1. Descript Video Editor - Elevate Your Editing Game! Descript simplifies video editing for both beginners and experts, enhancing your video content effortlessly. Get started and revolutionize your editing process:
Link: https://www.descript.com/?lmref=hPSFmg
2. Microphone Used - Achieve Superior Audio Quality! Check out the microphone I used to create this video and enhance your audio recording:
Link: https://amzn.to/3ssDXZP
🔗 Useful Links:
https://learn.microsoft.com/en-us/azu...
If you found this video helpful, please give it a thumbs up, share it with your network, and leave any questions or comments below. We love hearing from you and helping you master Azure!
PowerShell Commands
1) Import-Module ADSync
Stop Sync
2) Set-ADSyncScheduler -SyncCycleEnabled $false
Verify on prem sync is disabled
3) Get-ADSyncScheduler | ft SyncCycleEnabled
Connect to Azure AD
4) Connect-MsolService
Turn off directory synchronization
5) Set-MsolDirSyncEnabled -EnableDirSync $false
Check that Azure AD directory synchronization is disabled
6) (Get-MSOLCompanyInformation).DirectorySynchronizationEnabled
If you get an error while using Connect-MsolService
1) [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
2) uninstall-module AzureAD
3) install-module AzureAD
4) install-module MSOnline
5) Import-Module MSOnline
6) $credentials = Get-Credential
7) Connect-MsolService -Credential $credentials