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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors