I've made an extension with some codeunits in AL.
I'm trying to automate the deployment / update (including uninstall of previous version).
Currently I'm able to publish it, uninstalling it, but the files remain. Another question helped me find BC Automation APIs:
Introduction to automation APIs - Business Central | Microsoft Docs
These offer Microsft.NAV.install, Microsft.NAV.uninstall, Microsft.NAV.uninstallAndDeleteExtensionData endpoints.
The second one runs smoothly but files remain at the end.
And when I try to run uninstallAndDeleteExtensionData, I get this (I removed the ids)
"{\"error\":{\"code\":\"BadRequest_NotFound\",\"message\":\"No HTTP resource was found that matches the request URI 'api.businesscentral.dynamics.com/.../Microsoft.NAV.uninstallAndDeleteExtensionData?tenant=msweua...&aid=FIN'. CorrelationId: ....\"}}"
What am I doing wrong ? Are there some differences that I should know when I call uninstallAndDeleteExtensionData, compared to uninstall ?
Thank you in advance.