Forum Discussion
nishanttayal
3 years agoFrequent Visitor
In Power BI Embedded (App Owns Data) how to update Sharepoint credentials?
Hi, I am developing an custom app embedding Power BI using App Owns Data (Embed for your customers). In that I want to publish the report using custom app through service principle and then I am loo...
v-yueyunzh-msft
Community Support
3 years agoHi , nishanttayal
As far as I know, SharePoint is also a cloud service product of Microsoft, which uses your tenant's AAD account to log in and uses AAD tokens to access cloud services and embedded Power BI content, and the AAD tokens it uses expire every hour. At your convenience, you can try reading this document to explore ways to refresh your AAD token regularly to ensure that AAD tokens remain valid in your solution:
Microsoft identity platform refresh tokens - Microsoft Entra | Microsoft Learn
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly