{"id":111,"date":"2020-12-11T16:01:31","date_gmt":"2020-12-11T14:01:31","guid":{"rendered":"http:\/\/my-virt.alfadir.net\/?p=111"},"modified":"2022-02-13T18:13:14","modified_gmt":"2022-02-13T16:13:14","slug":"ad-fs-as-idp-for-workspace-one-access-and-uag","status":"publish","type":"post","link":"https:\/\/my-virt.alfadir.net\/index.php\/2020\/12\/11\/ad-fs-as-idp-for-workspace-one-access-and-uag\/","title":{"rendered":"AD FS as IdP for Workspace ONE Access and UAG"},"content":{"rendered":"\n<p>I&#8217;ll not talk about the configuration of AD FS itself but how to create the relying party for both Workspace ONE Access and UAG&#8230; spoiler: the configuration is not the same \ud83d\ude42<\/p>\n\n\n\n<p>So here the common part who consist to the creation of the Relying Party Trusts:<\/p>\n\n\n\n<p>Open you AD FS Manager, select &#8220;<strong>Relying Party Truts<\/strong>&#8221; and with the select &#8220;<strong>Add Relying Party Trust&#8230;<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"424\" height=\"297\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/01-adfs_idp.png\" alt=\"\" class=\"wp-image-113\"\/><\/figure>\n\n\n\n<!--nextpage-->\n\n\n\n<p>Keep &#8220;<strong>Claims aware<\/strong>&#8221; and click &#8220;<strong>Start<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"716\" height=\"292\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/02-adfs_idp.png\" alt=\"\" class=\"wp-image-114\"\/><\/figure>\n\n\n\n<p>Select &#8220;<strong>Import data about the relying party for a file<\/strong>&#8220;, click &#8220;<strong>Browse<\/strong>&#8221; and select the metadata file downloaded from your Workspace ONE Access or your Unified Access Gateway<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"716\" height=\"582\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/03-adfs_idp.png\" alt=\"\" class=\"wp-image-115\"\/><\/figure>\n\n\n\n<p>Specify a &#8220;<strong>Display name<\/strong>&#8221; <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"716\" height=\"336\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/04-adfs_idp.png\" alt=\"\" class=\"wp-image-116\"\/><\/figure>\n\n\n\n<p>Select &#8220;<strong>Permit everyone<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"716\" height=\"582\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/05-adfs_idp.png\" alt=\"\" class=\"wp-image-117\"\/><\/figure>\n\n\n\n<p>Click &#8220;<strong>Next<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"716\" height=\"582\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/06-adfs_idp.png\" alt=\"\" class=\"wp-image-118\"\/><\/figure>\n\n\n\n<p>Click &#8220;<strong>Close<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"716\" height=\"316\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/07-adfs_idp.png\" alt=\"\" class=\"wp-image-119\"\/><\/figure>\n\n\n\n<p>Click &#8220;<strong>Edit Claim Issuance Policy&#8230;<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"238\" height=\"419\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/08-adfs_idp.png\" alt=\"\" class=\"wp-image-120\"\/><\/figure>\n\n\n\n<p>Click &#8220;<strong>Add Rule<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"486\" height=\"324\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/09-adfs_idp.png\" alt=\"\" class=\"wp-image-123\"\/><\/figure>\n\n\n\n<p>Ok now we have a difference between UAG and Workspace ONE Access<\/p>\n\n\n\n<p><strong>For Workspace ONE Access :<\/strong><\/p>\n\n\n\n<p>We need to create 2 rules, the first one consist to the email address..<\/p>\n\n\n\n<p>Select &#8220;<strong>Send LDAP Attributes as Claims<\/strong>&#8220;<br>In Attribute store, select : &#8220;<strong>Active Directory<\/strong>&#8221; and the following Attributes\/Outgoing Claim Type :<br><span style=\"text-decoration: underline;\">LDAP Attribute<\/span> : &#8220;<em>E-Mail-Addresses<\/em>&#8220;<br><span style=\"text-decoration: underline;\">Outgoing Claim Type<\/span> : &#8220;<em>E-Mail Address<\/em>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"532\" height=\"574\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/13-adfs_idp.png\" alt=\"\" class=\"wp-image-122\"\/><\/figure>\n\n\n\n<p>And the second one consist to transform the output to something readable for Workspace One Access:<\/p>\n\n\n\n<p>Select &#8220;<strong>Send Claims Using a Custom Rule<\/strong>&#8220;<br>In &#8220;<strong>Claim rule name:<\/strong>&#8220;, type your rule name eg : &#8220;<em>Transform<\/em>&#8220;<br>In &#8220;<strong>Custom rule<\/strong>&#8220;, copy and past the following line but change the &#8220;https:\/\/my_tenant.vmwareidentity.eu&#8221; by your tenant fqdn<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>c:&#91;Type == \"http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/emailaddress\"]\n =&gt; issue(Type = \"http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/nameidentifier\", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType, Properties&#91;\"http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claimproperties\/format\"] = \"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\", Properties&#91;\"http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claimproperties\/spnamequalifier\"] = \"{https:\/\/my_tenant.vmwareidentity.eu}\");<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"545\" height=\"586\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/14-adfs_idp.png\" alt=\"\" class=\"wp-image-121\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>For Unified Access Gateway:<\/strong><\/p>\n\n\n\n<p>It&#8217;s more simple, <\/p>\n\n\n\n<p>Give a Claim rule name : eg. &#8220;<em>Get UPN<\/em>&#8220;<\/p>\n\n\n\n<p>Select &#8220;<strong>Send LDAP Attributes as Claims<\/strong>&#8220;<br>In Attribute store, select : &#8220;<strong>Active Directory<\/strong>&#8221; and the following Attributes\/Outgoing Claim Type :<br>LDAP Attribute : &#8220;<em>User-Principal-Name<\/em>&#8220;<br>Outgoing Claim Type : &#8220;<em>Name ID<\/em>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"549\" height=\"590\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/12-adfs_idp.png\" alt=\"\" class=\"wp-image-124\"\/><\/figure>\n\n\n\n<p>Click <strong>&#8220;Finish<\/strong>&#8220;<\/p>\n\n\n\n<p>Click &#8220;<strong>Apply<\/strong>&#8220;<br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ll not talk about the configuration of AD FS itself but how to create the relying party for both Workspace ONE Access and UAG&#8230; spoiler: the&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-identity-manager"],"_links":{"self":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":7,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}