Skip to main content

Connect PEX and OneDrive

To connect your PEX and OneDrive from the PEX Marketplace follow these steps:
2
Navigate to Apps > Available
3
Locate Connector for OneDrive.
4
Click More info > Install > Launch.
Note:To install the connector, you need to enable the following permissions: Edit business settings & apps, Manage cardholder, View card transactions. You can enable them in My Profile -> Permissions.
1
Once the app has launched for the first time click “Connect” on the right side panel to begin.
image.png
2
The app will request the following permissions to read your file structure. Click “Continue”.
image.png
3
You will be directed to “Sign In” or select an already signed in OneDrive account. Click “Accept” to give PEX permission to access your OneDrive.
image.png

Configure settings

1
Fill in following options:
  • Purchase Receipts. Select “Approved” or “All” transactions (“Approved” is recommended).
    • Start Date. This is the date to start syncing from.
    • End Date. This is the final date of sync.
    • Path Template. Customize how you would like your receipts to be displayed within your OneDrive folder. Click the arrow on the right side to select one of the different file options.
    • Automatic Sync. Enable this to sync receipts every hour.
2
Press “Sync Receipts”.
image.png
If there are no Start and End dates entered when you click “Sync Receipts”, the connector will default to the 1st day of the prior month. When automatic sync is on, the connector auto optimizes its dates to the same 1st day of the prior month.
To pause or stop syncing receipts from PEX into OneDrive, press the “Disconnect” button.
image.png

FAQ

On the history tab, there is a view of all receipts “total” and the total number that have been synced “processed”.
It will sync every time you click the “Sync Receipts” button.
Default OpenId scopes:
  • openid - The app receives a unique identifier for the user.
  • profile - Allows the app to see your users’ basic info (name, picture, user name).
  • email - Allows the app to see your users’ primary email address.
Additional OpenId scope:
  • offline_access - Allows the app to store and refresh its tokens used for API access.
Microsoft Graph Scopes:
  • User.Read - Allows users to sign-in to the app, and allows the app to read the profile of signed-in users. It also allows the app to read basic company information of signed-in users.
  • Files.ReadWrite.AppFolder - Allows the app to read, create, update, and delete files in the application’s folder. The user’s other files and folders are never accessed by the application.
  • Idle - PEX is not actively syncing to OneDrive (ad hoc syncs only)
  • Pending - PEX is connecting to sync automatically (each hour) to OneDrive
  • Syncing - PEX is syncing automatically (each hour) to OneDrive
The Start Date is max 1 year in the past.
The only limitation is up to 1 year in the past. The user could do however June 15 - December 15 2024 if they wanted to (assuming today is June 15, 2025).
We’ve incorporated feedback to come up with the most common types of configurations. Let us know if you have another preferred way to store receipts and we can update accordingly.
Previously synced receipts will not re-download if the file is already present in the PEX Receipts file hierarchy or if it has a sync note from being previously downloaded.
image.png
In order to re-download receipts, delete the sync note (shown above) on the relevant transactions and click “Sync Receipts” or wait for automatic sync to sync the receipts.
The disconnect button removes the connection between PEX and the OneDrive account. If you disconnect, receipts will no longer port over into OneDrive.

Support & Inquiries

For any questions related to your connector, please email appsupport+onedrive@pexcard.com
Last modified on April 22, 2026