Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have one query that generates a secret key. Another query uses that key to get a token. After the secret key is provided to the backend it gets invalidated and new key needs to be created. So, how can I execute first query and use its results for the second query?
Thanks
Yes, that should work, but what about a situation when I might have a number of data sources that all need a token to get data? I dont want to request a token every time data is pulled. I need to store it somehow and reuse it.
Hi @Markzolotoy
In the 2nd query that uses the key, make a test request to your API, check for an error in the response that indicates the key is invalid.
If it is invalid then call the first query to generate a new key.
Regards
Phil
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
95 | |
77 | |
65 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |