Forum Discussion

simonlxd's avatar
simonlxd
New Member
3 years ago
Solved

Embed for your customers can not get emmbed token sometimes later

Hi All,   I ran into a very strange problem, I‘ve registered an application (service principal) on Azure, set PBI permissions, get Application ID and tenant ID and applicationSecret, I used this se...
  • AmosHersch's avatar
    3 years ago

    Hi simonlxd ,

     

    AAD token does have expiration (default is 1h). Do you renew it before calling the Power BI API?

    What is the error you're getting when the request to generate an embed token fails? Did you check if the response body contains information regarding the reason of the failure?