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
Arie
Advocate IV
Advocate IV

Error while refreshing data from custom connector since april update of Data Gateway

Since the april update of the Data Gateway my custom connector gives an error while refreshing data in de PBI Service. Updating from within PBI Desktop works fine. The custom connector is using oAuth for authentication with the external API.

 

The error is:

Exception of type 'Microsoft.Mashup.Engine.Interface.ResourceAccessAuthorizationException' was thrown.

 

Does anyone have an idea about how to solve this error?

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Arie 

1.

before the april update of the Data Gateway, does it work successfully for the scenario

(custom connector using oAuth for authentication with the external API) ?

You could roll back to an older version easier in case of issues/exceptions.

 

2.

do you use On-premise gateway or personal gateway?

Check if you use in a proper way :

Use custom data connectors with the On-premises data gateway

Also check if the authentication used in Power BI Desktop is the same as in Service.

 

3.

Do you create custom data connector for your data source in Power BI following the guide in this article?

Which connector do you select from Power BI Desktop?

From this article "API Strategies with Power BI", which kind of API do you use?

 

In addition, there is a similar problem sloved.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.