
Announcements
Hi,
Due to some permissions problem I'm doing a flow to deploy a SharePoint Framework solution (.sppkg) to the SharePoint app catalog.
I'm receiving a sppkg file on a library.
The flow picks it up and then I need to use a REST API to deploy it to the app catalog. (_api/web/TenantAppCatalog/Add(overwrite=true,url='/sites/apps/AppCatalog/@{triggerOutputs()?['headers/x-ms-file-name-encoded']}')
The request should have a binary body with the file.
Unfortunately the flows picks it up receiving the file in base64 and when I convert it the encoding is not correct. The file is in ANSI and the conversion converts it into UTF-8 rendering the file useless.