AUTOMATE NOW
  • Connection guide
  • Microsoft OneDrive Excel
  • HexaSync

Get started with Excel in Microsoft OneDrive on HexaSync

Connect Microsoft OneDrive to HexaSync with Microsoft sign-in to read one Excel worksheet in OneDrive for Business, re-authorize access and fix errors.

HexaSync TeamLast updated

This guide helps you connect Microsoft OneDrive to HexaSync Automation Engine to read data from one Excel worksheet in OneDrive for Business. The guide applies when you connect for the first time or re-authorize a Microsoft OneDrive Excel Connector App that is in use. This connection is meant for assessing data quality before you connect to another system.

Before you start

  • A Beehexa account. If you do not have one yet, sign up on the same page.
  • A Microsoft 365 work or school account.
  • An Excel file in .xlsx format stored in OneDrive for Business.
  • If your organization allows only administrators to approve applications: a Microsoft 365 administrator to approve HexaSync once.

Note:

  • Personal Microsoft accounts such as outlook.com, hotmail.com or a personal OneDrive are not supported.
  • A .csv or .xls file must be saved again as an Excel Workbook (.xlsx).
  • HexaSync requests permission to read your basic profile, your email address and the files your Microsoft account can access. HexaSync only reads the Excel file; the content of the file is not changed.

Part 1: Connect Microsoft OneDrive and create the Connector

Step 1: Sign in to HexaSync

Step 2: Start connecting Microsoft OneDrive

  1. Open the Microsoft OneDrive Excel Connector setup page.
  2. On the Check connection details screen, select Connect on the Microsoft OneDrive item.
  3. Keep the preselected HexaSync application, then select Continue.

Step 3: Sign in to Microsoft and authorize access

  1. Select Continue to Microsoft. HexaSync takes you to the Microsoft sign-in page.
  2. Select your work account, or select Use another account to sign in with a different account.
  3. On the Permissions requested screen, select Accept. HexaSync asks only for permission to read your basic profile, your email address and the files you can access.
  4. Microsoft returns you to HexaSync. When Microsoft OneDrive has the status Connected, select Create Microsoft OneDrive Excel Connector.

If Microsoft asks for administrator approval: Before you sign in to Microsoft, copy the Admin approval link for HexaSync on the HexaSync screen and send it to your Microsoft 365 administrator. The administrator opens the link and approves the application for the organization. After it is approved, start the connection flow again.

Step 4: Choose the Excel file

  1. Select Choose a file from OneDrive.
  2. Open the folder that contains the file, select the .xlsx file, then select Select. You can use the Search in My files field to search by file name.
  3. If a colleague shared the file with you, open the file in Excel, select Share › Copy link, then paste the link into the Or paste a link to the file field.
  4. In Worksheet, select the worksheet to read.
  5. In Header row, select the row that contains the column names. The list shows the content of each row so that you can identify the header row.
  6. Select Continue.

Step 5: Confirm and create the Connector

  1. On the Your New Connector screen, HexaSync names the Connector after the Microsoft account, for example [lan.nguyen@acme.example] Microsoft OneDrive Excel Connector.
  2. Check the file, the worksheet and the header row, then select Create connector.
  3. Wait for HexaSync to create the Connector App. This can take a few minutes; stay on the page while you wait.

Step 6: Finish setup

After setup, HexaSync opens the Connector App you just created. The Connector App has this task:

  • Excel Rows: reads the data rows in the worksheet you selected.

Open Connector Apps to see the Connector App you just created, then check the connection status and the data by following Part 3.

Part 2: Re-authorize the Microsoft OneDrive connection

Re-authorize when the Microsoft password has changed, HexaSync’s access was revoked or the Excel Rows task reports an authentication error. Update the Connector App that is in use; do not create a new Connector App only to fix an access error.

Step 1: Open the Connector’s Settings

  1. Open Connector Apps and select the Microsoft OneDrive Excel Connector App you use.
  2. Select Settings in the left menu, then open Integration Apps & Credentials.

Step 2: Select Re-authorize

  1. On the Microsoft OneDrive row, select Re-authorize.
  2. Follow the instructions on the screen to sign in to Microsoft and re-authorize access as described in Step 3 of Part 1.

Cannot Re-authorize? Only the owner of the Microsoft OneDrive Credential can Re-authorize. Contact the owner of the Credential to re-authorize access.

Note: Sign in with the same Microsoft account you used when you first connected. If you want to switch to a different Microsoft account, create a new Connector App.

Part 3: Check that the connection works

Check the connection details

  1. Open Connector Apps and select the Microsoft OneDrive Excel Connector App you just created.
  2. Select Settings, then open Integration Apps & Credentials.
  3. Confirm that the Microsoft OneDrive row has the status Connected.

Check the data

  • Excel Rows: the first run reads all the rows below the header row. Check that a few rows match the Excel file.
  • Updates: when the file is edited and saved in Excel, the data is updated, usually within 1 to 2 minutes.
  • A file that someone else shares from their OneDrive: Microsoft does not send change notifications, so HexaSync checks that file every 15 minutes.

Note: If a change notification from Microsoft arrives late or is lost, HexaSync still checks the file again periodically.

Part 4: Common errors and how to fix them

Message Possible cause How to fix it
Need admin approval Your organization requires an administrator to approve the application. Send the Admin approval link for HexaSync to your Microsoft 365 administrator. After it is approved, start the connection flow again.
You signed in with a different Microsoft account You are signed in with an account other than the one linked to the Connector App. Connect again with the original Microsoft account. Select Use another account if you need to change the sign-in account.
Microsoft’s sign-in expired or was already used The sign-in session has expired or the sign-in link was already used. Start the connection flow again and complete the sign-in right after Microsoft opens the authentication page.
The file is in SharePoint instead of OneDrive Microsoft reports that the file is in a SharePoint site, not in OneDrive. Use the Microsoft SharePoint Excel Connector for a file in SharePoint or a Teams channel.
The file is not .xlsx The file has an unsupported format, such as .csv or .xls. Open the file in Excel, save it as an Excel Workbook (.xlsx), then choose the file again.
Connector Quota Reached The account has reached its limit on the number of Connector Apps. Contact support@beehexa.com for help with raising the limit.

For other cases, send a screenshot (with confidential information hidden) to support@beehexa.com.

Part 5: Protect your information and stop the connection

HexaSync does not store your Microsoft password. Microsoft grants HexaSync read access for the items you accepted, and you can revoke this access at any time.

To stop the connection:

  1. Ask Beehexa to turn off the run schedule and disconnect in HexaSync.
  2. Revoke HexaSync’s access at myapps.microsoft.com, or ask your Microsoft 365 administrator to remove the HexaSync application in the Microsoft Entra admin center.

Note: Turning off the run schedule does not mean the access is revoked. Stopping the connection does not automatically delete the data already pulled into HexaSync.

Part 6: Information to send Beehexa when you need support

  • The email address of the connected Microsoft account, the Connector name, the Excel file name and the worksheet.
  • The step you were on, when the error happened, the error message and the Technical details section if there is one.
  • Recent changes to the file (renamed, moved, sharing permissions changed) or to the Microsoft account.

Screenshots must hide confidential data. Contact the Beehexa contact who supports your company, or support@beehexa.com. See also the Beehexa Privacy Policy and the Beehexa Support Policy.

Part 7: Frequently asked questions

Does HexaSync write or change data in the Excel file in OneDrive?

No. HexaSync only reads the rows of the worksheet you selected, and the content of the Excel file is not changed.

How do I connect Excel in Microsoft OneDrive to HexaSync?

Open the Microsoft OneDrive Excel Connector setup page, sign in to Microsoft and select Accept, choose the Excel file, the worksheet and the header row, then select Create connector.

How often is the data updated?

When the file is edited and saved in Excel, the data is updated, usually within 1 to 2 minutes. For a file that someone else shares from their OneDrive, Microsoft does not send change notifications, so HexaSync checks that file every 15 minutes. If a change notification arrives late or is lost, HexaSync still checks the file again periodically.

What happens if I rename or move the file?

HexaSync still finds the file if it stays in the same storage location and your account can still open it.

Which connector do I use if my file is somewhere else?

For a file in OneDrive, use the Microsoft OneDrive Excel Connector. For a file in a SharePoint site or a Teams channel, use the Microsoft SharePoint Excel Connector. If you are not sure where the file is, use the Microsoft 365 Excel Connector.

Can I switch an existing Connector App to a different Excel file?

No. Each Connector App connects to 1 Excel file only. Create a new Connector App for a different Excel file.