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
In Smaply, go to Account Settings > Integrations and click Set up next to Office 365 Excel.

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.
Plan availability
Service account auth is available on the Governance plan. OAuth auth (the other tab) is available on all plans that include metrics integrations.
The service account is a Microsoft Entra ID app registration that connects to your files through Microsoft Graph. You register the app, grant it one Graph permission with admin consent, create a client secret, and enter three credentials in Smaply.
Keep the Configure Excel page open in another tab. You'll come back to it at the end to enter the credentials.
Register an app in Microsoft Entra ID
In the Azure portal, open Microsoft Entra ID > App registrations and click + New registration.
On the Register an application page, give the app a recognisable name (for example, Smaply Office 365 connector), choose Accounts in this organizational directory only (Single tenant), leave the Redirect URI blank, and click Register.

For full background on app registrations, see Microsoft's quickstart on registering an application.
Assign the Microsoft Graph permission
On the registered app, open API permissions and click + Add a permission. Choose Microsoft Graph, then Application permissions, tick Files.Read.All, and click Add permissions.

Smaply only needs Files.Read.All. The screenshot above also lists User.Read (added automatically by Azure) and User.Read.All; you don't need to add User.Read.All for this integration.
Back on the API permissions page, click Grant admin consent for [your directory] and confirm in the dialog.

Create a client secret
In the same app, open Certificates & secrets, and on the Client secrets tab click + New client secret. Give it a description and an expiry, then click Add.

Copy the secret Value immediately.

Enter the credentials in Smaply
Open the registered app's Overview page and copy the Application (client) ID and the Directory (tenant) ID.
Return to the Configure Excel page in Smaply and paste the values into the three fields:
Tenant ID - The Directory (tenant) ID from the app overview.
Client ID - The Application (client) ID from the same page.
Client Secret - The secret Value you copied when you created the client secret.

Click Save Service Account.
OAuth signs Smaply in as you. The connection reads the Excel files your Microsoft account can already open in OneDrive or SharePoint, and tokens are tied to your individual access.
Choose Login with your Office 365 account (oAuth)
On the Configure Excel page, select Login with your Office 365 account (oAuth). The right pane changes to Connect Office 365 Excel with a three-step info panel and the Connect Office 365 Excel button.

Click Connect Office 365 Excel. Smaply redirects you to Microsoft.
Sign in and grant permissions
Sign in with the Microsoft account that can open the Excel files you want to use in Smaply. On Microsoft's consent screen, review the permissions Smaply requests:
Read all files that you have access to
Sign you in and read your profile
Optionally, Consent on behalf of your organisation (only available to admins)

Click Accept. If your organisation requires admin approval for third-party apps, the consent screen tells you to ask an admin instead, and the connection completes once an admin approves it.
Authorise the connection
Microsoft sends you back to Smaply and the Configure Excel page shows the connected state. Smaply refreshes OAuth tokens automatically, so you don't need to sign in again unless the token is revoked.
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.
For wider questions about how integrations behave across tools (refresh frequency, switching auth, what happens on disconnect), see How to manage integrations.
Related topics
Last updated