Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Refresh from Excel file in One Drive For Business

Please help!
My PowerBI Desktop combines SQL query from on-premises SQL Server and definitions taken from Excel file stored in One Drive for Business. Works perfect!
I've installed the on-premises gateway on the SQL Server machine.
When I publish my Desktop model to the service - I have this error in dataset:
 
"Something went wrong
 Your data gateway (Power BI – personal) is offline or couldn't be reached.
Please try again later or contact support. If you contact support, please provide these details."
 
 
When I publish report that only has the SQL queries without OneDriveforBusiness - everything works, I am able to schedule the refresh.
Only when I add the "= Excel.Workbook(Web.Contents(..." query for One Drive for Business - then it shows me the error and I am not able to refresh.
 
Please help - what am I missing?
Thank you
Michael
4 REPLIES 4
Anonymous
Not applicable

 

Please help
My PowerBI Desktop combines SQL query from on-premises SQL Server and definitions taken from Excel file stored in One Drive for Business. Works perfect!
I've installed the on-premises gateway on the SQL Server machine.
When I publish my Desktop model to the service - I have this error in dataset:
 
"Something went wrong
 Your data gateway (Power BI – personal) is offline or couldn't be reached.
Please try again later or contact support. If you contact support, please provide these details."
 
 
When I publish report that only has the SQL queries without OneDriveforBusiness - everything works, I am able to schedule the refresh.
Only when I add the "= Excel.Workbook(Web.Contents(..." query for One Drive for Business - then it shows me the error and I am not able to refresh.
 
Please help - what am I missing?
Thank you
Michael
Anonymous
Not applicable

There is a current limitation within Power BI whereby if you use a Data Gateway for 1 source in a project, you need to use it for all of your sources in that project.

Solution:  Add your one drive file or folder into your On-Premise data gateway data source list

Anonymous
Not applicable

Thanks @Anonymous for your reply.

I've tried to add the data source to my on-prem gateway but I cannot see any option to set OAuth 2 credentials.

I've checked "File", "Web", "Sharepoint" - no OAuth2 option...

Please help...

Thanks!

Michael

Anonymous
Not applicable

Authentication method of Windows is what i've been using.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors