Home

how can I remove Azure AD Connect from my Azure tenant ?

%3CLINGO-SUB%20id%3D%22lingo-sub-133944%22%20slang%3D%22en-US%22%3Ehow%20can%20I%20remove%20Azure%20AD%20Connect%20from%20my%20Azure%20tenant%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-133944%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20AD%20Connect%20is%20completely%20gone%2C%26nbsp%3B%20I%20don't%20need%20to%20sync%20to%20Azure%20anymore%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20classic%20Azure%20portal%2C%20I%20was%20able%20to%20remove%20Directory%20Integration%20(AD%20Connect)%20from%20my%20Azure%20AD%20but%20I%20can't%20find%20the%20same%20functionality%20in%20the%20new%20Azure%20portal...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20anyone%20suggest%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-133944%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Active%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-134539%22%20slang%3D%22en-US%22%3ERe%3A%20how%20can%20I%20remove%20Azure%20AD%20Connect%20from%20my%20Azure%20tenant%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-134539%22%20slang%3D%22en-US%22%3EYou%20need%20to%20follow%20the%20below%20step%20to%20remove%20AD%20tenet%20from%20azure.%20if%20you%20are%20going%20to%20delete%20the%20abc.com%20from%20azure%20AD%201)%20Fist%20you%20need%20to%20delete%20the%20all%20users%20from%20azure%20portal%20for%20the%20abc.com%20to%20remove%20bulk%20user%20you%20can%20use%20the%20below%20steps%20Get-MsolUser%20%E2%80%93All%20%7C%20Export-CSV%20c%3A%5Cusers.csv%20Edit%20your%20CSV%20and%20remove%20any%20accounts%20you%20do%20not%20want%20to%20delete%20(ie%2C%20your%20account%20and%20other%20Global%20Administrative%20accounts!)%20Save%20the%20file.%20So%20let%E2%80%99s%20now%20remove%20those%20users%20by%20using%20the%20following%20command%3A%20Import-CSV%20c%3A%5Cusers.csv%20%7C%20Remove-MsolUser%20%E2%80%93Force.%202)%20stop%20you%20ad%20sync%20with%20azure%20portal%20Connect-MsolService%20-Credential%20(Get-Credential)%20%23provide%20your%20global%20admin%20username%20and%20pwd%20Set-MsolDirSyncEnabled%20-EnableDirSync%20%24false%20-Force%203)%20once%20you%20deleted%20the%20users%20from%20the%20ABC..COM%20%26amp%3B%20stop%20the%20sync%20then%20go%20to%20aad.poral.azure.com%20and%20navigate%20to%20azure%20active%20directory.%20select%20the%20abc.com%20and%20click%20on%20the%20delete%20option.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-134498%22%20slang%3D%22en-US%22%3ERe%3A%20how%20can%20I%20remove%20Azure%20AD%20Connect%20from%20my%20Azure%20tenant%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-134498%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3EYou%20can%20follow%20below%20link%20to%20remove%20the%20Azure%20AD%20connect%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fscomandothergeekystuff.com%2F2017%2F05%2F02%2Fdisable-ad-connect-via-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fscomandothergeekystuff.com%2F2017%2F05%2F02%2Fdisable-ad-connect-via-powershell%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E
Nopchai Tangtritham
Visitor

My AD Connect is completely gone,  I don't need to sync to Azure anymore, 

 

In classic Azure portal, I was able to remove Directory Integration (AD Connect) from my Azure AD but I can't find the same functionality in the new Azure portal...

 

Can anyone suggest?

2 Replies

Hi

You can follow below link to remove the Azure AD connect 

https://scomandothergeekystuff.com/2017/05/02/disable-ad-connect-via-powershell/

 

Thanks

You need to follow the below step to remove AD tenet from azure. if you are going to delete the abc.com from azure AD 1) Fist you need to delete the all users from azure portal for the abc.com to remove bulk user you can use the below steps Get-MsolUser –All | Export-CSV c:\users.csv Edit your CSV and remove any accounts you do not want to delete (ie, your account and other Global Administrative accounts!) Save the file. So let’s now remove those users by using the following command: Import-CSV c:\users.csv | Remove-MsolUser –Force. 2) stop you ad sync with azure portal Connect-MsolService -Credential (Get-Credential) #provide your global admin username and pwd Set-MsolDirSyncEnabled -EnableDirSync $false -Force 3) once you deleted the users from the ABC..COM & stop the sync then go to aad.poral.azure.com and navigate to azure active directory. select the abc.com and click on the delete option.
Related Conversations
Calendar not available for older AD accounts
_jancis in Microsoft Teams on
0 Replies
Azure Files with adfs
Stephane KLOIS in Azure on
0 Replies
What is a native non-object synchronised Azure AD instance?
Pn1995 in Azure on
0 Replies
Azure Automation connecting to Exchange with MFA enforced
Chris Johnston in Azure on
13 Replies
Intune Win32 apps error 0x80070002
bjornmertens in Microsoft Intune on
5 Replies