I am doing a POC on graphapi to read calendar details. Since it is for a desktop app I am using Username/Password for authorization. Below are the details.
All the users are federated under our tenant.
we are trying to call Graph API endpoint with the delegated protection type. Can you please let me know which Authentication protocol should use to retrieve the data from GraphAPI. I have gone through the Authentication protocol looks like ROPC (Resource Owner Password Credential ) approach suits our requirement ,but with ROPC I am facing the below mentioned issue. Please let me know what is the available option we can go for. As a collective decision, tenant will not provide application permission
access due to security reasons, all we can go for delegated permission type and I want to access the GraphAPI endpoint via API.I am able to access the GraphAPI endpoint from Microsoft Graph explorer but I couldn't access from postman.
Error:
"error": "invalid_grant",
"error_description": "AADSTS50126: Error validating credentials due to invalid username or password.\r\nTrace ID: 1ca8efbe-7673-4a5d-8b2f-aae5ec360604\r\nCorrelation ID: 00e302c6-b650-4228-8618-5a4d9706b990\r\nTimestamp: 2021-05-06 15:30:26Z",
"error_codes": [
50126
],
