The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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:
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
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
25 | |
14 | |
12 | |
12 |
User | Count |
---|---|
106 | |
39 | |
28 | |
22 | |
22 |