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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lousegers
Resolver I
Resolver I

Custom Data Connector Power BI REST API Data Source Credentials Refresh

Hi everyone,

 

We've successfully created a custom data connector to the Power BI Rest API.

API calls provide us the data we want in Power BI Desktop. Refreshes do work as expected.

2019-12-19_12-51-47.png

After publishing to the service portal, we receive an authentication error. When we want to authenticate over Auth2 (in either privacy level setting), a white screen popup appears. It seems the refresh token is being successfully generated, however, authentication gets stuck on this popup.

2019-12-19_12-40-03.png2019-12-19_12-38-59.png2019-12-19_12-38-40.png

 

 

We use the personal data gateway to pick up the custom data connectors .mez files, written in VS2017.

2019-12-19_12-39-44.png2019-12-19_12-43-58.png

Power BI Client Application details 

2019-12-19_12-46-15.png

 

We expect the issue could possibly be the redirect_uri. However, MS documentation clearly states, this is the correct redirct_uri.

Thanks for reading through this post, all feedback is appreciated.

 

Update:

This also does not work when using the enterprise data gateway.

2019-12-20_12-41-50.png2019-12-20_12-43-02.png

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.