Forum Discussion
Power BI Embed in react timeout issue!
In my React js application , I have installed the Power Bi Embed (powerbi-client-react - ^1.3.3) for the purpose of dynamic report generation and from my begining I am facing a problem in which : [ The report gets timed out in few minutes and to surprise , this is repeated in random format ]. Can I get help to increase my time out period in my Power Bi Reports ?
- Anonymous3 years ago
Hi JaiminV29
It may effect by your token, you can adjust the token lifetime, use the token lifetime policy and Assign policy to a service principal to configure the expiretime up to 24 hours, you can refer to the following link:
https://community.powerbi.com/t5/Developer/Access-token-setting-expiration-times/td-p/215696
And you can refer to the following link about the code of embedding Power BI in react:
easily embed Power BI reports into their applications.
The following link may can help you set the token lifetime
Extend the expiration time of Power BI report embe... - Microsoft Power BI Community
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- JaiminV29New Member
Here you can see screen shot for same.
- AnonymousNot applicable
Hi JaiminV29
It may effect by your token, you can adjust the token lifetime, use the token lifetime policy and Assign policy to a service principal to configure the expiretime up to 24 hours, you can refer to the following link:
https://community.powerbi.com/t5/Developer/Access-token-setting-expiration-times/td-p/215696
And you can refer to the following link about the code of embedding Power BI in react:
easily embed Power BI reports into their applications.
The following link may can help you set the token lifetime
Extend the expiration time of Power BI report embe... - Microsoft Power BI Community
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.