How to Connect SharePoint Data from Multiple Microsoft Accounts to Power BI
Question details
Connecting data from multiple SharePoint sources that are associated with different Microsoft accounts into a single Power BI dashboard.

- Product
- Power BI, SharePoint
- Device & OS
- not provided
- Scenario
- A user is trying to build a unified Power BI dashboard by pulling data from cross-tenant or multi-account SharePoint lists and folders.
- Observed behavior
- Power BI typically restricts multiple Microsoft account authentications in the same setup for a single domain, resulting in credential conflicts or access errors.
Before starting, ensure you have administrative access to the Power BI workspace and the necessary permissions (such as Site Collection Administrator or Member) for all the SharePoint sites you intend to connect.
Consolidate Data Using a Centralized Database
Since Power BI limits authentication to a single Microsoft account per root domain, the most reliable method is syncing your cross-tenant data into one unified location.
Power BI Desktop caches credentials based on the data source domain. When connecting to multiple SharePoint sites that require different credentials, the system will attempt to use the cached credentials of the first account, leading to authentication errors.
To bypass this limitation, you can use automated flows to consolidate your data into a single source before connecting it to Power BI.
Create a centralized database (such as Azure SQL) or designate one single primary SharePoint tenant to host all necessary lists.
Use Power Automate to create flows that automatically copy or sync data from the secondary SharePoint accounts into the primary repository on a scheduled basis.
Open Power BI Desktop, click 'Get Data', and select your new consolidated data source (e.g., Azure SQL or the primary SharePoint site).
Log in using the single set of credentials associated with the unified data source to build your dashboard without credential conflicts.

Configure an On-Premises Data Gateway
An on-premises data gateway can serve as a bridge, allowing you to configure different data sources with distinct credentials in the Power BI Service.
Analyze and Manage Exported Data Easily with WPS Office
If you are dealing with complex cross-tenant SharePoint data, you might need to export it for manual review before importing it into Power BI. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, making it incredibly easy to process CSV and Excel exports.
- 1. Download and Install: Visit the official WPS website and download WPS Office Free to your device.
- 2. Open Your Data File: Launch WPS Spreadsheet and open your exported SharePoint CSV or Excel files.
- 3. Analyze and Format: Use built-in pivot tables and formulas to clean your cross-tenant data before feeding it into your centralized Power BI repository.

Frequently Asked Questions
Why do I get an authentication error when adding a second SharePoint site to Power BI?
Power BI Desktop caches credentials based on the root domain (e.g., sharepoint.com). When you try to connect to another SharePoint site that requires different Microsoft account credentials, it automatically attempts to use the previously cached credentials, resulting in an access error.
Can I use Azure AD B2B to solve cross-tenant SharePoint access in Power BI?
Yes. If the administrator of the secondary SharePoint tenant grants your primary Microsoft account Guest Access (B2B), you can authenticate using your primary account across both sources without needing two separate logins.
How do I clear cached SharePoint credentials in Power BI Desktop?
Go to File > Options and settings > Data source settings. Select 'Global permissions', locate the specific SharePoint URL, click 'Clear Permissions', and then try connecting again to enter the correct account details.




