We are looking for a Search query for Pending Access Requests which were created, which will export the Assigned To manager name, along with the Requested For employee name, and the name of the Access Profile in the request

We are looking for a Search query for Pending Access Requests which were created, which will export the Assigned To manager name, along with the Requested For employee name, and the name of the Access Profile in the request. The goal is to get a list of the managers who are holding up the approval process so we can contact them directly.

1 Like

Have you tried below API call?

Something like this (PowerShell SDK, one line):
Get-v2024PendingApprovals | select requestCreated, @{name="Access Object Name";expression={$_.requestedObject.name}},@{name="Access Object Type";expression={$_.requestedObject.type}},@{name="Approver Name";expression={$_.owner.name}} | where "Access Object Type" -eq "ACCESS_PROFILE"

Sort it as you see fit. Add additional where conditions as required.

Let me try and provide one query for you.

If you're trying to fetch Pending Access Requests in SailPoint IdentityNow (Identity Security Cloud) along with: Requested For (employee name)
Assigned To (manager/approver name)
Access Profile name

You can do this using a Get request to the following API:

https://<your-tenant>.api.identitynow.com/v2025/access-request-approvals/pending
(Replace <your-tenant> with your actual tenant URL.)

{ "indices": ["access-request"], "query": { "query": "status:PENDING" }, "includeNested": true, "fields": [ "requestedFor.displayName", "assignedTo.displayName", "accessItems.accessProfile.displayName" ], "sort": [ { "created": { "order": "desc" } } ] }

Can we get any search query

getting error

If you're trying to fetch Pending Access Requests in SailPoint IdentityNow (Identity Security Cloud) along with: Requested For (employee name)
Assigned To (manager/approver name)
Access Profile name

You can do this using a Get request to the following API:

https://<your-tenant>.api.identitynow.com/v2025/access-request-approvals/pending
(Replace <your-tenant> with your actual tenant URL.)

{ "indices": ["access-request"], "query": { "query": "status:PENDING" }, "includeNested": true, "fields": [ "requestedFor.displayName", "assignedTo.displayName", "accessItems.accessProfile.displayName" ], "sort": [ { "created": { "order": "desc" } } ] } - it worked out