The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello!
Currently we use
var tokenResponse = await client.Reports.GenerateTokenInGroupAsync(WorkspaceId, report.Id, generateTokenRequestParameters);
to fetch every report's token as in Microsoft example. It takes about 800ms each. However, if many reports being used - it delays initiall application startup (reload time) time significantly. Is it possible to convert this so it will fire requests simulaneously? Currently it goes like waterfall. If so, is there any example available?
Any other suggestions how to improve performance are welcome.
Thank you in advance!
Solved! Go to Solution.
Actually, solved the problem myself. Changed example code to utilize tasks.Add(Task.Run(async () => {}) expressions. For those who interesed, I can provide code snippet. It boosted performance significantly.
Hi @Anonymous
Is the token you provided an embed token ? What rest API is used ?
Maybe you can refer to this introduction about Power BI REST APIs .
Best Regards
Community Support Team _ Ailsa Tao
Actually, solved the problem myself. Changed example code to utilize tasks.Add(Task.Run(async () => {}) expressions. For those who interesed, I can provide code snippet. It boosted performance significantly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
42 | |
30 | |
26 | |
23 |