I have registered one app in Azure and teh authentication type is delegated permission type. Now, I am trying to get the access token and below are details of the request.
POST Request
Endpoint: https://login.microsoftonline.com/{{DirectoryIDforPO}}/oauth2/v2.0/token
{{DirectoryIDforPO}}:12345678-f82d-4cc0-bebd-aa8a6f4f6c58
Authorization Body:
Key Value
grant_type password
scope https://graph.microsoft.com/.default
username <<User email>>
password <<User password>>
While executing the same I am getting error saying Invalid Client ID.
Kindly suggest what I am missing here.
Thanks in advance!