{"id":230,"date":"2019-02-21T12:06:49","date_gmt":"2019-02-21T12:06:49","guid":{"rendered":"http:\/\/172.23.1.43\/?p=230"},"modified":"2022-06-07T22:26:14","modified_gmt":"2022-06-07T22:26:14","slug":"how-to-check-the-immutable-id-source-anchor","status":"publish","type":"post","link":"https:\/\/blog.n-dol.org\/2019\/02\/21\/how-to-check-the-immutable-id-source-anchor\/","title":{"rendered":"How to check the Immutable ID\/Source Anchor"},"content":{"rendered":"\n

This article expains how to check which attribute is used as the source anchor for the synchronization between Active Directory and Azure Active Directory.<\/p>\n\n\n\n

PowerShell<\/h2>\n\n\n\n

0 – Install necessary PowerShell Modules, if needed.<\/p>\n\n\n\n

Install-Module MSOnline\nImport-Module MSOnline<\/code><\/pre>\n\n\n\n

1 – Get User Immutable ID from Azure.<\/p>\n\n\n\n

Connect-MSOLService\nGet-MsolUser -UserPrincipalName user@domain.tld | select ImmutableID<\/code><\/pre>\n\n\n\n\n\n\n\n

2 – Convert to GUID Format<\/p>\n\n\n\n

[GUID][system.convert]::FromBase64String("User ImmutableID")<\/code><\/pre>\n\n\n\n

3 – Check against AD and check which one is corresponding<\/p>\n\n\n\n

$User = Get-ADUser -Identity username -Properties mS-DS-ConsistencyGUID\n[GUID]$User.'mS-DS-ConsistencyGUID'\n$User.ObjectGUID<\/code><\/pre>\n\n\n\n

Azure AD Connect<\/h2>\n\n\n\n

1 – Go to Azure AD connect server and open Azure AD Connect<\/strong><\/p>\n\n\n\n

\"AzureADConnect-Anchor-Step1\"<\/figure>\n\n\n\n

2 – Click on\u00a0Configure<\/strong><\/p>\n\n\n\n

\"AzureADConnect-Anchor-Step2\"<\/figure>\n\n\n\n

3 – Click on\u00a0View current configuration<\/strong> then\u00a0Next<\/strong><\/p>\n\n\n\n

\"AzureADConnect-Anchor-Step3\"<\/figure>\n\n\n\n

4 – In the\u00a0Synchronization Settings<\/strong>, look for\u00a0Source Anchor<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

This article expains how to check which attribute is used as the source anchor for the synchronization between Active Directory…<\/p>\n","protected":false},"author":5614970,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[44496998],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/230"}],"collection":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/users\/5614970"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/comments?post=230"}],"version-history":[{"count":9,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/230\/revisions"}],"predecessor-version":[{"id":1417,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/230\/revisions\/1417"}],"wp:attachment":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/media?parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/categories?post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/tags?post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}