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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
luisat
Frequent Visitor

Custom connector authentication

Hi everyone,

 

after writing my custom connector i want to test it in Power Bi Desktop. The connector pulls some data via Web.Content via an api.

 

The connector uses Implicit as authentification. So if i run it in Visual Studio and set annonymus as credentials it works just fine.

Now i if i want to load it in Power Bi i always run into this:

connector5.PNG

 

The same code loads just fine in Visual Studio. While developing the connector i tested it and it worked there...

 

My privancy level settings are:

grafik.pnggrafik.png

 

Is there any way to manually add the connector to the data source settings?

What am i doing wrong?

 

Regards,

Luis

1 REPLY 1
aninha
New Member

Hi Luis,

 

I think that your problem is that you are not passing the URL on Data Source Path. When you do that, your URL apears on the label of the authetication page.  Like the below image on GitHub Exemple. 
Capture.PNG

 
 

So, to know more about Data Source Path you can view this pages and the Github exemple on Github (rs!)

Data Source Path:
https://docs.microsoft.com/en-us/power-query/handlingauthentication#data-source-paths


URL data source path:

https://docs.microsoft.com/en-us/power-query/handlingauthentication#functions-with-an-uri-parameter

 

Git Hub exemple:

https://github.com/microsoft/DataConnectors/blob/master/samples/HelloWorld/HelloWorld.pq

 

Best Regards,

 

Ana

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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