Forum Discussion

Jamir's avatar
Jamir
Frequent Visitor
3 years ago
Solved

How to get EmbedToken Generated using PostMan ? HTTP Error 400. The request hostname is invalid.

1. I was able to genrate Accesstoken using : (Works in postman)  POST - https://login.microsoftonline.com/{{tenant_id}}/oauth2/token  Header:  Content-Type application/x-www-form-urlencoded  Bod...
  • Jamir's avatar
    3 years ago

    Finally, I made it work.. Here are all the details:

    (I beleive my problem was with setting up Service Principal properly)

     

    1. Access Token: POST

    Header

    Body

     

    2. Embed Token: POST

    Header

     

    Body

     

    3. EmbedReportURL: GET