azurepowershellazure-powershellpowershell-4.0azure-connect

is it Possible to Pull the report of Azure AD connect server Synchronization Service status using PowerShell Script?


I need the pull the report using PowerShell script of recent AAD connect Synchronization service connector operation status of "Full Synchronization", "Full Import" and "Delta Synchronization" of all connectors.

instead of RDP the server every day and check the status, is it possible to pull the report and send to my mail using a service account.

"This Report I need to pull using script"

enter image description here


Solution

  • The available options are Get-ADSyncToolsRunHistory enter image description here

    Or if you want to export the output in XML format Export-ADSyncToolsRunHistory -Path .\RunHistory-RunStep.xml enter image description here

    All the ADSyncTools PowerShell commands are available here