m-kovalsky / fabric_cat_tools

Supercharge your Microsoft Fabric development with the fabric_cat_tools library
MIT License
100 stars 14 forks source link

list_shortcuts returns bad request, says unsupported #18

Closed jamescl604 closed 1 month ago

jamescl604 commented 1 month ago

Describe the bug When calling the list_shortcuts function it will return with "BadRequest","message":"The operation is not currently supported."

To Reproduce Steps to reproduce the behavior:

  1. Call the function with a valid workspace id and lakehouse id, error is returned

Expected behavior A list of shortcut information is returned

Additional context The rest api documentation doesn't show support for listing shortcuts, perhaps it's in private preview? I sure hope a list method is supported as it will make life much easier.

https://learn.microsoft.com/en-us/rest/api/fabric/core/onelake-shortcuts

m-kovalsky commented 1 month ago

This API isn't official yet. It was working nonetheless for some time which is why I released this but now it seems it's not working. Once the API is made official this function will work as expected.

jamescl604 commented 1 month ago

Thanks for confirming!