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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jasonyeung87
Helper V
Helper V

Authentication method for custom connector no options when configuring

Hi,

 

I developed a custom connector which connects to an API to obtain data. As the third party API has pagination, I had to create a custom connector to go through the pages to obtain the data. I was able to get it to with with the Power Query SDK and I've published teh report. I've also setup the on prem gateway and configured it to connect to the connector.

 

When I tried to configure the data source within Power BI service, there are no options for the Authentication methods. It would look like:

jasonyeung87_0-1674166013143.png

 

I'm following the link https://learn.microsoft.com/en-us/power-query/samples/trippin/9-testconnection/readme to set this up. The code I used for the TestConnection Handler is:

// Data Source Kind description
FreshDesk_API = [
TestConnection = (dataSourcePath) => { "FreshDesk_API.Contents" },
Authentication = [
// Key = [],
UsernamePassword = [
UsernameLabel = "API Key",
PasswordLabel = "Password"
]
// Windows = [],
//Implicit = []
],
Label = "FreshDesk API connector"
];

 

I want to use Basic authentication because the API also uses this. I was wondering how do I get the authentication methods?

 

Jason

 

1 REPLY 1
Jennifer123
New Member

Hi @jasonyeung87 

I'm now also face the issue exactly similar to yours. 

Did you solve this problem? Can you possibly give me any advice?

Thank in advance!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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