Steps and procedures when changing service account for ADFS and Azure AD Connect?

EnterpriseArchitect 4,721 Reputation points
2020-07-10T02:36:28.717+00:00

Hi Everyone,

May I know what's the least amount of privilege for the Group Managed Service Accounts required for the ADFS v4.0 and Azure AD Connect ?

Because at the moment the environment I'm managing is using Domain Administrator account, which is over privilege.

What's the process / procedures in replacing the service account?
I assume there will be some major outage since it is used by the Identity services (SSO and Azure AD Synch).

Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,189 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,442 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. T. Kujala 8,701 Reputation points
    2020-07-10T04:56:02.28+00:00

    Hi @EnterpriseArchitect,

    Microsoft says the following about changing the Azure AD Connect service account.

    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-best-practices-changing-default-configuration#changes-to-the-service-account

    Changes to the service account

    Azure AD Connect sync is running under a service account created by the installation wizard. This service account holds the encryption keys to the database used by sync. It is created with a 127 characters long password and the password is set to not expire.

    It is unsupported to change or reset the password of the service account. Doing so destroys the encryption keys and the service is not able to access the database and is not able to start.

    Here is the process for changing the ADSycn service account password if you still want to try.

    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-change-serviceacct-pass

    Here is the script for changing the ADFS service account.

    https://gallery.technet.microsoft.com/scriptcenter/Active-Directory-ddb67df0

    1 person found this answer helpful.