Two cloud connectors that refresh a OneDrive-hosted Excel file without a gateway
Short answer
AE Web and SharePoint folder both reach the OneDrive file in the cloud and refresh in the service without a gateway.
Question
Key Takeaways
Both the Web connector (pointed at the file's cloud URL) and the SharePoint folder connector (OneDrive is backed by SharePoint) reach OneDrive files as cloud data and support scheduled refresh in the Power BI service with no gateway.
An Excel file living in OneDrive must load into a Power BI semantic model that refreshes in the Power BI service, requiring connectors that reach the file in the cloud without an on-premises data gateway.
Common mistake: Choosing the Excel Workbook connector because it opens OneDrive files in Power BI Desktop — locally it works, but service-side refresh of the local file path needs a gateway, which the question never offers.
Expert Analysis
Why the Answer Is Correct
OneDrive for Business is backed by SharePoint Online, so the SharePoint folder connector (E) reaches the file as cloud data and supports scheduled refresh in the Power BI service. The Web connector (A) can also target the file's direct cloud URL (the OneDrive file link), which refreshes without any gateway. Both are documented gateway-free refresh paths for files stored in OneDrive, satisfying the requirement that the semantic model be refreshable in PowerBI.com.
Why the Other Options Are Wrong
Excel Workbook (B) connects through the local file system in Desktop; refreshing that connection in the service requires an on-premises data gateway, which the scenario does not mention or provide. Folder (C) is designed for local or SharePoint folders but as a plain local folder path it also needs a gateway, and it is redundant next to the dedicated SharePoint folder option. Text/CSV (D) cannot consume a binary.xlsx workbook at all, so it is disqualified on capability grounds before refresh is even considered.
Community Comment Notes
The top comment reports having tested the Web plus SharePoint folder combination end to end with refresh working, and notes that the Excel Workbook and Folder paths would need a gateway. A later comment favoring B and E overlooks that gateway requirement for the Excel Workbook connector in the service.
Official Reference
https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-data
This link opens the official vendor documentation in a new tab.
Exam Strategy
When the scenario says the file sits in OneDrive and the model must refresh in PowerBI.com, immediately look for gateway-free, cloud-aware connectors rather than local-file options. The trap is that Excel Workbook and Folder sound like the obvious choices for an Excel file, but they imply Desktop/local access and therefore a gateway. If refresh must happen in the service without a gateway, eliminate any connector that reads a local path and favor SharePoint Online or direct URL access.
Frequently Asked Questions
Why is the SharePoint folder connector (E) correct instead of the Folder connector (C) for a OneDrive Excel file?
Can the Excel Workbook connector (B) refresh a OneDrive file in PowerBI.com without a gateway?
Why is Text/CSV (D) disqualified for this OneDrive .xlsx file?
Community Votes
69% of anonymous learners picked answer AE. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 12 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 12
-
VladStan 👍 5A and E are the correct answers. Just tested it now end to end and it works. Refreshing is performed as well. For B/C to be refreshed online, you'd need a Gateway which is not mentioned here.
-
Rio98 👍 2Excel Workbook (Option B): You can connect to an Excel file stored on OneDrive using the Excel Workbook connector. This connector will allow Power BI to connect to the Excel file, and the model can be refreshed in Power BI Service (PowerBI.com) as long as the file is stored on OneDrive and is properly linked. When you use OneDrive, Power BI can automatically refresh the data in the report from the Excel file, and it will be kept in sync with the source. SharePoint Folder (Option E): A SharePoint folder connector can also be used to access files stored in a SharePoint Online document library, which includes OneDrive for Business files. By using the SharePoint folder connector, you can easily import the Excel file from OneDrive, and the Power BI model can be refreshed in PowerBI.com, similar to the Excel Workbook option.
-
Odidepse 👍 2Tested this myself, A is the first obvious answer, you use the 'Excel Workbook' connector and it will grab to a one drive folder as stated on the question Microsoft Excel file in a Microsoft OneDrive folder. The other one is a definite web, as the excel file is on the one drive path and nothing is mentioned on the sharepoint folder, these are the steps that I took: Navigate the excel file stored on one drive, go to file, copy path. Then go to powerbi desktop app, get datasource, use 'web' connector and on the URL section, paste the path. SharePoint folder required root url of the sharepoint, nothing on the question outlines that the excel document is stored on sharepoint.
-
5767542 👍 2B. Excel Workbook and E. SharePoint Folder are the correct connectors because both are optimized for accessing files stored in OneDrive for Business, and they support scheduled refreshes in Power BI Service (PowerBi.com), ensuring your data stays up-to-date without manual intervention.
-
b2775a4 👍 1Correct Answers: A. Web: When the Excel file is stored in a OneDrive folder, you can use the Web connector with the file's URL link. This allows Power BI to access the file directly from OneDrive, and the dataset can be refreshed in PowerBI.com as long as the URL points to the latest file. E. SharePoint Folder: Since OneDrive is backed by SharePoint, you can use the SharePoint Folder connector to access the file. The SharePoint connector ensures that the file is accessible and refreshable in Power BI. Why Not the Other Options? B. Excel Workbook: While this connector works for local Excel files, it does not guarantee refreshability when the file is stored in OneDrive. C. Folder: This connector is used to combine data from multiple files in a folder, but it is not specifically designed for OneDrive or SharePoint. D. Text/CSV: This connector is used for text or CSV files, not for Excel files.
Show 7 more comments
-
mdnaseershah 👍 1To ensure that the semantic model can be refreshed in Power BI service (PowerBI.com), you can use the following two connectors: B. Excel Workbook: This connector allows you to directly import data from an Excel file stored in OneDrive, ensuring that the data can be refreshed in Power BI service. E. SharePoint folder: If your OneDrive is linked to SharePoint, this connector can be used to access and refresh the Excel file in Power BI service. These connectors support automatic refresh capabilities, making them suitable for your requirements.
-
jaume 👍 1I've connected several times to excel files to get data into PBI and, while hosted in a OneDrive folder, everything refresh fine connecting directly to the file using "Excel Workbook" connector and using "Sharepoint folder" connector. Never used the "Web" connector to get data from an excel file. Gateway should be set for the option C in case that folder would be in a local network but I don't think it's needed connecting to an excel file hosted in a OneDrive folder
-
Arnav123 👍 1BE It is not A because the web connector is used to retrieve data from the web not access files.
-
BIFakeGuru 👍 1A & E, Otherwise you'll need to implement a data gateway (for onpremise data sources)
-
Srilatha_B 👍 1excel fil - so B / E both feasible options.
-
rcaliandro 👍 15For me is AE
-
b92fc92 👍 1AE in my opinion
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PL-300 Questions
Access 116 questions with complete answers and detailed explanations.
View Full PL-300 Practice Test →