Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Failed to save Auth settings Easy Auth Azure Authentication

When I tried to configure a a URL into the ALLOWED External Redirect URLS text box, as shown in Figure 1, I received the following error.

Failed to save Auth Settings for authenticated App: {"Code":"Conflict","Message":"Cannot update the site '******' because Authentication / Authorization was configured with an invalid external redirect URL '***.***.***.***'. All configured URLs must be well-formed and absolute.","Target":null,"Details":[{"Message":"Cannot update the site '*****' because Authentication / Authorization was configured with an invalid external redirect URL '***.***.***.***'. All configured URLs must be well-formed and absolute."},{"Code":"Conflict"},{"ErrorEntity":{"Code":"Conflict","Message":"Cannot update the site '*******' because Authentication / Authorization was configured with an invalid external redirect URL '***.***.***.***'. All configured URLs must be well-formed and absolute.","ExtendedCode":"04524","MessageTemplate":"Cannot update the site '{0}' because Authentication / Authorization was configured with an invalid external redirect URL '{1}'. All configured URLs must be well-formed and absolute.","Parameters":["******","********"],"InnerErrors":null}}],"Innererror":null}

The initial thought was that because the domain I was trying to add was a multi-subdomain format like:  public.admin.contoso.com that for some reason wasn’t liking that.

What I figured out, was that it needs to have HTTP/HTTPS included with the hostname.  I binged for some answer and found nothing so I then had to troubleshoot it myself and this is what I found.  So maybe by writing this one it will save them some minutes.

#EasyAuth #RedirectUrls #AzureAuthentication

Figure 1, Invalid External Redirect URL, Azure App Service

I got a different error in the old portal…Figure 2

Figure 2, the reply URL must be a valid URL

Share the post

Failed to save Auth settings Easy Auth Azure Authentication

×

Subscribe to Msdn Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The Msdn Blogs.

Get updates delivered right to your inbox!

Thank you for your subscription

×