Who still hasn’t approved?!
A simple question that’s not so easy to answer when it comes to using Power Automate Approvals. If you have pending approvals — especially those with multiple approvers where all must approve — there’s really no good out-of-the-box way to obtain this information. Sure, there are workarounds, such as tracking approvals in a custom list and syncing it with Power Automate, but this carries the risk of the data becoming out of sync with the “source of truth” in the Dataverse Approvals table.
Therefore I wanted to come up with a solution that will:
- Fetch the pending approval requests for the past 30 days
- Create a simple Canvas App to:
- Generate Sample Approval Requests
- View the Pending Approval Requests
- View the responses and pending approvers to a request
- Generate a to reminder email to approvers and a pending approvals summary report to admins

Why 30 days: The Power Automate Run Limitation
In all Power Automate flows the maximum timeout for a run is 30 days. It doesn’t matter what actions or connectors the flow is using, it can only be “live” for 30 days. This means, the user needs to respond to that approval action within that time-frame else it becomes stale. In the case of the Approval generated by the approvals connector, after the user takes a decision, typically the flow will have additional logic based on the outcome such as sending emails, updating a SharePoint list record, etc.
There are work-arounds to re-trigger a new flow run and new approval automatically once the original flow run times out out but that is outside the scope of this post. Look for a follow-up post in the future covering this. 😎
Understanding the Approval Tables and Relationships among them
Behind the scenes, the Approvals connector writes to Dataverse. It’s important to at least have a foundational understanding of the key out-of-the-box tables involved with approvals. The processes outlined below focus specifically on the following tables:
| Display Name | Logical Name | Description |
|---|---|---|
| Approval | msdyn_flow_approval | The parent record representing the overall approval request as a whole (e.g., “Approve Expense Report #123”). Holds the title and overall state/status of the approval. |
| Approval Request | msdyn_flow_approvalrequest | The child record — one row per approver (or per stage). If an approval has multiple approvers or stages, there will be multiple rows here, all linked back to the same parent Approval. |
| Approval Response | msdyn_flow_approvalresponse | The owner’s response and comments this is the actual decision text (e.g., “Approve,” “Reject”). This response record is only recorded once a decision has been taken. |
| User | systemuser | Users table which has a relationship to the owner of the approval request |
Power Automate Fetch Xml for pending approvals
The following FetchXML query is used within my Power Automate. It retrieves approval requests from the past 30 days, excluding reassigned (because a new approval request record would be generated for the newly assigned user). We link each approval request back to its parent Approval record — since one approval can generate multiple approval requests, for example when there are several approvers or stages — and we only keep requests whose parent approval is still active and in-progress Finally, we link to the System Users table to pull the name and email of the approver each request currently belongs to.
<fetch>
<entity name="msdyn_flow_approvalrequest">
<attribute name="createdon" />
<attribute name="msdyn_flow_approvalrequestid" />
<attribute name="msdyn_flow_approvalrequest_approval" />
<attribute name="msdyn_flow_approvalrequestidx_reassignedfromid" />
<attribute name="msdyn_flow_approvalrequestidx_stage" />
<attribute name="statecode" />
<attribute name="statuscode" />
<attribute name="ownerid" />
<attribute name="modifiedon" />
<attribute name="msdyn_flow_approvalrequest_reassignedfrom" />
<attribute name="msdyn_flow_approvalrequest_stage" />
<attribute name="msdyn_flow_approvalrequest_stepnumber" />
<attribute name="msdyn_flow_approvalrequestidx_approvalid" />
<attribute name="msdyn_flow_approvalrequestidx_owninguserid" />
<filter>
<condition attribute="createdon" operator="last-x-days" value="30" />
<condition attribute="statuscode" operator="ne" value="192350000" />
</filter>
<order attribute="createdon" descending="true" />
<link-entity name="msdyn_flow_approval" from="msdyn_flow_approvalid" to="msdyn_flow_approvalrequest_approval" alias="appr">
<attribute name="msdyn_flow_approvalid" />
<attribute name="msdyn_flow_approval_title" />
<attribute name="statecode" />
<attribute name="statuscode" />
<filter>
<condition attribute="statecode" operator="eq" value="0" />
<condition attribute="statuscode" operator="eq" value="192350001" />
</filter>
</link-entity>
<link-entity name="systemuser" from="systemuserid" to="owninguser" alias="usr">
<attribute name="firstname" />
<attribute name="fullname" />
<attribute name="lastname" />
<attribute name="internalemailaddress" />
</link-entity>
</entity>
</fetch>
I use this query in a Power Automate to return this data to both my Approvals Management Canvas App as well as a scheduled flow to email a report on pending requests. More on that in the next section.

Approvals Management Canvas App Overview
For a “quick and dirty” way to generate sample approval requests as well as manage existing ones, this Canvas Application will do just that.
Create Approval is exactly what it sounds like — it’s a simple widget to generate mock approval requests. You select the requestor and the user(s) to approve. If you have multiple approvers, check the box “All Must Approve” to require everyone’s sign-off before the request counts as fully approved; otherwise, the first approver who responds wins. Then, you can select a sample task for approval. Click “Generate Approval Request” and away it goes! Power Automate will trigger to send the sample out.

The Pending Approvals screen provides a grid-like experience to fetch the pending approvals using the aforementioned query and allows the user to filter based on days old as well as search.

To get further details on who has approved versus who is still pending, clicking the right arrow will reveal those details. There’s additional logic going on that need to fetch the associated Approval Responses from the Approval Responses table and compare it to those who responded vs have not to produce the results. This is done by querying the Approval Responses table (which shows who has submitted a response) and comparing it against the total number of approvers assigned to the request. I make this call in the OnSelect of the right arrow:
Set(
varApprovalId,
ThisItem.ApprovalRequestId
);
// Fetch the Approval Response Records
ClearCollect(
colApproverResponses,
Filter(
'Approval Responses',
Approval.Approval = GUID(varApprovalId)
)
);
// Create New Collection to Add columns to extract the Responder's Name
ClearCollect(
colApproverRequestResponders,
ShowColumns(
AddColumns(
colApproverResponses,
ResponderName,
ThisRecord.'Owning User'.fullname,
ResponderEmail,
ThisRecord.'Owning User'.internalemailaddress,
HasResponded,
true
),
ResponderName,
ResponderEmail,
Approval,
Response,
'Created On',
Comments,
'Owning User',
HasResponded
)
);
// Create a Table of the Approvers on the request
With(
{
varNames: Split(
ThisItem.ApproverNames,
", "
),
varEmails: Split(
ThisItem.ApproverEmails,
", "
)
},
ClearCollect(
colThisApprovalAllApprovers,
ForAll(
Sequence(CountRows(varNames)),
{
Approver: TrimEnds(
Index(
varNames,
Value
).Value
),
Email: TrimEnds(
Index(
varEmails,
Value
).Value
)
}
)
)
);
// Filter to determine which of the approvers hasn't actioned
ClearCollect(
colApproversNoResponse,
Filter(
colThisApprovalAllApprovers,
!(Approver in colApproverRequestResponders.ResponderName)
)
);
// Add the Non-response approvers to the shaped Collection
ForAll(
colApproversNoResponse As A,
Collect(
colApproverRequestResponders,
{
ResponderName: A.Approver,
ResponderEmail: A.Email,
HasResponded: false
}
)
);
Navigate(
'Approval Responses Screen',
ScreenTransition.None,
{
ctxApprovalTitle: ThisItem.Title,
ctxApprovalId: ThisItem.ApprovalRequestId
}
)
From there, the user can elect to send a reminder email to a user who has yet to approve.

Approval Reminders and Summary via Power Automate
Sending ad-hoc reminders to pending approvers is fine and all but to take it a step further, I also constructed a Power Automate on a scheduled trigger that will send a simple html report out to the users pending an approval; complete wither deep link to the Power Automate Approval where they actually go to make their approval decision. The administrator email, configured in the solution, will also receive an e-mail summary.

Get the Solution
See my GitHub here to review the ReadMe and solution file for install.
