From 1478bb30dad1458beedc279f1ed6f35e2bca4742 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Fri, 13 Oct 2023 23:38:15 +0530 Subject: [PATCH] Update use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins.md Added PS steps to install the module before importing Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12935 --- ...ed-deployment-powershell-cmdlets-to-manage-add-ins.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/microsoft-365/enterprise/use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins.md b/microsoft-365/enterprise/use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins.md index c441c6f16c2..a0476b99310 100644 --- a/microsoft-365/enterprise/use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins.md +++ b/microsoft-365/enterprise/use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins.md @@ -25,9 +25,14 @@ description: "Use the Centralized Deployment PowerShell cmdlets to help you depl # Use the Centralized Deployment PowerShell cmdlets to manage add-ins -As a Microsoft 365 global admin, you can deploy Office Add-ins to users via the Centralized Deployment feature (see [Deploy Office Add-ins in the admin center](../admin/manage/manage-deployment-of-add-ins.md). In addition to deploying Office Add-ins via the Microsoft 365 admin center, you can also use Microsoft PowerShell. Install the [O365 Centralized Add-In Deployment Module for Windows PowerShell](https://www.powershellgallery.com/packages/O365CentralizedAddInDeployment). +As a Microsoft 365 global admin, you can deploy Office Add-ins to users via the Centralized Deployment feature (see [Deploy Office Add-ins in the admin center](../admin/manage/manage-deployment-of-add-ins.md). In addition to deploying Office Add-ins via the Microsoft 365 admin center, you can also use Microsoft PowerShell. -After you download the module, open a regular Windows PowerShell window and run the following cmdlet: +Open a regular Windows PowerShell window and run the following cmdlet to install the module: + +```powershell +Install-Module -Name O365CentralizedAddInDeployment +``` +Run the following cmdlet to import the module: ```powershell Import-Module -Name O365CentralizedAddInDeployment