Forum Discussion
Using the Power BI Authentication API returns accessToken null
Anonymous I am facing same issue while using Power BI Authentication API, did you manage to find a solution?
No, and I actually received a response from Microsoft saying they actually don't enable the same credentials for Power BI and for this API, so as of 6 months ago it was simply not possible.
- pramodcog1 year agoFrequent Visitor
Oh ok, how did you manage to get access token or is their any other alternative?
- lbendlin1 year ago
Super User
You register an app in Azure that asks for the (non-delegated) permissions for whatever API calls you need to do.
- pramodcog1 year agoFrequent Visitor
I have managed to get the acces token, there were lot of setting to be done.
Now I am trying to acheive a token exchange in backend for https://login.microsoft******, but I am blocked by the CORS error even though I have added the URL into privilages parameter in capabilities.json file.
I have read CORS limitation , is there a alternate workaround for token exchange?