The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Previously working API calls seem not to be working against a Jan 2020 (1.6.7327.3007) server - this is fine:
Invoke-RESTMethod -Uri "http://server/Reports/api/v2.0/CatalogItems(Path='/lib/report')" -Method GET -UseDefaultCredentials
but the call to get the binary content fails:
Invoke-RESTMethod -Uri "http://server/Reports/api/v2.0/CatalogItems(Path='/lib/report')/Content/`$value" -Method GET -ContentType "application/octet-stream" -UseDefaultCredentials
error is:
Invoke-RESTMethod : {
"error":{
"code":"","message":"No HTTP resource was found that matches the request URI
'http://server/Reports/api/v2.0/CatalogItems(Path='/lib/report')/Content/$value'.","innererror":{
"message":"No action was found on the controller 'CatalogItemsController' that matches the
request.","type":"","stacktrace":""
}
}
}
Same calls seem to work fine against September 2019 version server. Any ideas ?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.