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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rowanbarnes
Regular Visitor

Data Refresh Help

Hello, 

 

I have a dashboard that has connects to excel files on OneDrive and a database using OData feed.  I used "Organizational" account to connect the OData feedin PowerBI Desktop.  Refreshing the data works fine in the desktop version, but I get an error saying the credentials are invalid when I try to refresh the published version online.  I set up a personal gateway, which seems to be working for the excel files, but the OData feedconnection still won't refresh.  I don't see "Organizational" as a connection option there and it says that OAuth2 is not supported.  Any suggestions to get this working?

 

Thank you!

Rowan

1 REPLY 1
Anonymous
Not applicable

Hi @rowanbarnes ,

Odata data sources generally have the following authentication methods: Anonymous , basic , key, OAuth2.

vxiandatmsft_0-1700554067020.png

vxiandatmsft_2-1700554098456.png

I'm able to refresh successfully with an organization on my Power BI.

Some services support the ability for the OData connector to authenticate with OAuth/AAD authentication out of the box. However, this won't work in most cases.

You can try other Authentications.

Below is the Microsoft's official link:

Power Query OData Feed connector - Power Query | Microsoft Learn

Authentication with a data source - Power Query | Microsoft Learn

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.