OneDrive Error Codes

Fix Power Automate Error AADSTS700016 for Personal OneDrive Excel Files

Steve KSteve K Oct 8, 2026 868 views

Question details

Users need to resolve error AADSTS700016 in Power Automate when a flow tied to a work account attempts to access an Excel file in a personal OneDrive.

Fix Power Automate Error AADSTS700016 Connecting to Personal OneDrive
Product
Power Automate & OneDrive
Device & OS
not provided
Scenario
A user is running a Power Automate flow using a work tenant account, which needs to read or edit an Excel file stored on a personal OneDrive account.
Observed behavior
The flow execution fails, returning the error code AADSTS700016, preventing access to the personal OneDrive Excel file.
Before you start

Verify that you have the correct login credentials for both your Microsoft 365 work account and your personal OneDrive account, and ensure the target Excel file has not been moved or deleted.

Solution 1Recommended

Refresh and Re-authenticate the OneDrive Connection

Connection tokens can expire or become corrupted. Re-authenticating your personal OneDrive account within Power Automate can often clear the error.

1
Navigate to Data Connections

Log into Power Automate. On the left navigation pane, click on 'Data' and then select 'Connections'.

2
Update Credentials

Find your personal OneDrive connection in the list. Click the three dots (More commands) next to it, and select 'Switch account' or 'Update credentials'.

3
Sign In and Save

Enter your personal Microsoft account credentials to re-authenticate. Once connected, open your flow in edit mode, ensure the refreshed connection is applied to your Excel actions, and click 'Save'.

Refresh and Re-authenticate the OneDrive Connection
Tip: If updating the credentials doesn't work, try completely deleting the connection from the 'Connections' menu and adding a new one.
Free Microsoft Office alternative

Experience Hassle-Free Productivity with WPS Office

While resolving complex Azure tenant permissions and Power Automate flow errors can be frustrating, managing your actual documents shouldn't be. WPS Office offers a simplified, lightweight alternative for your daily spreadsheet and document tasks without complicated organizational blocks.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your computer or mobile device.
  2. 2. Open Your Excel File: Launch WPS Spreadsheets and open the .xlsx file you were trying to access via OneDrive.
  3. 3. Edit Without Limitations: Edit your data using robust spreadsheet tools and save your progress locally or to a cloud service of your choice.
Highly compatible with Microsoft Excel (.xlsx) files.Free and lightweight office suite for seamless daily productivity.Familiar user interface with zero learning curve.Avoid complex tenant restrictions by easily managing files locally or through your preferred cloud.
QA img-9

Frequently Asked Questions

What does error AADSTS700016 mean in Power Automate?

This error signifies an authentication or authorization failure in Azure Active Directory (Entra ID). It typically means the application was not found in the tenant's directory, or the work tenant has policies blocking the flow from connecting to external or personal accounts.

Can I bypass this error by sharing the personal OneDrive file with my work email?

Sharing the file directly might allow you to manually open it, but Power Automate flows act as applications. They may still be blocked by your organization's cross-tenant policies, meaning admin consent in Azure AD is usually required for automated access.

Why did my flow suddenly start showing the AADSTS700016 error?

This usually happens when your IT department updates the organization's security and compliance policies to block unauthorized third-party apps, or when the authentication token for your personal Microsoft account connection expires.