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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.