Forum Discussion
Using the Power BI Authentication API returns accessToken null
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.
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?- ViktorDidyk1 year agoNew Member
Hello, is there a possibility that you remember and can help me with the topic issue (accessToken: null). You said that there were a lot of settings to be done.
But which exactly? I have followed Microsoft documentation multiple times but without results.
I have tried to set permissions (User: ReadAll) as both delegated and application as mentioned in this thread.