Azure AD connect group sync

testuser7 286 Reputation points
2020-08-03T20:53:16.957+00:00

Hello,

In context of Azure-AD connect, we can sync "security groups" to Azure-AD
Now these groups could be mail-enabled or not.

Unlike users, in the MS-graph schema I can not find onPremImmutableId attribute for groups.
So I believe AAD sync service in the cloud can not do hard-match for groups.
The only option is to match the group based on the SMTP address of the group

If my on-prem group is mail-enabled then it will have mail-address and hence it can be compared with any existing group in Azure-AD during sync-time.
but
how would non mail-enabled on-prem groups be synced to Azure-AD ?

Am I correct in my understanding ?

Thanks.

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

3 answers

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2020-08-04T22:15:03.487+00:00

    Groups with a mail attribute value present or if the proxyAddress attribute contains at least one SMTP proxy address (EG: {"X500:/0=contoso.com/ou=users/cn=testgroup"} ) will be synchronized as mail enabled groups. Other groups will be synchronized using the sourceAnchor attribute.

    0 comments No comments

  2. testuser7 286 Reputation points
    2020-08-05T11:59:38.217+00:00

    Thanks @alfredo-revilla-msft
    Just one point..

    You said that "Other groups will be synchronized using the sourceAnchor attribute."
    I believe the sourceAnchor is "object GUID" in on-prem-ad for groups.

    What is the mapping attribute in Azure-AD side ?
    When I am looking MS-Graph group schema I do not find any relevant attribute where this on-prem object GUID can settle down.

    Thanks

    0 comments No comments

  3. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2020-10-06T00:48:15.687+00:00

    It's immutableId, but you cannot see it in GUI or PowerShell.
    In on-prem AD, it used to be objectGUID, but from 1.5.18.0, it's ms-DS-ConsistencyGUID.
    This blog entry may be useful: https://learn.microsoft.com/en-us/archive/blogs/markrenoden/choosing-a-sourceanchor-for-groups-in-multi-forest-sync-with-aad-connect

    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.