Error: URL for application is not defined.

Axel 21 Reputation points
2022-10-10T09:01:41.493+00:00

Hello,

I despair of getting my app registration "SSO Test" to work.
What I want to do:
The user sees on myapps.microsoft.com the app "SSO Test". When he clicks on it, I want the OpenID Connect workflow to start.
Unlike described here (https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc), I don't want the user to come to my site first and then I redirect him to his Azure Active Directory, because the application should have multiple OpenId Connect providers later and the whole thing has to be multi-tenant as well (i.e. multiple customers with their own Azure Active Directories and thus their own App registrations).
However, I always get the following error (sorry is translated from German):
You cannot access this application because it is misconfigured. Contact your IT department with the following information:
Login URL for application "SSO Test" is not defined.

The redirect URI is set to http://127.0.0.1/test/sso/login.php. As recommended in the doc here, I have set the URI direct in the manifest: https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url
I had also set the redirect URI to "real" domains, but always get the same error.

I am working with Azure Active Directory for the first time and I am sure that I have configured something wrong somewhere.
I hope you can help me.

Greetings

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,362 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 33,706 Reputation points Microsoft Employee
    2022-10-21T21:42:39.677+00:00

    Hi @Axel ,

    Thanks for your post and apologies for the delayed reply!

    The Sign-on URL/Home page URL is different from the Reply URL and is specified on the app registration's "Branding" page in the "Home page URL" field. Based on the error message it sounds like it is missing from your registration, or there is a mismatch between the app registration configuration and a reference in the app itself. You can set that URL in the Branding section here:

    253109-image.png

    Let me know if this helps or if you still face this issue.

    -

    If the information helped you, please Accept the answer. This will help us and other community members as well.


0 additional answers

Sort by: Most helpful