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
686 stars 95 forks source link

Outlook: Unable to remove sideloaded add in #3676

Closed JMMM77 closed 1 year ago

JMMM77 commented 1 year ago

Provide required information needed to triage your issue

Sometimes I am unable to remove a sideloaded manifest from the classic Outlook on Windows client as the remove button is greyed out. The add-in is able to be removed from the new (preview) Outlook on Windows client.

Only by removing the add-in using the new Outlook on Windows and still using the new version does the add-in no longer affect emails, however, the add-in is still installed on the old Outlook client even when the cache is cleared. I have to wait a few hours for the add-in to be removed from the old client. Also, sideloading an add-in with the same ID does not override the manifest.

So if I want to test a specific feature of the add-in I have to wait for the add-in to be removed.

Your Environment

Expected behavior

The remove button on the new, old Outlook for Windows and OWA is able to be accessed and once the add-in is removed from one of these clients, the changes are reflected across all instantly.

Current behavior

The classic Outlook on Windows, add-in has the remove button greyed out. image

In the new Outlook on Windows, the remove button is available but changes are not reflected in the classic Outlook client or OWA until after a few hours.

Steps to reproduce

Was unable to reproduce consistently but by installing the add-in and using it for a bit I was unable to remove it afterwards.

  1. Download the manifest.xml file from: https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/outlook-set-signature
  2. Side-load the manifest file using the classic Outlook on Windows client

image

  1. Create a new email, click on the Set My Signature button in the ribbon, and wait for the task pane to load
  2. Restart Outlook
  3. Check the Get Add-ins and see if the add-in is unable to be removed

Link to live example(s)

Provide additional details

  1. A colleague with Windows 11 is also experiencing this issue
  2. Also noticed similar GitHub issues:
  3. Created VM with new Office install and saw that I was still unable to remove the add-ins from the classic Outlook app
  4. I have tried clearing %LOCALAPPDATA%\Microsoft\Office\16.0\Wef and %localappdata%\Microsoft\Outlook\HubAppFileCache but it still did not resolve the issue

Context

As the add-in is not removed from the classic outlook client I have to remove the sideloaded add-in using the new Outlook Client and then wait until the next day before I can try testing on the classic outlook on Windows client.

avisheknand commented 1 year ago

Hello,

I was facing this similar issue last week. Had to remove the side load add-in from the OWA, since Outlook on desktop greyed out the remove option. It took around 24 hours to remove from the Outlook desktop after removing from OWA

bas-eenhoorn commented 1 year ago

They changed some things, and now they are removed after like at least a day. Its sooo annoying, it worked perfectly. You could remove an addin and it would remove right away. Now you cant even install addins without searching 15 minutes to find the upload screen you screenshot. You have to go to Outlook Desktop, then File, then Info, then Manage Add-Ins, and it will open a web browser with that screen. You cant open that screen from the website itself.

I dont know what they did, but they royally messed it up. Like, it worked perfectly. Now they, for whatever blasphemous reason, remove the upload button, and literally break the delete add-in functionality?

Why do ruin things that work properly lol. Sorry, i needed to rant.

gbl-Time commented 11 months ago

I experience the samme issue when installing/uninstalling Outlook office add-in using manifest file.

The add-in somestimes takes a long time to install/appear in both Outlook desktop as well as Outlook webmail.

Also, when removing the add-in it takes an unknown amount of hours before the add-in is actually removed.

Months ago I did not have this problem. Now I do.

rajjha-msft commented 9 months ago

Hey @gbl-Time

Is the issue still a repro for you ?

gbl-Time commented 9 months ago

Hey @rajjha-msft

Yes, we still experience this as a problem. In fact we also see that even when using the "Intergrated Apps" from the Portal, it sometimes takes many hours to add or remove.

We also see cases where the Office AddIn versions for the same user are different between Desktop New Outlook and Outlook Webmail.

ndeleuze commented 8 months ago

@gbl-Time just to confirm, are you still experiencing long install / uninstall time when sideloading an add-in?

For the other issues you have mentioned, please open separate forum posts to address these.

gbl-Time commented 8 months ago

Still experience long deployment times, yes.

Have already created separate forum post:

https://github.com/OfficeDev/office-js/issues/4171

cody-lettau commented 3 months ago

Yes, we continually see 24-72+ hours for deployment/update of add-ins. This is absolutely unacceptable from a developer experience standpoint.

When will this be fixed? @exextoc @davidchesnut

ndeleuze commented 3 months ago

I see that this original post is quite old (September 2013), and the original experience mentioned in this post no longer exists for classic Outlook. I will close this case for now.

I also see that @gbl-Time has opened a separate post which has been closed.

@cody-lettau would you be able to open your own post with details describing your specific situation? The more information and suggestions that we get from our customers the stronger case we have during our planning discussions to prioritize. Thank you!