Forum Discussion

Shlokyy's avatar
Shlokyy
Regular Visitor
2 years ago
Solved

How to use Power Bi Apis without Azure Aad.?

I am embedding power pi report in react, problem is access token is expired in one hour I want to refresh this token after 45 minute using power bi APIs but I don't have azure aad how can I refresh m...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Shlokyy ,
    Thanks for the reply, according to what the documentation indicates, you can't go and skip registering Azure AD to use the api to refresh the token.
    For more information on how to use the getNewUserAccessToken() function, you can refer to this thread
    Solved: How to implement getNewUserAccessToken() function ... - Microsoft Fabric Community


    Best regards,

    Albert He

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly