Forum Discussion
Dynamic Authorization Token from Rest API leads to Formula.Firewall-Error
- 5 years ago
In that case, you could set up a Flow to make the token request daily and write to a file in the cloud (or SP list), and then use that file as a source in your query to harvest the token prior to refresh. You can make http calls from flow too. If needed, you could also send your token query results over to flow to trigger it as a JSON packet (but that is trickier).
Regards,
Pat
Please see this post in which I attach a pbix that shows an example of getting a token and then using it in other queries on Twitter. Hopefully it will help you get unstuck.
Re: Twitter API to Power BI - Microsoft Power BI Community
Regards,
Pat
- Anonymous5 years agoNot applicable
Hello Pat
Thanks a lot for your response. Managed to open the File (must have had a conflict with my PowerBI version on my Business Computer).
I do understand that you integrate the Token Request in the Same Query Statement you use to receive the Data.
As I will have to obtain about 10 Tables trough the same API to fully build my reporting model, I was looking for a method to store the Token centrally and reuse that respectively.Do I understand your answer correctly that this is not possible in PowerBi?
Best Regards
Philippe