Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
ali84pk2
Regular Visitor

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

 

1 ACCEPTED SOLUTION

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

View solution in original post

5 REPLIES 5
v-kelly-msft
Community Support
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.

Annotation 2020-07-24 123258.png

Annotation 2020-07-24 123508.png

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

 

Annotation 2020-07-24 123647.png

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

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?

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!

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

lbendlin
Super User
Super User

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors