do I have to register a new app with my MS Account via https://apps.dev.microsoft.com
- or -
can I add simply a new application to my Azure Active Directory?
I'd like to use the OAuth2 Implicit flow to use Single Sign On with Microsoft Graph. I have created a new application via the Azure Portal in our Active Directory, enabled implicit flow "oauth2AllowImplicitFlow": true,
in the manifest and enabled multi-tenant environment.
The goal is to enable Single Sign On for Personal and Organizational accounts, essentially everyone with an MS account.
To authenticate and request new tokens I am using the common endpoint:
public const string AuthorizationEndPoint = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize";
public const string TokenEndpoint = "https://login.microsoftonline.com/common/oauth2/v2.0/token";
However I receive following error message:
In the Azure Portal I do see the failed sign-ins with following message.
FAILURE REASON The application named X was not found in the tenant named Y. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.
If the app registration credentials are being used, I can successfully authenticate. I'd prefer to have everything to be administrated and maintained through the Azure Portal.