How to Connect Office 365 to Power BI
Connecting your Office 365 data to Power BI brings your everyday work into a powerful, visual environment. Instead of just tracking data in SharePoint lists or Excel spreadsheets, you can turn it into interactive reports that reveal trends and insights. This guide will walk you through exactly how to link these tools, from individual Excel files to entire SharePoint sites, so you can start building meaningful dashboards today.
Why Bother Connecting Office 365 to Power BI?
You might be wondering if it's worth the effort. In short, absolutely. Your Office 365 apps are likely filled with valuable business data - project milestones in SharePoint lists, sales figures in Excel files stored on OneDrive, or team performance metrics. By leaving this data siloed in different applications, you're missing the bigger picture.
Connecting them to Power BI allows you to:
- Create a Single Source of Truth: Pull data from different sources (Excel, SharePoint, Microsoft Forms, etc.) into one unified dashboard. Imagine seeing your project progress from a SharePoint list right next to your budget data from an Excel file.
- Automate Your Reporting: Once you set up the connection, you can schedule automatic refreshes. This means no more manually downloading CSVs and updating your reports every Monday morning. Your dashboards will always show the latest data.
- Build Interactive Visuals: Static spreadsheets can be hard to interpret. Power BI turns that data into dynamic charts and graphs. You can click on a bar in a chart to filter your entire report, drilling down into specific details in seconds.
- Share Insights Easily: Since both tools are part of the Microsoft ecosystem, sharing is seamless and secure. You can publish your reports and share them with colleagues, who can access them with their existing Office 365 credentials.
Prerequisites: What You Need to Get Started
Before you begin, make sure you have a few things in place. Getting this sorted out first will prevent headaches later.
- A Power BI Account: You'll need either a Power BI Pro or Power BI Premium license to publish and share reports. You can start building reports with Power BI Desktop, which is free to download, but you'll need a paid license for collaboration and automated refreshes.
- An Office 365 Business Account: The connections rely on your work or school account. This won't work with personal Office 365 accounts.
- Access to Power BI Desktop: This is the free application where you'll build your reports. If you don't have it, you can download it directly from the Microsoft Store.
- Permissions to Access the Data: You need to have permission to view the data you want to connect to. For example, if you're connecting to a SharePoint list, you must be a member of that SharePoint site with at least "Read" permissions for that list.
Connecting to Specific Office 365 Data Sources
Office 365 isn't a single data source, it's a collection of apps. The connection process varies slightly depending on what you're trying to access. Here are the step-by-step instructions for the most common sources.
Method 1: Connect to an Excel File from SharePoint or OneDrive
This is arguably the most common use case. Many teams use Excel files stored in a shared SharePoint document library or a OneDrive for Business folder to track metrics. Instead of downloading the file each time you need to update a report, you can connect Power BI directly to the cloud-hosted version.
Step-by-Step Instructions:
- Get the File Path:
First, you need the direct path to the file. Navigate to the Excel file in SharePoint or OneDrive for Business in your web browser. Do not open the file in your desktop Excel app. Open it in Excel for the web (your browser).
Once the file is open, go to File > Info > Copy path. Paste this path into a notepad or text editor. It will look something like this:
https://yourcompany.sharepoint.com/sites/YourTeamSite/Shared%20Documents/FolderName/YourFile.xlsx?web=1Crucial step: Delete the?web=1part at the end. Power BI needs the clean path without this web session parameter. So your final URL should look like:https://yourcompany.sharepoint.com/sites/YourTeamSite/Shared%20Documents/FolderName/YourFile.xlsx - Connect from Power BI Desktop: Open Power BI Desktop and click Get Data from the Home tab. In the list of connectors, select Web and click Connect.
- Enter the URL and Authenticate: Paste the cleaned URL from Step 1 into the dialog box. Click OK. Power BI will now prompt you to sign in. Since you're connecting to a secure Office 365 source, select Organizational account from the left-hand pane. Click Sign in and enter your Office 365 credentials.
- Select Your Data: Once you've authenticated, the Navigator window will appear. It will show you all the tables and sheets within that Excel file. Check the boxes next to the data you want to import. A preview will appear on the right.
- Load or Transform: You now have two options:
That's it! Your Power BI report is now directly linked to your Excel file in the cloud. When the Excel file is updated, your Power BI report will reflect those changes on the next refresh.
Method 2: Connect to a SharePoint Online List
SharePoint lists are fantastic for structured data entry, like issue trackers, project task lists, or employee directories. Connecting them to Power BI allows you to analyze that data visually.
Step-by-Step Instructions:
- Get Your SharePoint Site URL:
Navigate to the homepage of the SharePoint site where your list is located. Copy the URL from the address bar. You only need the main site URL, not the full URL to the list itself. For instance, if your list is at
https://yourcompany.sharepoint.com/sites/Sales/Lists/ClientContacts/AllItems.aspx, you only needhttps://yourcompany.sharepoint.com/sites/Sales. - Choose the SharePoint Connector in Power BI: In Power BI Desktop, click Get Data. Search for "SharePoint" and select SharePoint Online List. Click Connect.
- Enter the Site URL: Paste the SharePoint site URL you copied in Step 1 into the Site URL field. For the Implementation options, it's recommended to choose 2.0. This version uses a more modern API and generally returns cleaner, more predictable data. Click OK.
- Authenticate and Select a List: You'll be prompted to sign in with your Organizational account. After signing in, the Navigator window will open, displaying all the available lists on that SharePoint site. Find your list and check the box next to it. You'll see a preview of the list data.
- Transform Data in Power Query: Click Transform Data. This step is especially important for SharePoint lists because they contain many internal and metadata columns (like ID, Created By, Modified, etc.) that you probably don't need for your report. In the Power Query Editor, you can right-click on the columns you don't want and select "Remove" to clean up your data model.
Method 3: Connect to a Folder of Files in SharePoint
Sometimes you don't want to connect to a single file, but to a whole folder of them. This is incredibly useful when you have data split across multiple files with the same structure, such as monthly sales reports or daily activity logs. Power BI can combine them into a single table for you.
Step-by-Step Instructions:
- Get the SharePoint Site URL:
Just like with SharePoint lists, you only need the main site URL, not the path to the specific folder. For example:
https://yourcompany.sharepoint.com/sites/Marketing. - Choose the SharePoint Folder Connector: In Power BI Desktop, go to Get Data, search for "SharePoint," and select SharePoint Folder. Click Connect.
- Enter the URL and Transform: Paste your site URL and click OK. After authenticating, a window will pop up showing every single file on the entire SharePoint site. To avoid being overwhelmed, click Transform Data immediately.
- Filter to Your Specific Folder: In the Power Query Editor, you'll see a list of files with metadata, including a Folder Path column. Use the filter controls on this column to drill down and select the exact folder that contains your files.
- Combine the Files: Once you've filtered to the right set of files, find the column named Content (it will have Binary values). Click the "Combine Files" button, which looks like a double-down-arrow icon, in the header of that column. Power BI will ask you to select a sample file to determine how to combine them all. It will then automatically perform the steps to extract and merge the data from every file in that folder into one large table. It's a massive timesaver!
Publishing and Refreshing Your Data
Once you've built your report in Power BI Desktop, the final step is to share it. On the Home tab, click Publish. Choose a workspace in your Power BI Service and upload the report.
After publishing, navigate to the Power BI Service (app.powerbi.com) and find your dataset. Go to its settings and find the Data source credentials section. You may need to re-enter your Office 365 credentials there so the online service can access your data. Once that's done, you can set up a Scheduled refresh to keep your report automatically updated on a daily or weekly basis.
Final Thoughts
Connecting Office 365 to Power BI unlocks the potential of the data you're already creating every day. By building a direct link between sources like SharePoint or OneDrive and your analytics, you move from manual data wrangling to automated, real-time reporting that can truly guide your business decisions.
The goal of any data connection is to get from raw numbers to actionable insights as quickly as possible. For many businesses, their data is spread across more than just the Microsoft suite - it's in Google Analytics, Shopify, Facebook Ads, or a CRM. To streamline this process, we built Graphed to be your AI data analyst. We simplify connecting all your marketing and sales data sources, letting you ask questions in plain English to build real-time dashboards in seconds, not hours.
Related Articles
How to Connect Facebook to Google Data Studio: The Complete Guide for 2026
Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.
Appsflyer vs Mixpanel: Complete 2026 Comparison Guide
The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.
DashThis vs AgencyAnalytics: The Ultimate Comparison Guide for Marketing Agencies
When it comes to choosing the right marketing reporting platform, agencies often find themselves torn between two industry leaders: DashThis and AgencyAnalytics. Both platforms promise to streamline reporting, save time, and impress clients with stunning visualizations. But which one truly delivers on these promises?