Verifying Hoxhunt add-in deployment via PowerShell

Sometimes there might be doubts whether add-in deployment has been completed successfully. While there's no centralized way to verify the deployed Outlook add-in is actually visible in the Outlook client of your end users, you can check if the technical side of the deployment has been completed. Best way to show the proof of this is via PowerShell.

NOTE

In the below examples, we are referring to the generic version of Hoxhunt add-in.

If you are using a custom add-in, please look for the correct Identity value from your add-in manifest.

Identity_AppID.png


 

Check add-in's details from the add-in's point of view

foreach($G in (Get-OrganizationAddIn)){Get-OrganizationAddIn -ProductId $G.ProductId | Format-List}

Learn more: https://learn.microsoft.com/en-us/microsoft-365/enterprise/use-the-centralized-deployment-powershell-cmdlets-to-manage-add-ins?view=o365-worldwide#get-details-of-an-add-in

 

Checks deployment details from all users' point of view in Exchange PowerShell

Connect-ExchangeOnline
Get-App -OrganizationApp -Identity "41f6a6f2-f271-4d8a-8508-26ded39437af" | Format-List DisplayName,AppId,Enabled,Default*,ProvidedTo,UserList

Learn more: https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/get-app?view=exchange-ps

 

Check if specific add-in is deployed to a specific user

Connect-ExchangeOnline
Get-App -Identity "41f6a6f2-f271-4d8a-8508-26ded39437af" -Mailbox user@domain.com | Format-List DisplayName

 

 

What you cannot reliably check via PowerShell

PowerShell cannot confirm:

* Whether Outlook desktop client has finished syncing add-in information
* Whether the add-in's ribbon button is actually rendered in the Outlook client
* Whether the add-in failed client-side due to manifest or Office version related issues

For that, you need:

* Visual confirmation
* Client logs (especially for OfficeJS add-ins)

 

Was this article helpful?

2 out of 2 found this helpful

Have more questions? Submit a request