Add a list of Groups in Domain A to the same groups in Domain B for cross domain trusted auth

Cody Searl 1 Reputation point
2022-01-18T14:08:49.047+00:00

I Have a CSV that has one list of groups (130 groups total). This list of groups exists in two domains (trusted domains). I need to nest these groups in domain b with the same list of groups in domain A

The groups in Domain B (User/PC domain) are domain global groups
The groups in Domain A (Application Server Domain) are domain local groups

The plan is to use domain trust to pass auth from Domain A to Domain B where users will live and we will maintain user group memberships.

I would like to do this with Powershell.

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,916 Reputation points
    2022-01-24T15:32:19.823+00:00

    Hi there,

    You can try the nesting group. Adding a group as a member of another group is called nesting. For distribution groups, nesting is supported in both mixed mode and native mode. For security groups, nesting is supported only for domains running in native mode.

    Creating Nested Groups Using PowerShell
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/f6e61db1-0777-46ea-988b-faeaf1023d50/creating-nested-groups-using-powershell?forum=winserverpowershell


    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

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.