%3CLINGO-SUB%20id%3D%22lingo-sub-1505737%22%20slang%3D%22en-US%22%3EClaimsXRay%20in%20AzureAD%20with%20Directory%20Extension%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1505737%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowdy%20folks!%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FProfile%2FMichele%2520Ferrari%2520%255BMSFT%255D%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMichele%20Ferrari%3C%2FA%3E%20here%20from%20the%20Premier%20Field%20Engineer-%20Azure%20Team%20in%20San%20Francisco%2C%20here%20today%20to%20talk%20about%20how%20to%20use%20the%20famous%20%3CA%20href%3D%22https%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenRequest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EClaimsXRay%3C%2FA%3E%20application%20with%20AzureAD%20to%20troubleshoot%20problems%20with%20SAML%20single%20sign-on%20for%203%3CSUP%3Erd%3C%2FSUP%3E%20party%20tool%20applications.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EWhy%20you%20might%20want%20to%20read%20this%20blog%3A%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EYou%20have%20an%20Application%20that%20you%20want%20to%20integrate%20with%20AzureAD%20providing%20the%20Single%20Sign-on%20experience%20for%20your%20users.%20This%20Application%20supports%20a%20SAML-based%20protocol%20but%20requires%20some%20ad-hoc%20claims%20to%20work%20properly%2C%20for%20example%20it%20expects%20specific%20Claims%20to%20identify%20your%20users%2C%20attributes%20that%20only%20exist%20in%20your%20on-premises%20Active%20Directory%20and%20not%20in%20Azure%20Active%20Directory%20(yet).%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20been%20working%20in%20AD%20FS%2C%20you%20probably%20came%20across%20this%20awesome%20tool%20called%3A%20Claims%20X-Ray%20(%3CA%20href%3D%22https%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenRequest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenRequest%3C%2FA%3E)%20to%20debug%20and%20troubleshoot%20problems%20with%20claims%20issuance%20in%20AD%20FS.%20Today%2C%20we%E2%80%99re%20going%20to%20re-use%20this%20tool%20with%20AzureAD%20!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3EAt%20the%20end%20of%20this%20blog%20you%20will%20be%20able%20to%3A%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIntegrate%20ClaimsXRay%20with%20an%20AzureAD%20application%20to%20test%20SAML%20claims%20issuance%3C%2FLI%3E%0A%3CLI%3EUnderstand%20how%20to%20use%20Directory%20Schema%20Extension%20Attributes%20for%20sending%20user%20data%20to%20applications%20in%20token%20claims%3C%2FLI%3E%0A%3CLI%3Erfc1274%20%E2%80%93%20did%20you%20know%20there%20is%20an%20attribute%20called%20%E2%80%98drink%E2%80%99%20in%20Microsoft%E2%80%99s%20Active%20Directory%3F%3C%2FLI%3E%0A%3CLI%3ELearn%20about%20the%20Tenant%20Schema%20Extension%20App%20in%20your%20tenant%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3EReady%3F%20Let%E2%80%99s%20do%20it%2C%20follow%20me!%3C%2FU%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIntegrate%20AD%20FS%20Help%20ClaimsXRay%20with%20AzureAD%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOpen%20AzureAD%20Admin%20Center%20%3CA%20href%3D%22https%3A%2F%2Faad.portal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faad.portal.azure.com%2F%3C%2FA%3E%20and%20then%20click%20on%20%3CSTRONG%3EEnterprise%20Application%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203696iA30267A62A3227AE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_1.png%22%20alt%3D%22img_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAdd%20a%20%3CSTRONG%3ENon-Gallery%20Application%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203697i19AE603F2C592363%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_2.png%22%20alt%3D%22img_2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EChoose%20the%20name%20for%20your%20application%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203698i37C71276823085F2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_3.png%22%20alt%3D%22img_3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3ESingle-Sign-On%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_4.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203699i80CE9E30BF255C53%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_4.png%22%20alt%3D%22img_4.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20the%20pencil%20to%20Edit%20the%20%3CSTRONG%3EBasic%20SAML%20Configuration%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_6.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203702i5FE735E7F602B7EE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_6.png%22%20alt%3D%22img_6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20Identifier%20we%20are%20going%20to%20use%20%3CSTRONG%3Eurn%3Amicrosoft%3Aadfs%3Aclaimsxray%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAs%20a%20Reply%20URL%3A%20%3CA%20href%3D%22https%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenResponse%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSTRONG%3Ehttps%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenResponse%3C%2FSTRONG%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20width%3D%22683%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3EIdentifier%20(Entity%20ID)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3EUniquely%20identifies%20the%20application.%20Azure%20AD%20sends%20the%20identifier%20to%20the%20application%20as%20the%20Audience%20parameter%20of%20the%20SAML%20token.%20The%20application%20is%20expected%20to%20validate%20it.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CP%3E%3CSTRONG%3EReply%20URL%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CP%3ESpecifies%20where%20the%20application%20expects%20to%20receive%20the%20SAML%20token.%20The%20reply%20URL%20is%20also%20referred%20to%20as%20the%20Assertion%20Consumer%20Service%20(ACS)%20URL%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESince%20we%20are%20re-using%20the%20ADFS%20ClaimsXRay%20published%20by%20Microsoft%2C%20we%20need%20to%20use%20the%20Identifier%20it%20is%20expecting%20and%2C%20tell%20our%20application%20where%20to%20send%2Fredirect%20the%20SAML%20token.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20ClaimsXRay%20does%20not%20enforce%20the%20validation%20of%20the%20Identifier.%20This%20means%20that%20you%20could%20potentially%20have%20multiple%20ClaimsXRay%20applications%20in%20your%20tenant%3A%3CBR%20%2F%3E%26nbsp%3BIf%20you%20use%20different%20identifiers%2C%20you%20can%20register%20multiple%20versions%20of%20ClaimsXRay%20for%20various%20tests%20(example%2C%20one%20with%20and%20one%20without%20MFA%20required%2C%20one%20with%20session%20controls%2C%20etc.)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_7.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203704iE30B6CFD4EA86166%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_7.png%22%20alt%3D%22img_7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20this%20point%20Save%20the%20configuration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_8.png%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203706i862BAC6DAF94C2BA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_8.png%22%20alt%3D%22img_8.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3ENo%2C%20I%E2%80%99ll%20test%20%3C%2FSTRONG%3Elater%20as%20there%20is%20still%20something%20we%20need%20to%20configure%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_9.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203707iD036F43498C289F8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_9.png%22%20alt%3D%22img_9.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3EUsers%20and%20groups%3C%2FSTRONG%3E%20and%20then%20%3CSTRONG%3EAdd%20User%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_11.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203708iAE16085A15B304AB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_11.png%22%20alt%3D%22img_11.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESearch%20for%20an%20User%20Account%20and%20assign%20it%20to%20this%20Application.%20This%20will%20allow%20that%20user%20to%20%E2%80%9Cconsume%E2%80%9D%20this%20app%20and%20at%20the%20same%20time%2C%20this%20app%20will%20be%20visible%20into%20the%20myapplications%20portal%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_12.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203709i22AEFED504779DAB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_12.png%22%20alt%3D%22img_12.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOpen%20a%20new%20%3CSTRONG%3Etab%3C%2FSTRONG%3E%20in%20your%20favorite%20browser%20and%20go%20to%20%3CA%20href%3D%22https%3A%2F%2Fmyapplications.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmyapplications.microsoft.com%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESearch%20for%20the%20name%20of%20the%20application%20you%20have%20just%20created%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_13.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203710i51B2DEECD9A186F5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_13.png%22%20alt%3D%22img_13.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20here%20the%20SAML%20claims%20with%20all%20of%20its%20claims%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_14.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203711iD18ABA4E5A6FB6AC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_14.png%22%20alt%3D%22img_14.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20let%E2%80%99s%20move%20into%20the%20Claims%20customizations.%3C%2FP%3E%0A%3CP%3EMy%20Application%20requires%20the%20On-premises%20User%20%3CSTRONG%3EDrink%3C%2FSTRONG%3E%20attribute%20to%20be%20passed%20within%20the%20SAML%20assertion%20to%20my%20Application%20and%20the%20%3CSTRONG%3EonPremisesSamAccountName%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3EFollowing%20this%20documentation%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-sync-feature-directory-extensions%23customize-which-attributes-to-synchronize-with-azure-ad%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-sync-feature-directory-extensions%23customize-which-attributes-to-synchronize-with-azure-ad%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EWe%E2%80%99re%20going%20to%20configure%20ADConnect%20to%20synchronize%20the%20%3CSTRONG%3EDrink%20%3C%2FSTRONG%3Eattribute%20since%20the%20%3CSTRONG%3EonPremisesSamAccountName%3C%2FSTRONG%3E%20is%20already%20available%20in%20AzureAD.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EConnect%20to%20your%20ADConnect%20server%20and%20lunch%20the%20%3CSTRONG%3EAzure%20AD%20Connect%3C%2FSTRONG%3E%20app.%20%3CSTRONG%3ERemember%3C%2FSTRONG%3E%20that%20you%20must%20remember%20to%20close%20this%20application%20at%20the%20end%2C%20as%20this%20is%20going%20to%20pause%20the%20sync%20engines%20for%20the%20time%20you%20work%20on%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_15.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203712i0A1A9878817FC9FE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_15.png%22%20alt%3D%22img_15.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3EConfigure%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_16.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203713iA8BFA11B301FF020%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_16.png%22%20alt%3D%22img_16.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3ECustomize%20synchronization%20options%3C%2FSTRONG%3E%20and%20click%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_17.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203714i28506D100ABC3AF9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_17.png%22%20alt%3D%22img_17.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAuthenticate%20with%20your%20AzureAD%20Global%20Admin%20user%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_18.png%22%20style%3D%22width%3A%20940px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203715i6BBE8A3EFC7A2C87%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_18.png%22%20alt%3D%22img_18.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20%3CSTRONG%3E%3CSTRONG%3ENext%3C%2FSTRONG%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_19.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203716iEFF09FF1D3B47A2A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_19.png%22%20alt%3D%22img_19.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20%3CSTRONG%3E%3CSTRONG%3ENext%3C%2FSTRONG%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_20.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203717i7D26AE3E6DF088D6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_20.png%22%20alt%3D%22img_20.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESelect%20%3CSTRONG%3EDirectory%20extension%20attribute%20sync%3C%2FSTRONG%3E%20and%20then%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_21.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203718iA7D97ED2D42B713D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_21.png%22%20alt%3D%22img_21.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESearch%20and%20select%20%3CSTRONG%3EDrink%3C%2FSTRONG%3E%20and%20add%20it%20to%20the%20Selected%20Attributed%20and%20then%20click%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EDid%20you%20know%20that%20there%20is%20an%20attribute%20called%20%E2%80%98drink%E2%80%99%20in%20Microsoft%E2%80%99s%20Active%20Directory%3F%3CBR%20%2F%3EThe%20drink%20(Favorite%20Drink)%20attribute%20type%20specifies%20the%20favorite%20drink%20of%20an%20object%20(or%20person).%3CBR%20%2F%3EIt%E2%80%99s%20been%20%3CA%20href%3D%22https%3A%2F%2Fwww.ietf.org%2Frfc%2Frfc1274.txt%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ERFC%20since%201991%3C%2FA%3E!%20%3Asmiling_face_with_smiling_eyes%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_22.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203719iD830E952CDEFF0A9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_22.png%22%20alt%3D%22img_22.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3EConfigure%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_23.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203720i838D59DE287232F6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_23.png%22%20alt%3D%22img_23.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20%3CSTRONG%3EExit%3C%2FSTRONG%3E%20to%20complete%20the%20configuration%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_24.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203721iC84952FF035087E2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_24.png%22%20alt%3D%22img_24.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%E2%80%99m%20going%20to%20initiate%20a%20Delta%20Synchronization%20to%20avoid%20waiting%20until%20the%20next%20sync%20cycle%3A%3C%2FP%3E%0A%3CP%3EStart-ADSyncSyncCycle%20-PolicyType%20Delta%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22powershell_1.png%22%20style%3D%22width%3A%20736px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203722i33D57B1DC515A1C4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22powershell_1.png%22%20alt%3D%22powershell_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20let%E2%80%99s%20confirm%20that%20the%20%3CSTRONG%3EDrink%3C%2FSTRONG%3E%20attribute%20flowed%20into%20Azure%20AD.%20Open%20the%20%3CSTRONG%3ESynchronization%20Service%3C%2FSTRONG%3E%20app%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_26.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203725i5B81EBC8B81143B6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_26.png%22%20alt%3D%22img_26.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20will%20notice%20that%20as%20a%20result%20of%20a%20directory%20extension%20change%2C%20ADConnect%20choses%20to%20perform%20a%20Full%20Import%20that%2C%20in%20big%20environment%20can%20take%20even%20hours%20so%2C%20always%20test%20where%20possible%20and%20plan%20accordingly%20as%20it%20wont%20be%20able%20to%20do%20any%20other%20sync%20operation%20until%20it%20completes%20the%20import.%3C%2FP%3E%0A%3CP%3EThis%20configuration%20creates%20an%20Inbound%20Sync%20Rule%20to%20Import%20the%20Description%20attribute%20From%20the%20Connector%20Space%20into%20the%20Metaverse%20%3CSTRONG%3E%E2%80%9CIn%20from%20AD%20-%20User%20DirectoryExtension%E2%80%9D%3C%2FSTRONG%3E%20and%20an%20Outbound%20SyncRule%20to%20export%20it%20from%20the%20Metaverse%20into%20the%20AzureAD%20Connector%20Space%20where%20then%20the%20object%20is%20exported%20and%20in%20AzureAD%20%3CSTRONG%3E%E2%80%9COut%20to%20AAD%20-%20User%20DirectoryExtension%E2%80%9D.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20interesting%20thing%20it%E2%80%99s%20how%20the%20Object%20is%20named%20in%20AzureAD%3A%20extension_%3CSTRONG%3E180973d8aa5f4e049c25bb863c66de18%3C%2FSTRONG%3E_department%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_27.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203727iD1B2197D83512984%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_27.png%22%20alt%3D%22img_27.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%E2%80%99s%20is%20%3CSTRONG%3E180973d8aa5f4e049c25bb863c66de18%3C%2FSTRONG%3E%3F%3C%2FP%3E%0A%3CP%3EIt%E2%80%99s%20nothing%20more%20than%20the%20ApplicationId%20of%20our%20Tenant%20Schema%20Extension%20App%20in%20our%20Tenant.%20Every%20customer%20gets%20a%20different%20AppId%20so%20do%20not%20try%20to%20search%20mine%20into%20your%20tenant.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_28.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203729i7316A62752479B4D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_28.png%22%20alt%3D%22img_28.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDirectory%20Schema%20Extension%20Attributes%20provide%20a%20way%20to%20store%20additional%20data%20in%20Azure%20Active%20Directory%20on%20user%20objects%20and%20other%20directory%20objects%20such%20as%20groups%2C%20tenant%20details%2C%20service%20principals%20%3CSTRONG%3EBUT%20%3C%2FSTRONG%3Eonly%20extension%20attributes%20on%20user%20objects%20can%20be%20used%20for%20emitting%20claims%20to%20applications%20and%20those%20attributes%20%26nbsp%3Bare%20always%20associated%20with%20an%20application%20in%20the%20tenant%20and%20are%20referenced%20by%20the%20application's%20applicationId%20in%20their%20name%3A%20%3CSTRONG%3ETenant%20Schema%20Extension%20App%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3EAs%20you%20can%20see%20the%20Identifier%20for%20a%20Directory%20Schema%20Extension%20Attribute%20is%20of%20the%20form%20of%20Extension_xxxxxxxxx_AttributeName%2C%20where%20xxxxxxxxx%20is%20the%20applicationId%20of%20the%20application%20the%20extension%20was%20defined%20for.%3C%2FP%3E%0A%3CP%3EOnce%20a%20directory%20extension%20attribute%20created%20via%20AD%20Connect%20is%20in%20the%20directory%2C%20it%20will%20show%20in%20the%20SAML%20SSO%20claims%20configuration%20UI.%3C%2FP%3E%0A%3CP%3ELet%E2%80%99s%20go%20back%20to%20our%20ClaimsXRay%20Enterprise%20Application%20in%20the%20AAD%20Portal%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_29.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203730iEB346B90CB1D0D41%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_29.png%22%20alt%3D%22img_29.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20click%20on%20%3CSTRONG%3ESingle%20sign-on%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_30.png%22%20style%3D%22width%3A%20888px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203731iE6C4622F7213AD30%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_30.png%22%20alt%3D%22img_30.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20the%20pencil%20to%20edit%20%3CSTRONG%3EUser%20Attributes%20%26amp%3B%20Claims%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_31.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203732i65C0667CC6ECB95A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_31.png%22%20alt%3D%22img_31.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20%3CSTRONG%3EAdd%20new%20claim%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_32.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203733i5FEED51AAFB35CC2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_32.png%22%20alt%3D%22img_32.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EType%20a%20Name%20for%20your%20new%20claim%20and%20select%20the%20user.drink%20extension%20we%20just%20created%20and%20then%20click%20on%20%3CSTRONG%3ESave%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_33.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203734i7B4922B5B664BF9E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_33.png%22%20alt%3D%22img_33.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOpen%20a%20new%20%3CSTRONG%3Etab%3C%2FSTRONG%3E%20in%20your%20favorite%20browser%20and%20go%20to%20-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Fmyapplications.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmyapplications.microsoft.com%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EAnd%20click%20on%20your%20ClaimsXRay%20application%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_34.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203736i607C246B3730F579%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_34.png%22%20alt%3D%22img_34.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20we%20can%20see%20the%20new%20%3CSTRONG%3EFavorite_Drink%3C%2FSTRONG%3E%20claim%20we%20just%20created%2C%20which%20is%20a%20synced%20attribute%20from%20our%20on-premises%20AD%20Department%20attribute%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22img_36.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203737i9AAC1F7FB5B5E58B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22img_36.png%22%20alt%3D%22img_36.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20concludes%20this%20Blog%20Post.%20I%20want%20to%20thank%20you%20for%20your%20time%20and%20I%E2%80%99ll%20see%20you%20soon%20here!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EMichele%20Ferrari%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1505737%22%20slang%3D%22en-US%22%3E%3CDIV%3EToday%20we%20will%20talk%20about%20how%20to%20use%20the%20famous%20ClaimsXRay%20application%20with%20AzureAD%20to%20troubleshoot%20problems%20with%20SAML%3C%2FDIV%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1505737%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicheleFerrari%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586449%22%20slang%3D%22en-US%22%3ERe%3A%20ClaimsXRay%20in%20AzureAD%20with%20Directory%20Extension%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586449%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20great%20stuff!%20Keep%20them%20coming.%3C%2FP%3E%3CP%3E%22Drink%22%20attribute%2C%20not%20aware.%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

 

Howdy folks!

Michele Ferrari here from the Premier Field Engineer- Azure Team in San Francisco, here today to talk about how to use the famous ClaimsXRay application with AzureAD to troubleshoot problems with SAML single sign-on for 3rd party tool applications.

 

Why you might want to read this blog:

You have an Application that you want to integrate with AzureAD providing the Single Sign-on experience for your users. This Application supports a SAML-based protocol but requires some ad-hoc claims to work properly, for example it expects specific Claims to identify your users, attributes that only exist in your on-premises Active Directory and not in Azure Active Directory (yet).

If you have been working in AD FS, you probably came across this awesome tool called: Claims X-Ray (https://adfshelp.microsoft.com/ClaimsXray/TokenRequest) to debug and troubleshoot problems with claims issuance in AD FS. Today, we’re going to re-use this tool with AzureAD !

 

At the end of this blog you will be able to:

  • Integrate ClaimsXRay with an AzureAD application to test SAML claims issuance
  • Understand how to use Directory Schema Extension Attributes for sending user data to applications in token claims
  • rfc1274 – did you know there is an attribute called ‘drink’ in Microsoft’s Active Directory?
  • Learn about the Tenant Schema Extension App in your tenant

 

Ready? Let’s do it, follow me!

  • Integrate AD FS Help ClaimsXRay with AzureAD

 

Open AzureAD Admin Center https://aad.portal.azure.com/ and then click on Enterprise Application

 

img_1.png

 

Add a Non-Gallery Application:

 

img_2.png

 

Choose the name for your application:

 

img_3.png

 

Click on Single-Sign-On

 

img_4.png

 

Click on the pencil to Edit the Basic SAML Configuration

 

img_6.png

 

As Identifier we are going to use urn:microsoft:adfs:claimsxray

As a Reply URL: https://adfshelp.microsoft.com/ClaimsXray/TokenResponse

 

Identifier (Entity ID)

Uniquely identifies the application. Azure AD sends the identifier to the application as the Audience parameter of the SAML token. The application is expected to validate it.

Reply URL

Specifies where the application expects to receive the SAML token. The reply URL is also referred to as the Assertion Consumer Service (ACS) URL

 

Since we are re-using the ADFS ClaimsXRay published by Microsoft, we need to use the Identifier it is expecting and, tell our application where to send/redirect the SAML token.

Note: ClaimsXRay does not enforce the validation of the Identifier. This means that you could potentially have multiple ClaimsXRay applications in your tenant:
 If you use different identifiers, you can register multiple versions of ClaimsXRay for various tests (example, one with and one without MFA required, one with session controls, etc.)

 

img_7.png

 

At this point Save the configuration.

 

img_8.png

 

Click on No, I’ll test later as there is still something we need to configure

 

img_9.png

 

Click on Users and groups and then Add User

 

img_11.png

 

Search for an User Account and assign it to this Application. This will allow that user to “consume” this app and at the same time, this app will be visible into the myapplications portal

 

img_12.png

 

Open a new tab in your favorite browser and go to https://myapplications.microsoft.com/

 

Search for the name of the application you have just created:

 

img_13.png

 

And here the SAML claims with all of its claims:

 

img_14.png

 

Now, let’s move into the Claims customizations.

My Application requires the On-premises User Drink attribute to be passed within the SAML assertion to my Application and the onPremisesSamAccountName.

Following this documentation https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-feature-directory...

We’re going to configure ADConnect to synchronize the Drink attribute since the onPremisesSamAccountName is already available in AzureAD.

 

Connect to your ADConnect server and lunch the Azure AD Connect app. Remember that you must remember to close this application at the end, as this is going to pause the sync engines for the time you work on it.

 

img_15.png

 

Click on Configure

 

img_16.png

 

Click on Customize synchronization options and click Next

 

img_17.png

 

Authenticate with your AzureAD Global Admin user

 

img_18.png

 

Click Next

 

img_19.png

 

Click Next

 

img_20.png

 

Select Directory extension attribute sync and then Next

 

img_21.png

 

Search and select Drink and add it to the Selected Attributed and then click Next

Did you know that there is an attribute called ‘drink’ in Microsoft’s Active Directory?
The drink (Favorite Drink) attribute type specifies the favorite drink of an object (or person).
It’s been RFC since 1991! :smiling_face_with_smiling_eyes:

 

img_22.png

 

Click on Configure

 

img_23.png

 

Click Exit to complete the configuration

 

img_24.png

 

I’m going to initiate a Delta Synchronization to avoid waiting until the next sync cycle:

Start-ADSyncSyncCycle -PolicyType Delta

 

powershell_1.png

 

Now, let’s confirm that the Drink attribute flowed into Azure AD. Open the Synchronization Service app

 

img_26.png

 

You will notice that as a result of a directory extension change, ADConnect choses to perform a Full Import that, in big environment can take even hours so, always test where possible and plan accordingly as it wont be able to do any other sync operation until it completes the import.

This configuration creates an Inbound Sync Rule to Import the Description attribute From the Connector Space into the Metaverse “In from AD - User DirectoryExtension” and an Outbound SyncRule to export it from the Metaverse into the AzureAD Connector Space where then the object is exported and in AzureAD “Out to AAD - User DirectoryExtension”.

The interesting thing it’s how the Object is named in AzureAD: extension_180973d8aa5f4e049c25bb863c66de18_department

 

img_27.png

 

What’s is 180973d8aa5f4e049c25bb863c66de18?

It’s nothing more than the ApplicationId of our Tenant Schema Extension App in our Tenant. Every customer gets a different AppId so do not try to search mine into your tenant.

 

img_28.png

 

Directory Schema Extension Attributes provide a way to store additional data in Azure Active Directory on user objects and other directory objects such as groups, tenant details, service principals BUT only extension attributes on user objects can be used for emitting claims to applications and those attributes  are always associated with an application in the tenant and are referenced by the application's applicationId in their name: Tenant Schema Extension App.

As you can see the Identifier for a Directory Schema Extension Attribute is of the form of Extension_xxxxxxxxx_AttributeName, where xxxxxxxxx is the applicationId of the application the extension was defined for.

Once a directory extension attribute created via AD Connect is in the directory, it will show in the SAML SSO claims configuration UI.

Let’s go back to our ClaimsXRay Enterprise Application in the AAD Portal

 

img_29.png

 

Then click on Single sign-on

 

img_30.png

 

Click on the pencil to edit User Attributes & Claims

 

img_31.png

 

Click on Add new claim

 

img_32.png

 

Type a Name for your new claim and select the user.drink extension we just created and then click on Save

 

img_33.png

 

Open a new tab in your favorite browser and go to https://myapplications.microsoft.com/

And click on your ClaimsXRay application

 

img_34.png

 

And we can see the new Favorite_Drink claim we just created, which is a synced attribute from our on-premises AD Department attribute:

 

img_36.png

 

This concludes this Blog Post. I want to thank you for your time and I’ll see you soon here!

 

Michele Ferrari

1 Comment
Senior Member

This is great stuff! Keep them coming.

"Drink" attribute, not aware. :smile: