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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

TestConnection handler for On-Premises Data Gateway not working

Hey guys,
I'm trying to make my custom connector work through the on-premises data gateway, and as i've read here, i need to make a TestConnection handler. The examples given illustrate the cases when you have only an url, or multiple non url parameters.
The thing is, on my shared main function, i ask the user for an URL and other 2 parameters, and i don't know how to make it work. 
Anyone knows the syntax for this?

Thank you.

1 REPLY 1
Anonymous
Not applicable

UPDATE: I just realized that i don't have an url as parameter, is of type text. I don't know if its the best practice, but i don't really need a url of Uri.Type because i don't implement an OAuth flow. Also, it is working fine on PBI Desktop. I'm going to try to make the gateway work with this.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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