Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
- This is a production-ready preview feature.
- Production-ready previews are subject to supplemental terms of use.
Applies To: Project Operations Integrated with ERP, Project Operations Core
The Approvals Agent is available as a production-ready preview in Microsoft Dynamics 365 Project Operations environments that have version 4.140.0.239 or later. An admin must complete the following steps to enable the approvals functionality of the Time and Expense Agent:
- Set up connections on the Microsoft Power Apps home page.
- Activate the agent trigger.
Set up connections on the Power Apps home page
To set up connections on the Power Apps home page, follow these steps:
- Sign in to Power Apps.
- Use the environment switcher at the top of the page to select the environment where the agents were installed.
- In the left pane, select Solutions.
- Filter the Solutions page for Managed solutions, and select Project Service Agent.
To view a list of connection references, follow these steps:
In the Objects pane, select Connection references.
Select the checkboxes for the Microsoft Copilot Studio and Microsoft Dataverse connection references.
On the command bar, select Advanced > Add to solution.
Select Common Data Services Default Solution.
Select Save.

After the connections are added to the default solution, select Back to solutions in the left pane.
Filter the Solutions page for Unmanaged solutions, and select Common Data Services Default Solution.
In the Objects pane, select Connection references.
The Microsoft Copilot Studio and Microsoft Dataverse connection references should be listed. Select the checkbox for Microsoft Copilot Studio, and then select Edit on the command bar.
In the dialog that appears, in the Connection section, select New connection.

A new tab appears and shows a list of connections. In the search field in the upper right, enter Copilot Studio.
In the search results, select the Create button (+) to the right of Microsoft Copilot Studio.

In the dialog that appears, select Create to create a connection to Copilot Studio, and sign in as the user that you want the agent to run as.
Note
The user who signs in for this connection is the user the agent acts as. This must be a real user with an Entra ID account (sign in must happen via OAuth and not as a service principal). The user that you sign in as must have the Time and Approval Agent security role, or another role that provides the same or greater privileges.
Return to the previous tab, and repeat the preceding steps for the Microsoft Dataverse connection reference to create a connection to Microsoft Dataverse.
Return to the Connection references page for the Common Data Services Default Solution solution.
In the dialog, in the Connection section, select the correct user.

Activate the agent trigger
To activate the cloud flow that acts as the agent trigger, follow these steps:
Return to the Project Service Agent solution.
In the Objects pane, select Cloud flows.
In the row for Approvals Agent trigger, select the three vertical dots, and then, on the menu, select Turn on.
