Object deletions aren't synchronized to Azure AD when using the Azure Active Directory Sync tool

Xavier Mustin

Administrator
Staff member
#1
Install the Azure AD Module
The Azure AD Module is supported on the following Windows operating systems with the default version of Microsoft .NET Framework and Windows PowerShell: Windows 8.1, Windows 8, Windows 7, Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2.

First install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW from the Microsoft Download Center. Then install the Azure Active Directory Module for Windows PowerShell (64-bit version), and click Run to run the installer package.



Connect to azure directory
Code:
$msolcred = get-credential
connect-msolservice -credential $msolcred
Remove Azure AD User
Code:
Remove-MsolUser –UserPrincipalName John.Smith@Contoso.com
 
Haut