Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

Power BI Authentication using REST API without GUI using Java (Refresh Token)

Hello, Currently I am getting Power BI Report from Power BI services with access token and embedding this report into IFrame using Azure AIDL Authentication. Using this Java Library I am getting an JWT access token and fetching into my Power Bi report. Below are the problems with this approach: 1) Access token has a short validity of 60 mins. and after that I fetch new access token using refresh token. 2) But the refresh token itself has a validity of 14 days and after that I need to manually log in and update the refresh token manually. I want to avoid manual log in and wondering if there is any way to make this automatic. Any suggestions would be appreciated.
Status: Needs Votes
Comments
fbcideas_migusr
New Member
Status changed to: Needs Votes