Hello, I hope you are doing well,
Here is a troubleshooting step that i personally used to see what's going on;
https://techcommunity.microsoft.com/discussions/azure/microsoft-azure-adsync-doesnt-start/3057130
- Check Windows Services:
- Open
services.msc
and ensure Microsoft Azure AD Sync service is set to Automatic and try starting it manually. - Look for errors like “timed out” or “dependency failed”.
- Open
- Verify .NET Framework:
- Ensure required .NET version (typically 4.7.2+) is installed and not corrupted.
- Inspect Event Viewer:
- Check Application and System logs under Event Viewer for detailed errors (source: ADSync, DirectorySynchronization, SQL).
- Check for Locked Accounts:
- The service account used by ADSync might be locked, expired, or password changed.
- Update TLS Settings (Optional):
- If recently patched, TLS 1.2 might be required. Verify registry settings under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols
- If recently patched, TLS 1.2 might be required. Verify registry settings under:
Is possible that you have corruption too on the DB
SQL LocalDB Health: https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/user-prov-sync/resolve-model-database-corruption-sqllocaldb
- Run:
"%ProgramFiles%\Microsoft SQL Server\150\Tools\Binn\sqlcmd.exe" -S "(localdb)\.\ADSync"
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!