Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext 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
The situation is:
I have an initial refreshtoken that I give as input, this returns me a new refreshtoken and accesstoken. The lifetime of the initial refreshtoken is ended after the first request. The accesstoken will be used for the bearer token and this will be used to get data from the other endpoints.
In Power BI I connect to my custom data connector with my initial refreshtoken.
This gives me a preview of the data.
When I click load it executes the data connector again with the initial refreshtoken (that is expired), this results in an error.
Is there a way in to store the new refreshtoken / accesstoken I received in the initial execution, so I can use it afterwards ? Or maybe another solution?
Please refer to:
https://github.com/Microsoft/DataConnectors
There is no direct code for you in a easy way but maybe you can find a solution: see https://docs.microsoft.com/en-us/power-query/handlingauthentication
Best Regards
Paul
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 5 |