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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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