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

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
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.