Forum Discussion

ali84pk2's avatar
ali84pk2
Regular Visitor
6 years ago
Solved

API 404 error when connecting power bi workspace

I am trying to connect powerbi workspace from https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportsingroup#code-try-0 but getting error of 404. I am admin of Power BI and Global Adminitrator in Azure and unable to figure out what i am missing. 
Appreciate if someone can help me out.

 

Thanks

Ali

 

  • ali84pk2's avatar
    ali84pk2
    6 years ago

    Hi v-kelly-msft ,


    I tried again in Chrome with Incognito mode and it's working fine now. Seems like problem was due to the fact that I use to login with different types of microsoft account to test the access rights and this might causing the problem.

     

    Thanks for your support.

     

    Thanks

    Ali

5 Replies

  • make sure you specify the workspace (group) ID and not the app ID or report ID.

  • v-kelly-msft's avatar
    v-kelly-msft
    Community Support

    Hi  ali84pk2 ,

     

    Go to Service>Click on the workspace,you will get a URL,then paste the ID part which I marked in yellow  into the API ID line.

    Click "Run",you will get "200" returned.

     

    Best Regards,
    Kelly
    Did I answer your question? Mark my post as a solution!
    • ali84pk2's avatar
      ali84pk2
      Regular Visitor

      Thanks for reply v-kelly-msft 

      I tried the same but still getting the error. I am using Power BI Pro (Trial version), could that be the reason?

      • v-kelly-msft's avatar
        v-kelly-msft
        Community Support

        Hi  ali84pk2 ,

         

        No,as I'm using a free account,could you pls take some screenshots of your steps?

         

        Best Regards,
        Kelly
        Did I answer your question? Mark my post as a solution!