OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
682 stars 95 forks source link

Add-ins deployed in PowerShell have not been deployed after 24 hours. #5023

Open mailchecktool-admin opened 1 week ago

mailchecktool-admin commented 1 week ago

Your Environment

About the Issue

We recently deployed an Outlook add-in throughout our organization using Powershell. The documentation states that add-ins can take up to 24 hours to appear to users after centralized deployment, but over 30 hours later, the add-ins are still not deployed. Documentation ▷https://learn.microsoft.com/ja-jp/microsoft-365/admin/manage/centralized-deployment-faq?view=o365-worldwide#-------------------------------------- The add-ins are deployed using Powershell, which I reinstalled after removing the originally installed add-ins. The steps are listed below. We have tried clearing the cache, but that did not improve the issue. Is it correct that it can take up to 24 hours for the add-in to deploy to all users? Is there a solution to this event? I am having trouble getting users in my organization to use the add-in.

deployment procedure

After connecting to AddInService with PowerShell, the add-ins were deployed as follows

  1. Uninstall the originally installed add-in Remove-OrganizationAddIn -ProductId “ProductId”
  2. Install a new add-in New-OrganizationAddIn -ManifestPath 'ManifestPath' -Locale 'ja-JP'
  3. Re-deploy the add-in to the organization Set-OrganizationAddInAssignments -ProductId “ProductId” -AssignToEveryone $true
  4. Wait 24 hours after deployment
DivyaPatidar commented 1 week ago

@mailchecktool-admin Could you please share the network logs from the start of Outlook for one of the users in the tenant? You can find the instructions on how to collect the logs here.

mailchecktool-admin commented 2 days ago

@DivyaPatidar Should the network log from Outlook startup be taken in PowerShell when the add-in has not been installed for 24 hours? It's been a few days now and the add-in is finally being deployed to everyone. To give you an idea of the current situation, I deleted the add-in that was installed when I mentioned the problem and reinstalled another add-in. The newly deployed add-in was installed within 24 hours, but the add-in that should have been deleted continues to remain. The problem is that the redeployed add-ins are not deployed within 24 hours, The problem seems to be two types of problems: add-ins that have been deleted are not deleted within 24 hours.

mmanjaree-msft commented 22 hours ago

Network logs should be captured after powershell command is executed and you open outlook. Also is the desktop app being used new outlook or classic outlook?