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

Top Kudoed Authors