cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
luisat Frequent Visitor
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
New Member

Re: Custom connector authentication

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors