< Back

Update-AADIntSyncCredentials

Fri Jan 10, 2020 6:04 pm

NAME Update-AADIntSyncCredentials



SYNOPSIS

Updates Azure AD Connect synchronization credentials





SYNTAX

Update-AADIntSyncCredentials [[-AccessToken] <String>] [-RestartADSyncService] [<CommonParameters>]





DESCRIPTION

Updates Azure Active Directory Connect user's password to Azure AD and WID configuration database. MUST be run on

AADConnect server

as local administrator with Global Admin credentials to Azure AD





PARAMETERS

-AccessToken <String>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RestartADSyncService [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Update-AADIntSyncCredentials



Password successfully updated to Azure AD and configuration database!

Remember to restart the sync service: Restart-Service ADSync



Name Value

---- -----

ADDomain company.com

ADUser MSOL_4bc4a34e95fa

ADUserPassword Q9@p(poz{#:kF_G)(s/Iy@8c*9(t;...

AADUser Sync_SRV01_4bc4a34e95fa@company.onmicrosoft.com

AADUserPassword $.1%(lxZ&/kNZz[r









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Update-AADIntSyncCredentials -RestartADSyncService



Password successfully updated to Azure AD and configuration database!



Name Value

---- -----

ADDomain company.com

ADUser MSOL_4bc4a34e95fa

ADUserPassword Q9@p(poz{#:kF_G)(s/Iy@8c*9(t;...

AADUser Sync_SRV01_4bc4a34e95fa@company.onmicrosoft.com

AADUserPassword $.1%(lxZ&/kNZz[r



WARNING: Waiting for service 'Microsoft Azure AD Sync (ADSync)' to stop...

WARNING: Waiting for service 'Microsoft Azure AD Sync (ADSync)' to start...











RELATED LINKS