This document is meant to be a workaround for deploying Add-In for clients that are experiencing issues with the default process of deploying the outlook plug-In.
Solution:
Deploy an add-in manifest
- Install-Module -Name O365CentralizedAddInDeployment
- Import-Module -Name O365CentralizedAddInDeployment
- Connect-OrganizationAddInService
- New-OrganizationAddIn -ManifestPath 'C:\Users\al\Downloads\SRC 365/Professional.xml' -Locale 'en-US'
Update an add-in
If you want to update the Add-In, and what I mean by Update is to move from Basic to Beginner, Business, Advanced, or Professional Add-In otherwise, like if there is a new version of the same manifest, you will need to remove the Add-In first then push the new manifest using the command line New-OrganizationAddIn as show above (Step 4).
So to update the Add-In you will need to:
I assume that you already run the Commands above (Step1 to Step3)
- You will need to show details on the install Add-In so we can get the product ID, to do so run the following command:
foreach($G in (Get-organizationAddIn)){Get-OrganizationAddIn -ProductId $G.ProductId | Format-List}
2. Copy the Product ID (Figure 4) then use it in the below command and provide also the path for the new manifest (Figure 3)
Set-OrganizationAddIn -ProductId 9c6eafb3-e8de-461a-916e-3e119d237ccc -ManifestPath 'C:\Users\al\Downloads\SRC365\Basic.xml' -Locale 'en-US'
Figure 3:
Remove the Add-In
To remove an Add-In you will need first to :
- Run the cmdlet to get the details for the Add-In Run the cmdlet to get the details for the Add-In
foreach($G in (Get-organizationAddIn)){Get-OrganizationAddIn -ProductId $G.ProductId | Format-List}
2. Run the cmdlet to remove the specific Add-In
Remove-OrganizationAddIn -ProductId 6a75788e-1c6b-4e9b-b5db-5975a2072122
Figure 4: