Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi all,
I have created a custom Power BI Connector based off the PKCE sample provided here. The connector successfully authenticates and receives an access_token and refresh_token from the API endpoint, but when clicking any Refresh button within Power BI Desktop, the captured HTTP traffic (using Fidler Classic) indicates that the Refresh function below is not being invoked at all.
This leads to an inevitable expiry of the access_token and the user is then forced to re-login. Strangely, however, when the exact same connector is deployed to Power BI Online service (via Gateway), upon each Refresh action, the Refresh function below is correctly called before the GET data call.
Wondering if anyone else has experienced this?
Refresh = (resourceUrl, refresh_token) => TokenMethod(refresh_token, "refresh_token");
Thanks,
Seb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.