{"id":88,"date":"2020-12-11T13:08:32","date_gmt":"2020-12-11T11:08:32","guid":{"rendered":"http:\/\/my-virt.alfadir.net\/?p=88"},"modified":"2021-01-22T00:54:25","modified_gmt":"2021-01-21T22:54:25","slug":"azure-ad-as-idp-for-workspace-one-access","status":"publish","type":"post","link":"https:\/\/my-virt.alfadir.net\/index.php\/2020\/12\/11\/azure-ad-as-idp-for-workspace-one-access\/","title":{"rendered":"Azure AD as IdP for Workspace One Access"},"content":{"rendered":"\n<p>This tuto will show you how to configure Azure AD as a 3rd party Identity Provider for Workspace One Access. <\/p>\n\n\n\n<p>Note : In my case, the default Azure AD domain is alfadir.onmicrosoft.com but in order to match with my on-premise Active Directory I had to use not the email address or UPN but the &#8220;Alternate email&#8221; <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1190\" height=\"629\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/13-Azure-Idp.png\" alt=\"\" class=\"wp-image-102\"\/><\/figure>\n\n\n\n<p>So the first thing to do is to create a &#8220;New Application&#8221; in Azure, once logged on Azure Portal as Admin, select &#8220;<strong>Azure Active Directory<\/strong>&#8220;, then on the left pane, select &#8220;<strong>Enteprise applications<\/strong>&#8221; and click &#8220;<strong>New Application<\/strong>&#8220;:<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"881\" height=\"203\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/01-Azure-Idp.png\" alt=\"\" class=\"wp-image-89\"\/><\/figure>\n\n\n\n<p>Select &#8220;<strong>Click here to switch to switch to the old app gallery experience<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"910\" height=\"270\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/02-Azure-Idp.png\" alt=\"\" class=\"wp-image-90\"\/><\/figure>\n\n\n\n<p>Select &#8220;<strong>Non-gallery application<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"221\" height=\"203\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/03-Azure-Idp.png\" alt=\"\" class=\"wp-image-91\"\/><\/figure>\n\n\n\n<p>Type a name for this application (Tenant name for exemple) and click &#8220;Add&#8221; (bottom-left)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"758\" height=\"369\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/04-Azure-Idp.png\" alt=\"\" class=\"wp-image-92\"\/><\/figure>\n\n\n\n<p>Select &#8220;1. Assign users and groups&#8221; and click &#8220;Add user&#8221; <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"380\" height=\"168\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/14-Azure-Idp.png\" alt=\"\" class=\"wp-image-103\"\/><\/figure>\n\n\n\n<p>Add all required users and click &#8220;Assign&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"711\" height=\"428\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/05-Azure-Idp.png\" alt=\"\" class=\"wp-image-93\"\/><\/figure>\n\n\n\n<p>Click &#8220;2. Set up single sign on&#8221; or &#8220;Single sign-on&#8221; on the left pane.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"376\" height=\"162\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/06-Azure-Idp.png\" alt=\"\" class=\"wp-image-94\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"280\" height=\"295\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/15-Azure-Idp.png\" alt=\"\" class=\"wp-image-104\"\/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Select &#8220;<strong>SAML<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"370\" height=\"205\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/07-Azure-Idp.png\" alt=\"\" class=\"wp-image-95\"\/><\/figure>\n\n\n\n<p>Click &#8220;<strong>Edit<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"779\" height=\"323\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/08-Azure-Idp.png\" alt=\"\" class=\"wp-image-96\"\/><\/figure>\n\n\n\n<p>Fill the Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL) with your Workspace ONE Access tenant information and click &#8220;<strong>Save<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"803\" height=\"501\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/09-Azure-Idp.png\" alt=\"\" class=\"wp-image-97\"\/><\/figure>\n\n\n\n<p>As said by default the following attributes are used :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/16-Azure-Idp.png\" alt=\"\" class=\"wp-image-105\" width=\"580\" height=\"136\"\/><\/figure>\n\n\n\n<p>But in my case I had to use the Alternate email so I only change it for :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"760\" height=\"147\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/17-Azure-Idp.png\" alt=\"\" class=\"wp-image-106\"\/><\/figure>\n\n\n\n<p>Now we need to save the Federation metadata so we can import it it in Workspace ONE Access, so one the block number &#8220;3&#8221;, click &#8220;<strong>Download<\/strong>&#8221; in front of &#8220;<strong>Federation Metadata XML<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"777\" height=\"251\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/18-Azure-Idp.png\" alt=\"\" class=\"wp-image-107\"\/><\/figure>\n\n\n\n<p>Nothing more to do on the Azure side, now let&#8217;s configure Workspace ONE Access&#8230;<\/p>\n\n\n\n<p>Login as admin and select &#8220;<strong>Identity &amp; Access Management<\/strong>&#8221; then &#8220;<strong>Identity Providers<\/strong>&#8220;<\/p>\n\n\n\n<p>Click &#8220;Add Identity Provider&#8221; (upper right)<\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\">Fill the required informations :<\/span><br><span style=\"text-decoration: underline;\"><strong>Identity Provider Name<\/strong> <\/span>: Something to identify this IdP eg. Azure AD<br><strong><span style=\"text-decoration: underline;\">SAML Metadata<\/span><\/strong> : copy and past the content of  &#8220;<em>Federation Metadata XML<\/em>&#8221; and click &#8220;<strong>Process IdP Metadata<\/strong>&#8220;<br><strong><span style=\"text-decoration: underline;\">Name ID Format:<\/span><\/strong><br>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified = userName<br>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress = userPrincipalName<br><strong>Name ID Policy in SAML Request<\/strong> : urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress<br><strong><span style=\"text-decoration: underline;\">Network<\/span><\/strong>: Select appropriate networks<br><strong><span style=\"text-decoration: underline;\">Authentication Methods<\/span><\/strong> :  Something to identify this IdP eg. Azure AD<br><span style=\"text-decoration: underline;\"><strong>SAML Contexts<\/strong><\/span> : urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1188\" height=\"642\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/10-Azure-Idp.png\" alt=\"\" class=\"wp-image-98\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"863\" height=\"529\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/11-Azure-Idp.png\" alt=\"\" class=\"wp-image-99\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"863\" height=\"678\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/12-Azure-Idp.png\" alt=\"\" class=\"wp-image-100\"\/><\/figure>\n\n\n\n<p>Once done you can specify your Azure AD as authentication method in the Policies for this, select &#8220;<strong>Policies<\/strong>&#8221; and &#8220;EDIT DEFAULT POLICY&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1211\" height=\"309\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/19-Azure-Idp.png\" alt=\"\" class=\"wp-image-108\"\/><\/figure>\n\n\n\n<p>Select &#8220;Configuration&#8221; \\ &#8220;&lt;Network Range&gt;&#8221; <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1170\" height=\"615\" src=\"http:\/\/my-virt.alfadir.net\/wp-content\/uploads\/2020\/12\/20-Azure-Idp.png\" alt=\"\" class=\"wp-image-109\"\/><\/figure>\n\n\n\n<p>Finally select &#8220;AZURE AD&#8221; (or whatever you call it) and Save<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tuto will show you how to configure Azure AD as a 3rd party Identity Provider for Workspace One Access. Note : In my case, 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-88","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\/88","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=88"}],"version-history":[{"count":4,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":146,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/88\/revisions\/146"}],"wp:attachment":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}