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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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