{"id":11271,"date":"2021-07-20T09:49:21","date_gmt":"2021-07-20T08:49:21","guid":{"rendered":"https:\/\/myworldofit.net\/?p=11271"},"modified":"2021-07-20T20:05:38","modified_gmt":"2021-07-20T19:05:38","slug":"palo-alto-networks-globalprotect-and-azure-ad-aadsts700016-application-with-identifier-was-not-found-in-the-directory","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=11271","title":{"rendered":"Palo Alto Networks GlobalProtect and Azure AD &#8211; AADSTS700016: Application with identifier was not found in the directory."},"content":{"rendered":"<p><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Broken.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11272\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Broken.png\" alt=\"\" width=\"600\" height=\"266\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Broken.png 939w, https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Broken-300x133.png 300w, https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Broken-768x341.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><br \/>\nWhen setting up a GlobalProtect Portal\/Gateway with AzureAD you may find you receive the error message:<\/p>\n<blockquote><p>AADSTS700016: Application with identifier &lt;Entity ID&gt; was not found in the directory &#8216;&lt;Directory ID&gt;&#8217;.<\/p><\/blockquote>\n<p>The fix here is easy &#8211; the GlobalProtect client injects a :443 at the end of the domain name which isn&#8217;t mentioned in the guide from Microsoft (<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/saas-apps\/palo-alto-networks-globalprotect-tutorial\">https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/saas-apps\/palo-alto-networks-globalprotect-tutorial<\/a>) but is in the guide from Palo Alto Networks (<a href=\"https:\/\/knowledgebase.paloaltonetworks.com\/KCSArticleDetail?id=kA10g0000008U48CAE\">https:\/\/knowledgebase.paloaltonetworks.com\/KCSArticleDetail?id=kA10g0000008U48CAE<\/a>).<\/p>\n<p>Interestingly the Reply URL doesn&#8217;t specifically require it (although mentioned in the Palo Alto guide) but either way easy to fix.<\/p>\n<p><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Working.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11274\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Working.png\" alt=\"\" width=\"600\" height=\"140\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Working.png 766w, https:\/\/myworldofit.net\/wp-content\/uploads\/2021\/07\/Working-300x70.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When setting up a GlobalProtect Portal\/Gateway with AzureAD you may find you receive the error message: AADSTS700016: Application with identifier &lt;Entity ID&gt; was not found in the directory &#8216;&lt;Directory ID&gt;&#8217;. The fix here is easy &#8211; the GlobalProtect client injects a :443 at the end of the domain name which isn&#8217;t mentioned in the guide from Microsoft (https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/saas-apps\/palo-alto-networks-globalprotect-tutorial) but is&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=11271\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[24,20,22],"tags":[538,537,495,496,510],"series":[],"class_list":["post-11271","post","type-post","status-publish","format-standard","hentry","category-mobile-working","category-software","category-the-cloud","tag-azuread","tag-globalprotect","tag-palo-alto-networks","tag-pan","tag-pan-os"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/11271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11271"}],"version-history":[{"count":3,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/11271\/revisions"}],"predecessor-version":[{"id":11276,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/11271\/revisions\/11276"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11271"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=11271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}