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

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

Reply
theblueslover
Frequent Visitor

Oauth2 authentication not available when OData source URL is added filters

When I add the table name to the OData source URL (the one that I use to get all the tables to select from) my query directly returns that particular table. After I publish my report to Power BI service, I no longer see OAuth2 available in the authentication method which prevents me from scheduling refresh.

 

theblueslover_1-1650595226470.png

The reason I add the table name is to apply filtering to the source.

theblueslover_2-1650595701339.png

I would highly appreciate any help.

 

Thank you

2 REPLIES 2
Anonymous
Not applicable

Hi @theblueslover ,

 

For custom connectors to work with the on-premises data gateway, they need to implement a “TestConnection” section in the custom connector’s code.

The method for implementing TestConnection functionality is likely to change while the Power BI Custom Data Connector functionality is in preview.

For more details, please check this document.

https://docs.microsoft.com/en-us/power-query/handlinggatewaysupport 

 

Best Regards,

Jay

Thank you for your reply. The data I'm retrieving is on-cloud and when I do not add any filters to the OData url I can authenticate using OAuth2 and schedule refresh without any on-premise data gateway.

Would there be any other options that I should take into consideration?

 

Thank you.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors