Prerequisites
Please answer the following questions before submitting an issue.
Expected behavior
The outlook add-in should have been uninstalled / unacquired.
Current behavior
Running npx office-addin-debugging stop manifest.json does not properly uninstall the outlook add-in.
$ npx office-addin-debugging stop manifest.json
Debugging is being stopped...
running: npx -p @microsoft/m365agentstoolkit-cli atk uninstall --mode manifest-id --manifest-id 19bfdd21-31c2-4d12-897f-bf9082c96ed8 --interactive false
Successfully uninstalled!
If I then manually run
npx -p @microsoft/m365agentstoolkit-cli atk uninstall --mode manifest-id --manifest-id 19bfdd21-31c2-4d12-897f-bf9082c96ed8 --interactive false --options m365-app
(note the addition of --options m365-app)
it actually uninstalls it:
$ npx -p @microsoft/m365agentstoolkit-cli atk uninstall --mode manifest-id --manifest-id 19bfdd21-31c2-4d12-897f-bf9082c96ed8 --interactive false --options m365-app
Microsoft 365 Application of Title ID: U_ab518969-b81c-b2ab-9f58-27409b1f8b5f successfully uninstalled.
The uninstallation of the Microsoft 365 Application may be delayed.
office-addin-debugging stop is not adding --options m365-app to the call to atk uninstall
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- create an outlook task pane add-in via yo office (following the https://learn.microsoft.com/en-us/office/dev/add-ins/develop/yeoman-generator-overview)
- npm start
- close outlook
- npm stop
- either restart outlook and wait a minute and see the add-in is still there, or manually run atk uninstall with
--options m365-app to see it properly uninstall it (and not error because it doesn't exist).
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Operating System: Windows 11
- Node version: 24
- Office version: latest
- Tool version: office-addin-debugging 6.1.1
Prerequisites
Please answer the following questions before submitting an issue.
Expected behavior
The outlook add-in should have been uninstalled / unacquired.
Current behavior
Running
npx office-addin-debugging stop manifest.jsondoes not properly uninstall the outlook add-in.If I then manually run
(note the addition of
--options m365-app)it actually uninstalls it:
office-addin-debugging stopis not adding--options m365-appto the call toatk uninstallSteps to Reproduce
Please provide detailed steps for reproducing the issue.
--options m365-appto see it properly uninstall it (and not error because it doesn't exist).Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.