I am trying to allow access to our web application using OAuth 2.0 and Azure AD. The manual is here .
The user is redirected to a similar URL:
https://login.microsoftonline.com/common/oauth2/authorize? client_id=d220846b-1916-48d2-888b-9e16f6d9848b& response_type=code& response_mode=query& state=[secure-random]& redirect_uri=[my_uri]& resource=[my app ID uri taken from app settings]
I get the following error:
AADSTS90009: The application 'd220846b-1916-48d2-888b-9e16f6d9848b' is requesting a token for itself. This scenario is only supported if the resource is specified using a GUID-based application identifier.
This description does not really help me. I checked this thread , but I'm still lost.
What does this error mean and which is a GUID-based application identifier? What should the value of the resource look like? Thank you very much.
source share