Forum Discussion

sajjadniazi's avatar
sajjadniazi
Advocate I
1 year ago
Solved

Session Timeout in power Bi Embededd

Our application has a session timeout set to 30 minutes. We are using Power BI Embedded for integrating reports into our application. However, we are encountering an issue where the user session times out even while they are interacting with the embedded Power BI reports, leading to unexpected logouts.
 
We are seeking a solution that would allow us to keep the application session active while the user is engaged with the Power BI reports. Specifically, we are exploring the possibility of triggering events based on user interactions within the Power BI reports, which could be sent back to our application. These events would serve as "activity signals" that reset or extend the session timeout, ensuring the session remains active as long as the user is interacting with the report.
 
Is there a solution that utilizes Power BI's JavaScript API to listen for specific user actions? or is there a place where we can insert our custom JavaScript that would be globally executed whenever a report is rendered?
 

1 Reply