For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to set up the Excel 365 integration

Connect Excel 365 so values from your workbooks flow into journey map metric cards.

An Admin connects Excel 365 once at the account level. After that, anyone in the workspace can build metrics from the workbooks in your OneDrive or SharePoint.

Set up the Excel 365 integration

Prerequisites

In Smaply, go to Account Settings > Integrations and click Set up next to Office 365 Excel.

Configure Excel page in the unconfigured state. The left pane shows Select integration type with Service account selected and marked Recommended, and Login with your Office 365 account (oAuth) below it. The right pane shows Office 365 Service Account with a How to setup Office 365 Excel service account info panel and empty Tenant ID, Client ID, and Client Secret fields above a Save Service Account button.
Configure Excel, unconfigured

The Configure Excel page opens with two options under Select integration type: Service account (selected by default and marked Recommended) and Login with your Office 365 account (oAuth). Switching the method later disconnects the current one, so pick the one that fits before you save:

  • Service account (recommended) - Server-to-server access through a Microsoft Entra ID app, so the connection isn't tied to one person's login. Best when your team shares the Smaply account.

  • OAuth - Signs Smaply in as one person and reads the Excel files that account can already open. Simpler when only one person needs the data.


Verify the setup

Open the Configure Excel page and confirm it shows the connected state. Then create a test metric with Source set to Excel (Office 365): if the Spreadsheet picker lists your workbooks, the connection is working.

If the picker stays empty or you see a connection error, see Troubleshooting below.


Use Excel 365 in a metric

With the connection in place, anyone in your account can add Excel 365 data to a metric card on any journey map. See How to use Excel 365 in a metric for the field mapping and how to pick a workbook and sheet.


Troubleshooting

The Integrations tab in Account Settings shows the integration's current state. Pick the symptom below that matches what you're seeing.

Connection Failed or Connection Error banner - Connection issue

A red banner on the Configure Excel page means Smaply cannot reach Office 365 with the stored credentials.

  • For service account: re-check the Tenant ID, Client ID, and Client Secret values for typos or trailing whitespace, and confirm the client secret hasn't expired in Microsoft Entra ID.

  • For OAuth: click Connect Office 365 Excel again from the Configure page. The token may have expired or been revoked.

The Spreadsheet picker is empty or shows no workbooks - Permissions issue

The connection succeeds but no workbooks appear when you build a metric.

  • For service account: confirm you granted admin consent for the Files.Read.All Microsoft Graph permission. Without the grant, Smaply authenticates but can't read any files.

  • For OAuth: confirm the signed-in Microsoft account has access to at least one Excel file in OneDrive or SharePoint.

Metrics that worked previously have stopped pulling - Token revoked

Metrics that worked before now show errors and stop pulling data.

  • For OAuth, the usual cause is the grant being revoked, either by signing out of Microsoft everywhere or by an admin removing the Smaply app. Open the Configure Excel page and click Connect Office 365 Excel to re-establish the grant.

  • If the same person keeps losing the connection, switch to a Service account so it isn't tied to one Microsoft session.

A metric returns no data or unexpected values - Data issue

The connection works but the metric returns nothing or values that don't look right.

  • Confirm the workbook and sheet the metric points at still exist with the same names. Renaming or moving a file in OneDrive or SharePoint breaks the metric until it's re-pointed.

  • Confirm the data values you mapped still sit in the same columns in the source workbook.

For wider questions about how integrations behave across tools (refresh frequency, switching auth, what happens on disconnect), see How to manage integrations.

Still not working? Contact support at help@smaply.com


Last updated