Installing Worday AD provisioning to a second server

Nguyen, Tien Lam 40 Reputation points
2025-11-12T20:30:33.17+00:00

We have implemented the woorkday automatic user provisioning following the tutorial in Microsoft Learn: https://learn.microsoft.com/en-us/entra/identity/saas-apps/workday-inbound-tutorial

Everything works well, the provisioning agent is installed on a dedicated windows server.

I,now, would like to install a second provisioning agent on a second server. I plan to run the AADConnectProvisioningAgentSetup on my second server

My question is during the step to configure the gmMSA account, what should I choose on my second server ? create gMSA or use a custom gMSA ?

User's image

Which option is best to not impact my fisrt server

Does anyone have done this configuration ? having two workday provisioning agent for a single Workday tenant ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalisha Jena 3,680 Reputation points Microsoft External Staff Moderator
    2025-11-13T03:26:51.4+00:00

    Hello Nguyen, Tien Lam,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I will try to clarify your doubts regarding this issue. So, the gMSA supports multiple hosts and is intended for scenarios like high availability, where multiple agents may run across several servers. On your second server, by selecting "Create gMSA," the installer checks Active Directory. If the specified gMSA already exists, it does not overwrite or recreate it, but ensures the new server is given necessary permissions to use the account. This avoids any interruption or interference with your initial agent/server and maintains seamless service sharing. Using "Use custom gMSA" is generally reserved for scenarios where you manage the gMSA manually, usually for more advanced, custom environments.

    So, On your second server, during the configuration step (the screen shown in your image), you can choose Create gMSA which will be the best option to not Impact the First Server.

    • System Detection: The provisioning agent installer (AADConnectProvisioningAgentSetup.exe) is designed to check if a gMSA with the default name (e.g., provAgentgMSA$) already exists in the domain.
    • Reuse and Enrollment: If the installer detects the existing account, it will not create a new gMSA. Instead, it performs two essential actions:
      • It enrolls the second server (the host computer) to the existing gMSA's security principal list. This allows the second server to retrieve and use the gMSA's credentials securely.
      • It ensures the existing gMSA has the necessary Active Directory permissions (e.g., UserGroupCreateDelete for Cloud HR provisioning) to function on the new server.
    • Since the second server is simply joining the list of permitted users for the existing gMSA, there is no negative impact on the first server. Both servers will run the Microsoft Azure AD Connect Provisioning Agent service using the same, shared gMSA, providing the desired HA.

    You can follow the below doc for details the agent installation process, including the gMSA configuration for high availability deployments: https://learn.microsoft.com/en-us/entra/identity/hybrid/cloud-sync/how-to-install

    More details at: https://learn.microsoft.com/en-us/entra/identity/hybrid/cloud-sync/how-to-prerequisites?tabs=public-cloud

    https://learn.microsoft.com/en-us/entra/identity/hybrid/cloud-sync/gmsa-cloud-sync

    NOTE: Multiple agents are supported for Workday inbound provisioning and provide HA automatically, no primary/secondary configuration required.

    Hope this helps! If it answered your question, please consider clicking Accept Answer and Upvote. This will help us and others in the community as well.

    If you need more info, feel free to ask in the comments. Happy to help!

    Regards,

    Monalisha

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.