System Center Orchestrator 2022 and AD Group issue

PerserPolis-1732 1,891 Reputation points
2024-12-11T15:04:33.5566667+00:00

Hi,

I have created a Runbook with following setting for AD User

User's image

It created an AD User and enabled it and enabled Exchange Mailbox.

Now I want to add the new AD User to 3 AD Groups (the groups is called, SDA, FGA, EGT).

I have added to my Runbook the following (Add User to Group)

User's image

User's image

I am really not sure what should put on the Group Distinguished Name and User Distinguished Name.

System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
238 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 113.8K Reputation points MVP
    2024-12-11T16:22:09.8633333+00:00

    Hi @PerserPolis-1732 ,

    the User Distinguished Name is available as an output of the Create User. The Distinguished Name of the group you can specify directly or you are using the Get Group activity with a filter on the DisplayName/NetBIOS name of the Group.

    The format of a distinguished name looks like this: CN=User1,OU=Sales,DC=Fabrikam,DC=COM or CN=Group1,OU=Sales,DC=Fabrikam,DC=COM


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    1 person found this answer helpful.

  2. XinGuo-MSFT 20,156 Reputation points
    2024-12-18T08:03:52.2066667+00:00

    Hi,

    Yes, you can fill the Distinguished Name directly without "GET GROUP".

    The following runbook will list the specific content that needs to be filled in for your reference.

    Screenshot 2024-12-18 154723.png

    Step Trough can see the step workflow of the Runbook.Capture.PNG


Your answer

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