Aug 30 2018
09:46 AM
- last edited on
Jan 14 2022
05:22 PM
by
TechCommunityAP
Aug 30 2018
09:46 AM
- last edited on
Jan 14 2022
05:22 PM
by
TechCommunityAP
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.
Thanks
Aug 30 2018 11:26 AM
SolutionHaven't tested but this should work:
1. Create a new account for sync and give it a "Directory Synchronization Accounts" -role
New-MsolUser -UserPrincipalName sync@company.onmicrosoft.com -DisplayName "Sync Account" -Password yourpassword -PasswordNeverExpires $true -ForceChangePassword $false
Add-MsolRoleMember -RoleName "Directory Synchronization Accounts" -RoleMemberEmailAddress sync@company.onmicrosoft.com
2. On AAD Connect computer, run the following command and give the new credentials
Add-ADSyncAADServiceAccount
See here for more details
Aug 30 2018 11:26 AM
SolutionHaven't tested but this should work:
1. Create a new account for sync and give it a "Directory Synchronization Accounts" -role
New-MsolUser -UserPrincipalName sync@company.onmicrosoft.com -DisplayName "Sync Account" -Password yourpassword -PasswordNeverExpires $true -ForceChangePassword $false
Add-MsolRoleMember -RoleName "Directory Synchronization Accounts" -RoleMemberEmailAddress sync@company.onmicrosoft.com
2. On AAD Connect computer, run the following command and give the new credentials
Add-ADSyncAADServiceAccount
See here for more details