Install and set up the Expense Reimbursement template

As a Power Platform admin, you install, set up, and deploy the Expense Reimbursement template solutions for your organization. This article covers the following steps:

Step 1: Review prerequisites

Make sure that you have the required license and an environment and data policy in place before you start.

Confirm licensing

Make sure that your organization has the necessary licensing to use enterprise templates. Power Apps usage rights that are included with Microsoft 365 and Office 365 licenses aren't sufficient. You need one of the following Power Apps plans:

  • Power Apps Premium
  • Power Apps per app
  • Power Apps per app pay-as-you-go-meter
  • Power Apps use rights included with Dynamics 365 licenses

Tip

A free Power Apps Developer Plan is a great way to install the template for evaluation purposes.

More license details are available in the Microsoft Power Platform Licensing Guide.

Create environment and data policies

It's important to have a cohesive environment and data policy and to ensure required resources in place.

Step 2: Create connections

Cloud flows need specific connection references to work correctly. Connection references are included in the solution, but connectors often need to be set up manually. You need to set up three new connections for the Expense Reimbursement app.

It's best to create the connections before you import the solution. If you create the connections during import, you have to jump back and forth between browser windows.

  1. Sign in to Power Apps.

  2. Go to Connections and select + New Connection to create new connections with each of these connectors:

Learn how to manage connections in canvas apps.

Step 3: Create approvals database

The Expense Reimbursement solution leverages Power Automate Approvals to approve or reject requests.

By default, Power Platform environments aren't set up with the required database for approvals. The database is created the first time a flow with the Approvals connector is run in that environment by an administrator.

Take these steps to create the database for approvals:

  1. Go to the Power Automate maker portal and select your targeted deployment environment.
  2. Select + Create on left pane.
  3. Select Instant cloud flow underneath the Create from blank section.
  4. Choose Manually trigger a flow and then select Create.
  5. Select + New step.
  6. Search on Approvals and choose Create an approval.
  7. Enter the following properties on the Create an approval step:
    • Approval typeApprove/Reject – First to respond
    • TitleTest
    • Assigned toselect your email address
  8. Select Save.
  9. Select Test Manually and then Test again.
  10. Select Continue and then Run flow, followed by Done.
  11. Delete the flow you just created, as it is no longer needed.

Learn how to get started with Power Automate approvals.

Note

It can take a few minutes for the database provisioning to complete, and you'll notice this delay the first time you run this flow. Once you complete this first-time flow run, subsequent approval flows will be faster.

Step 4: Install solution files

You have two options for installing the Expense Reimbursement template:

Tip

Go to the Templates-for-Power-Platform GitHub project site to log your questions or issues and get support for the Expense Reimbursement template.

Install from AppSource

AppSource is a Microsoft digital storefront. Take these steps to go through the AppSource install process:

  1. Go to the Expense Reimbursement template in AppSource and select Get it now.

  2. In the Install Expense Reimbursement window in the Power Platform admin center, select the developer environment that you prepared in the review prerequisites step.

  3. Agree to the Terms and Privacy statements when prompted.

  4. Select Install. Two solutions are installed in your environment:

    • Employee Experience Base
    • Expense Reimbursement.

    Go to the Expense Reimbursement overview article to learn more about the two solutions.

Download and manually install solution files

  1. Download solution files.

  2. Sign in to Power Apps and select the environment you prepared in the review prerequisites step.

  3. In the left pane, select Solutions.

  4. Select Import solution, and then find and select the mpa_EmployeeExperienceBase file you downloaded.

  5. Select Next, and then select Import.

  6. After you receive the message that the import was successful, repeat steps 4 and 5 to import the mpa_ExpenseReimbursement file you downloaded.

  7. Select Next and Next again.

  8. For each of the connections listed, select the connection that was created in the import steps.

  9. Select Next.

  10. Skip the environment variable setup for now. The required URL values only become available after the apps are imported into the environment.

  11. Select Import to start importing the Expense Reimbursement solution.

Step 5: Assign Security Roles

The Expense Reimbursement solution contains two security roles.

  • Administrator: Assign this role to users who need access to the expense reimbursement data in the model-driven administration app. Admins can:

    • View expense reimbursement data
    • Process expense reimbursements
    • Create new refund categories and programs
    • Delete expense reimbursement data
  • User: Assign this role to all users who will view and submit expenses through the Expense Reimbursement canvas app.

All licensed users, whether or not they're members of a security group, must have a security role assigned. If users don't have a security role, they get a "data access denied" error when they try to run the app. Users can't access environments until they're assigned at least one security role for that environment.

Assign security roles in the Power Platform admin center.

  1. Sign in to the Power Platform admin center.

  2. In the left side panel, select Environments.

  3. Select the environment where the solution is installed.

  4. Select Users > See all.

  5. Select user(s), select Manage security roles, and then select the appropriate roles for each user.

  6. Select Save.

Want to learn more about setting up and managing users? Start here:

Step 6: Turn on cloud flows

Verify that the cloud flows are turned on in the newly installed Expense Reimbursement solution. Turn on any flows that are not already set to on.

  1. In Power Apps, in the left side panel, select Solutions.

  2. Select the Expense Reimbursement solution.

  3. In the left side panel, select Cloud flows.

  4. Select each of the four flows and make sure it's turned on.

Step 7: Share the apps

Share the Expense Reimbursement app with the users in your organization.

Tip

Share the app with the Expense Reimbursement program managers first so that they can configure the app to meet your organization's needs. After that configuration is complete, share the app to the wider organization.

  1. Go to Power Apps and select the environment that contains the solution.

  2. In the left side panel, select Solutions.

  3. Select Expense Reimbursement.

  4. In the left side panel, select Apps.

  5. Select the Expense Reimbursement canvas app and select More actions () > Share.

  6. Search for and select the security group or individuals who need access to the app. You can also verify user security roles here.

  7. Add an optional email message.

  8. Select Share.

    More information: Learn how to share a canvas app with your organization.

Note

If the Expense Reimbursement app isn't shared with you and you can't access it directly in Power Apps, contact your administrator.

Step 8: Enable Copilot (optional)

Copilot for model-driven apps in Power Apps is a next-generation AI assistant for app users to get insights about the data in their apps through conversation in natural language. As an expense reimbursement program administrator or reviewer, leverage Copilot to help you get insights on the expense reimbursement data while taking action. Follow these steps to turn Copilot on within your environment:

  1. Go to Power Platform admin center.
  2. Select Environments on the left pane and then select the environment where the solution was installed.
  3. Ensure the environment Release Channel is set to Monthly by following the Changing release channels for model-driven apps guidance.
  4. Select the Settings.
  5. Expand the Product section and select Features.
  6. Underneath the Copilot section, change the Allow users to analyze data using an AI-powered chat experience in canvas and model-driven apps to On.

Learn how to use Copilot chat in model-driven apps

Step 9: Turn on auditing (optional)

Auditing isn't required, but we recommend turning it on so that it's easy to see who creates and updates records in the future.

  1. Go to the Power Platform admin center and select the environment where the solution is installed.

  2. Select Settings, and then select Start Auditing.

Next step

Learn how to manage the Expense Reimbursement app.

See also

Get started using the Expense Reimbursement app