This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.