OfficeDev / office-js-docs-pr

Microsoft Office Add-ins Documentation
https://learn.microsoft.com/office/dev/add-ins
Creative Commons Attribution 4.0 International
403 stars 248 forks source link

There's no way to remove a sideloaded add-in on web or windows #1137

Closed jasonqsong closed 4 years ago

jasonqsong commented 5 years ago

In office 365 word web app, after manually uploading the manifest.xml file, the button stick on the ribbon menu and the add-in doesn't shown in the my-addins page


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jasonqsong commented 5 years ago

On Web:

image

image

On Windows:

image

Rick-Kirkham commented 5 years ago

It is normal for sideloaded add-ins to not appear in the MY ADD-INS tab. This repo is used to track errors in the documentation. For technical puzzles like this, please raise the issue on Stack Overflow and be sure to tag it office-js. This will help the whole community benefit from the answers that you get.

andrewkittredge commented 4 years ago

This is not a technical puzzle, there is no documented way to uninstall sideloaded add-in.

nilswloewen commented 4 years ago

I cannot find any answers to this on stackoverflow either. I have tried to add a few sample add-ins, and now there seems to be no room on the toolbar to add any more.

AlexJerabek commented 4 years ago

Hi @andrewkittredge and @nilswloewen,

To remove sideloaded add-ins, you'll need to clear the Office cache. The instructions on how to do this are in this article. Please let me know if that solves your ribbon overcrowding.

I'm going reorganize and rename some articles to make this solution more clear. I'll reopen this issue to track that work.

nilswloewen commented 4 years ago

That solves it, thank you for the help.

mikehearn commented 3 years ago

The article is helpful for the desktop apps, but doesn't say what to do about the web. I've installed an add-in into Excel via the upload path, and now there seems to be no way to get rid of it. Every new document now has my add-in, and because at some point I had to alter the manifest I re-uploaded it, and now it's there twice!

Can you please document how to clear the uploaded add-ins for Excel for Web? (I'm assuming here, that there actually is a way to do it).

mikehearn commented 3 years ago

For anyone else who finds this, it turns out that it actually is documented, but not in the "clear office caches" section of the site. On the web the office cache is just the browser cache.

~NB: Clearing "cached files" is not sufficient. I tried that at first and it didn't work. In Chrome, there doesn't seem to be any way to clear individual sites anymore, so you'll have to clear out everything from within the time range in which you installed the add-in. Then restart Chrome. Then delete the workbooks you uploaded it to (I think?). Then you should be free of the add-in.~

~Edit: or not. It came back! It seems the add-in manifest is being cached somewhere else too. BTW I have the add-in installed into Excel locally as well, so maybe it's picking it up from there?~

Sigh, apologies for the noise. Clearing the cache and cookies does work. I'd asked my IT dept to push the add-in and was trying to remove the sideloaded version in anticipation. After the first failed attempt I thought the second had failed too, but in fact, the add-in had been pushed about 30 seconds after I successfully uninstalled the sideloaded version, so I didn't realise it'd been swapped!

AlexJerabek commented 3 years ago

Thanks for sharing your experience @mikehearn. We'll use your comments to improve the documentation and make the information about clearing the browser cache more clear. @alison-mk, can you please create a follow-up item and look into these improvements?

alison-mk commented 3 years ago

@AlexJerabek Sure thing. I've created an internal work item to track these improvement suggestions: Link to internal work item.