Need to change AAD service account

Mark McClughan
New Contributor

We are using AD connect to sync users/passwords from on premise but we need to change the username and or password of the account used on the AAD connector. 


2 Replies

Haven't tested but this should work:

1. Create a new account for sync and give it a "Directory Synchronization Accounts" -role

New-MsolUser -UserPrincipalName -DisplayName "Sync Account" -Password yourpassword -PasswordNeverExpires $true -ForceChangePassword $false
Add-MsolRoleMember -RoleName "Directory Synchronization Accounts" -RoleMemberEmailAddress

2. On AAD Connect computer, run the following command and give the new credentials



See here for more details


Thanks Nestori,

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies