Forum Discussion
Azure AD oAuth request returns html page and not oAuth Code
- 8 years ago
Replying to myself but will be useful for others too seeing the time I spent on the matter...
MS Support pointed me to this thread which solved my problem :
https://community.powerbi.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/td-p/294475
I used Postman to try everything, making sure to pass the body of the Get Embed Token API POST calls as Raw / JSON (application/json) ( cf radio buttons underneath the Authorization/Headers/Body/Pre-request Script/Test tabs). Doing otherwise would set this particular API calls off for passing form-data.
Hope this helps !
Thanks again v-ljerr-msft for your help !
Replying to myself but will be useful for others too seeing the time I spent on the matter...
MS Support pointed me to this thread which solved my problem :
https://community.powerbi.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/td-p/294475
I used Postman to try everything, making sure to pass the body of the Get Embed Token API POST calls as Raw / JSON (application/json) ( cf radio buttons underneath the Authorization/Headers/Body/Pre-request Script/Test tabs). Doing otherwise would set this particular API calls off for passing form-data.
Hope this helps !
Thanks again v-ljerr-msft for your help !
v-ljerr-msft
When i try to get Embed Token by sending Access Token i'm taking 403 Forbidden (step 3). I'm sending data as raw and application/json .
Could you recommend something to me fix this problem ?