Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Talent,
I am using below REST API with the capacityID
https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/getrefreshablesforcapacity
It return the 404 error
{
"error": {
"code": "ItemNotFound",
"message": "Couldn't find capacity id "
}
}
1. The capacity id should be correct, I get it from admin portal and as well as get capacity API, they are showing the same result
2. I did set up the API Permission in Azure App Registration as below. So the authorisation should be alright
Capacity.Read.All | Delegated | View all capacities | |
Capacity.ReadWrite.All | Delegated | Read and write all capacities |
Any idea about the error?
Thanks in advanced.
@Anonymous It's difficult to say, your URL is like:
https://api.powerbi.com/v1.0/myorg/capacities/{capacityId}/refreshables
Where you have replaced {capacityId} with something like 12345 so that you get:
https://api.powerbi.com/v1.0/myorg/capacities/12345/refreshables
Obviously 12345 is just an example, you would have your capacity id in there.
Thanks Greg for promptly reply.
Yes, I did put in capacities ID without {}, still showing as error below
@Anonymous Try ditching your query string part of the URL and see if that makes a difference, so the part after and including the ?
Unfortunatley, doesn't work even I ditching the string
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |