---
title: "SharePoint Online app deployment guide"
canonical_url: "https://www.nutrient.io/guides/document-converter/sharepoint/knowledge-base/programmatically-deploy-the-sharepoint-online-app-spfx-extension-and-workflow-actions-to-multiple-site-collections/"
md_url: "https://www.nutrient.io/guides/document-converter/sharepoint/knowledge-base/programmatically-deploy-the-sharepoint-online-app-spfx-extension-and-workflow-actions-to-multiple-site-collections.md"
last_updated: "2026-06-24T08:10:54.112Z"
description: "Learn how to programmatically deploy SharePoint Online apps, SPFx extensions, and workflow actions across multiple site collections with this comprehensive guide."
---

# Effortlessly deploy SharePoint Online apps and extensions

This article describes how to programmatically deploy the Muhimbi SharePoint Online App, the optional SharePoint Framework Extension for Modern Views, as well as the optional SharePoint Designer workflow actions.

For Muhimbi's [Microsoft Power Automate (Flow), Azure Logic Apps](/guides/document-converter/power-automate/knowledge-base/microsoft-flow-logic-apps-powerapps-tutorials-and-blog-posts.md) and [API integration](https://github.com/Muhimbi/PDF-Converter-Services-Online), no deployment steps are required. Microsoft makes our facilities available out-of-the-box.

Please keep in mind that the provided PowerShell scripts are a starting point. Adjust it for your exact requirements.

**Programmatically deploying the App**

SharePoint Online Apps are typically easy to deploy, [a few clicks in the SharePoint Online App Store](/guides/document-converter/sharepoint/knowledge-base/installing-the-pdf-converter-for-sharepoint-online-app.md) and you are done.

However, some organisations need to deploy our App to thousands of site collections. We recommend using SharePoint Online's built in mechanism for automating this, the [App Catalog.](https://docs.microsoft.com/en-gb/sharepoint/use-app-catalog?redirectSourcePath=%252fen-gb%252farticle%252fUse-the-App-Catalog-to-make-custom-business-apps-available-for-your-SharePoint-Online-environment-0b6ab336-8b83-423f-a06b-bcc52861cba0)&nbsp;However, for some scenarios the facilities of the App Catalog are too limited.

The logical next step is to automate the deployment using code, typically using PowerShell. The steps for doing this are as follows:

1. [Download](https://buy.muhimbi.com/Images---Files/PDF-Converter-SP-Online/Muhimbi-DocumentConverter-O365-App.aspx) the Muhimbi Document Converter App.

2. [Download](https://buy.muhimbi.com/Images---Files/PDF-Converter-SP-Online/InstallMuhimbiApp.aspx) the sample PowerShell script for deploying the App.

3. If not already done, [install](https://www.microsoft.com/en-us/download/details.aspx?id=35588) the SharePoint Online management shell.

4. Edit the PowerShell script for your requirements, or use it as is, and execute it.

5. Once the App has been deployed programmatically it needs to be trusted. Follow the 'Centrally elevate the App on all site collections' instructions in [this Knowledge Base article](/guides/document-converter/sharepoint/knowledge-base/installing-the-pdf-converter-for-sharepoint-online-workflow-actions.md). At the time of writing it is not possible to programmatically trust a SharePoint Online App.

**Programmatically deploying the SharePoint Designer Workflow Actions**

The Muhimbi Document Converter for SharePoint Online comes with an [optional set of SharePoint Designer Workflow Actions](https://www.nutrient.io/guides/document-converter/sharepoint/conversion.md) to automate processes. [Manual deployment is easy](/guides/document-converter/sharepoint/knowledge-base/installing-the-pdf-converter-for-sharepoint-online-workflow-actions.md), but if the workflow actions need to be rolled out to a large number of site collections, then a little bit of automation goes a long way.

Steps are as follows:

1. For sites that have been created as 'Modern Sites', custom scripts are disabled by default. Please enable it&nbsp;[as per this Microsoft Article](https://support.office.com/en-us/article/allow-or-prevent-custom-script-1f2c515f-5d7e-448a-9fd7-835da935584f%20).

2. Make sure that that App is deployed to all Site collections that require the workflow actions. The Workflow Actions will not work without the App being present on the same site collection.

3. [Download](https://buy.muhimbi.com/Images---Files/PDF-Converter-SP-Online/Muhimbi-DocumentConverter-O365-WFActions-\(9-10\).aspx) the Workflow Actions.

4. [Download](https://buy.muhimbi.com/Images---Files/PDF-Converter-SP-Online/InstallMuhimbiWSP.aspx) the sample PowerShell script for deploying the App.

5. If not already done, [install](https://www.microsoft.com/en-us/download/details.aspx?id=35588) the SharePoint Online management shell.

6. Edit the PowerShell script for your requirements, or use it as is, and execute it.

7. Once the WSP has been deployed programmatically the Feature is enabled by default at the root site collection. To enable it on sub-sites, add custom code to the script that matches your requirements, or manually execute [steps 8-10 in the installation instructions](/guides/document-converter/sharepoint/knowledge-base/installing-the-pdf-converter-for-sharepoint-online-workflow-actions.md).

**Programmatically deploying the SPFx Extension**

Use the steps described below to deploy the optional SPFx extension programmatically. This will make the extension available to all existing as well as new site collections in the tenant. Manual installation steps [can be found here](/guides/document-converter/sharepoint/knowledge-base/enabling-real-time-watermarking-on-modern-view-libraries.md).

1. [Download the SPFx extension](https://buy.muhimbi.com/Images---Files/PDF-Converter-SP-Online/Muhimbi-DocumentConverter-O365-AppExt.aspx).

2. [Download the sample PowerShell script](https://buy.muhimbi.com/Images---Files/PDF-Converter-SP-Online/InstallMuhimbiSPFx.aspx) for deploying the extension.

3. If not already done, [install the SharePoint Online management shell](https://www.microsoft.com/en-us/download/details.aspx?id=35588).

4. Make sure you have app catalog in your tenant. If not, [follow these instructions to create one](https://social.technet.microsoft.com/wiki/contents/articles/36933.sharepoint-online-create-app-catalog.aspx).

5. Edit the PowerShell script for your requirements, or use it as is, and execute it.

6. The script will upload the SPFx extension to the catalog and deploy it tenant wide.

Make sure you familiarise yourself with the manual installation steps, and related information [outlined in this Knowledge Base article](/guides/document-converter/sharepoint/knowledge-base/enabling-real-time-watermarking-on-modern-view-libraries.md).

---

## Related pages

- [Understanding file check-in and checkout in SharePoint](/guides/document-converter/sharepoint/knowledge-base/are-files-checked-in-out-after-conversion.md)
- [Streamline document conversion in SharePoint](/guides/document-converter/sharepoint/knowledge-base/automatic-document-conversion-workflow-getting-started.md)
- [How to resolve the issue of Blink binaries (Portable Chromium) no longer being included?](/guides/document-converter/sharepoint/knowledge-base/alternative-options-to-portable-chromium.md)
- [Understanding automatic check-in for SharePoint Online](/guides/document-converter/sharepoint/knowledge-base/automatic-check-in-behaviour-in-sharepoint-online.md)
- [Configuring Chromium-based HTML-to-Document converter](/guides/document-converter/sharepoint/knowledge-base/configuring-chromium-based-html-to-pdf-converter.md)
- [Effortlessly convert SharePoint list items to PDF](/guides/document-converter/sharepoint/knowledge-base/convert-a-list-item-including-all-attachments-to-pdf.md)
- [Converting InfoPath/Nintex form-based list items using Nutrient Document Converter](/guides/document-converter/sharepoint/knowledge-base/converting-infopath-nintex-forms-based-list-items-using-the-muhimbi-pdf-converter.md)
- [How to avoid Microsoft Office as a dependency?](/guides/document-converter/sharepoint/knowledge-base/avoiding-microsoft-office-as-dependency.md)
- [How to enable custom scripts in SharePoint Online](/guides/document-converter/sharepoint/knowledge-base/enable-custom-scripts-in-sharepoint-online.md)
- [Effortless document workflows with SharePoint Designer](/guides/document-converter/sharepoint/knowledge-base/creating-workflows-using-sharepoint-designer-the-muhimbi-pdf-converter.md)
- [How can I request a trial license?](/guides/document-converter/sharepoint/knowledge-base/how-can-i-request-a-trial-license.md)
- [How to specify which InfoPath view(s) to convert?](/guides/document-converter/sharepoint/knowledge-base/how-can-i-specify-which-infopath-view-s-to-convert.md)
- [Elevate App Privileges to Access Advanced Features (Old Version)](/guides/document-converter/sharepoint/knowledge-base/elevate-app-privileges-old-version.md)
- [How to harden and secure the server running the Conversion Service?](/guides/document-converter/sharepoint/knowledge-base/hardening-securing-the-server-that-runs-the-conversion-service.md)
- [What do I get if I subscribe to Document Converter Online?](/guides/document-converter/sharepoint/knowledge-base/difference-between-sharepoint-app-and-power-automate-features.md)
- [How does Document Converter handle InfoPath XSN files?](/guides/document-converter/sharepoint/knowledge-base/how-does-the-pdf-converter-deal-with-infopath-xsn-files.md)
- [Optimize Nintex workflows with document conversion](/guides/document-converter/sharepoint/knowledge-base/how-can-i-use-the-pdf-converter-in-combination-with-nintex-workflow.md)
- [Unlock advanced features in SharePoint Document Converter](/guides/document-converter/sharepoint/knowledge-base/how-to-elevate-app-privileges-to-access-advanced-features.md)
- [Deploying real-time watermarking in SharePoint](/guides/document-converter/sharepoint/knowledge-base/enabling-real-time-watermarking-on-modern-view-libraries.md)
- [How to resolve the issue of iFrame, Embed, and Object entities being automatically removed?](/guides/document-converter/sharepoint/knowledge-base/iframe-embed-object-entities-are-removed.md)
- [How can I use the GdPicture Conversion Engine globally?](/guides/document-converter/sharepoint/knowledge-base/how-to-use-gdpicture-conversion-engine-globally.md)
- [How well does Document Converter scale and handle high load?](/guides/document-converter/sharepoint/knowledge-base/how-well-does-the-pdf-converter-scale-deal-with-high-load.md)
- [Find your SharePoint Online Tenancy ID in minutes](/guides/document-converter/sharepoint/knowledge-base/how-to-determine-your-sharepoint-online-tenancy-id.md)
- [How to edit the Conversion Service configuration file?](/guides/document-converter/sharepoint/knowledge-base/how-to-edit-the-conversion-service-s-configuration-file.md)
- [Knowledge Base: SharePoint Document Converter](/guides/document-converter/sharepoint/knowledge-base.md)
- [Deploying Muhimbi Document Converter in SharePoint 2013](/guides/document-converter/sharepoint/knowledge-base/installing-wsp-in-sharepoint-2013-running-2010-legacy-mode.md)
- [Install Document Converter for SharePoint](/guides/document-converter/sharepoint/knowledge-base/installing-the-pdf-converter-for-sharepoint-online-app.md)
- [Optimize PDFs with advanced OCR features](/guides/document-converter/sharepoint/knowledge-base/ocr-facilities-provided-by-the-pdf-converter.md)
- [Secure document processing for SharePoint Online](/guides/document-converter/sharepoint/knowledge-base/how-does-the-pdf-converter-for-sharepoint-online-deal-with-private-documents.md)
- [Office 2019 Compatibility with Muhimbi Document Converter](/guides/document-converter/sharepoint/knowledge-base/office-2019-compatibility-with-pdf-converter.md)
- [Set up document converter for SharePoint workflows](/guides/document-converter/sharepoint/knowledge-base/installing-the-pdf-converter-for-sharepoint-online-workflow-actions.md)
- [How to install and configure Ghostscript for PDF post-processing](/guides/document-converter/sharepoint/knowledge-base/installing-and-configuring-ghostscript-for-pdf-post-processing.md)
- [FAQs on SharePoint Online Document Converter](/guides/document-converter/sharepoint/knowledge-base/pdf-converter-for-sharepoint-online-faq.md)
- [Document Converter in SharePoint Subscription Edition and the stsadm command](/guides/document-converter/sharepoint/knowledge-base/pdf-converter-in-sharepoint-subscription-edition-and-the-stsadm-command.md)
- [Optimize PDFs: Fast Web Views and font management](/guides/document-converter/sharepoint/knowledge-base/set-pdf-version-enable-fast-web-views-embed-strip-fonts-using-web-services.md)
- [Optimize PDF viewer preferences effectively](/guides/document-converter/sharepoint/knowledge-base/setting-pdf-viewer-preferences-using-the-web-service.md)
- [or](/guides/document-converter/sharepoint/knowledge-base/print-quality-configuration.md)
- [Convert SharePoint Online pages to PDF easily](/guides/document-converter/sharepoint/knowledge-base/sharepoint-online-html-conversion-user-credentials.md)
- [Optimize SharePoint with K2 Workflow Document Converter](/guides/document-converter/sharepoint/knowledge-base/using-pdf-converter-in-combination-with-k2-workflows.md)
- [Streamline PDF conversions in SharePoint Online](/guides/document-converter/sharepoint/knowledge-base/using-the-pdf-converter-for-sharepoint-online-user-interface.md)
- [Upgrade to Muhimbi Document Converter for SharePoint](/guides/document-converter/sharepoint/knowledge-base/upgrading-to-pdf-converter-for-sharepoint-online-spfx.md)
- [Convert documents with SharePoint PDF converter](/guides/document-converter/sharepoint/knowledge-base/what-locations-can-i-convert-documents-to.md)
- [Effortless PDF merging with SharePoint tools](/guides/document-converter/sharepoint/knowledge-base/what-pdf-merging-facilities-are-available.md)
- [How to set GdPicture OCR as the default OCR engine?](/guides/document-converter/sharepoint/knowledge-base/set-up-gdpictureocr-as-default-ocr-engine.md)
- [Where can I download the latest version of the software?](/guides/document-converter/sharepoint/knowledge-base/where-can-i-download-the-latest-version-of-the-software.md)
- [What features have been added to Document Converter over the years?](/guides/document-converter/sharepoint/knowledge-base/what-features-have-been-added-to-the-pdf-converter-over-the-years.md)
- [Where to find details about Document Converter's object model?](/guides/document-converter/sharepoint/knowledge-base/where-can-i-find-details-about-the-pdf-converter-s-object-model.md)
- [Watermark and secure OnOpen in SharePoint Online FAQ](/guides/document-converter/sharepoint/knowledge-base/watermark-secure-onopen-in-sharepoint-online-faq.md)
- [Using the Document Converter from PowerShell](/guides/document-converter/sharepoint/knowledge-base/using-the-pdf-converter-from-powershell.md)
- [Convert various file formats to PDF easily](/guides/document-converter/sharepoint/knowledge-base/what-file-formats-types-are-supported-for-conversion.md)

