I am using Azure Pipeline to upload the SharePoint application(.sppkg file) to app catalog and deploy it in the app catalog. It was working fine till the file size was within 10MB. now with just 11MB app file, m365 cli fails with the below error:
m365 spo app add -p $(sppkg file) --overwrite --scope sitecollection --appCatalogUrl $(site url)
Error: Request body larger than maxBodyLength limit
I got the same error when tried from my local machine also.
Pipeline agent:
windows-2019
node v10.x
m365 CLI v4.2.0
local pc:
windows-10
node v16.3.0
m365 CLI v4.2.0
I am using Azure Pipeline to upload the SharePoint application(.sppkg file) to app catalog and deploy it in the app catalog. It was working fine till the file size was within 10MB. now with just 11MB app file, m365 cli fails with the below error:
m365 spo app add -p$(sppkg file) --overwrite --scope sitecollection --appCatalogUrl $ (site url)
Error: Request body larger than maxBodyLength limitI got the same error when tried from my local machine also.
Pipeline agent:
windows-2019
node v10.x
m365 CLI v4.2.0
local pc:
windows-10
node v16.3.0
m365 CLI v4.2.0