Hi everyone,
We’re trying to generate a Temporary Access Password (TAP) for a Microsoft Entra account using the Microsoft Graph API within a SailPoint workflow. The issue arises when making the HTTP request to the API.
We’re using OAuth 2.0 for authentication, with the following details:
- Token URL:
https://login.microsoftonline.com/{{Tenant ID}}/oauth2/v2.0/token - Client ID and Client Secret These credentials were configured in the Connection Settings for the Microsoft Entra source for which we want to generate the TAP.
- API URL to generate TAP:
https://graph.microsoft.com/v1.0/users/{{USER ID}}/authentication/temporaryAccessPassMethods - Method: POST
- Header: The only header parameter is
Content-Type: application/json.
Despite following the Microsoft Graph API documentation, we get an “Error request failed” with no further details on the cause. We’ve tried using different formats for client_id, client_secret, and scope in the request body, but still no success.
Has anyone faced a similar issue or have suggestions on what might be missing in the request? Any help would be appreciated!
Thanks!