Posted On March 31, 2019

Manual Sync for Office 365 Azure-AD Integration

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> Manual Sync for Office 365 Azure-AD Integration

1. Perform Prerequisites:


*
a. Install Dot Net Framework 4.5 )
*
b. Install Windows Management Framework 3.0 )
*
c. Download and install Azure AD Connect )
*
e. Enable PowerShell Remoting on the server: Run PowerShell as Administrator with this command: "Enable-PSRemoting -Force"

1.
Run this PowerShell script from a remote machine:

$serverName = serverNameHere
Invoke-Command -computername $serverName -scriptblock { Start-ADSyncSyncCycle -PolicyType Delta } -credential administrator

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Sync AD OU Containers with Group Memberships

Script to Add Group Membership:for /f "tokens=*" %A IN ('dsquery user %PATH_TO_OU%') DO dsmod user…

PowerShell: Performing System Disk Cleanup

Version 2: # cleanupWindows.ps1 # Version 0.0.2 ################################## Excuting Program as an Administrator #################################### #…

PowerShell: Export Exchange Mailboxes

Export 1 mailbox $userAlias="kungfu.panda"$storageUNC="\\FILESHERVER01\Backups\PSTs"# Import Exchange Management PowershellAdd-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;$mailboxRequest=(New-MailboxExportRequest -Mailbox $userAlias -FilePath "$storageUNC\$userAlias.pst").Mailboxfunction monitorCompletion($check){ $migrationStatus=(Get-MailboxExportRequest…