-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninstall application package with json manifest by manifest id not working #13094
Comments
👋 Hi @tranhuyentran23, Thank you for reporting this issue! We want to let you know that: ⏱️ Our team will personally review your issue ✨ This is an AI-generated initial response To address the issue with uninstalling the application package by manifest id, follow these steps to troubleshoot and resolve the problem:
Example Steps for Troubleshooting
If the problem persists after following these steps, consider providing more details about the error message you are receiving. This will help in diagnosing the issue more precisely. For additional support, you can also refer to related issues on GitHub, such as:
By following these steps, you should be able to identify and resolve the issue with uninstalling the application package by manifest id.
|
Thank you for reporting this, we will check this and get back to you. |
@tranhuyentran23 - We tested this at our end, and we are able to run the uninstall command successfully. Could you please confirm that you have used correct manifest id only? |
Hi @Meghana-MSFT , I tried with a sample zip package that using schema: Could you help to take a look at my sample json that I was using, and let me know if I missed any config. Thanks!
|
We will check this internally and get back to you. |
@tranhuyentran23 could you provide which Contoso sample you are using? Note that you are using vDevPreview manifest. Could you please change to 1.19 manifest version and try again? |
Hi @summzhan |
Hi @tranhuyentran23, I suspect that the app was not installed successfully, which caused the uninstallation to fail. Could you try provisioning the app first? Then, go to Microsoft Teams Developer Portal, click your app, and click "Preview in Teams" in the top right corner. If the app cannot be installed, you might need to recheck your manifest file. |
Hi @anchenyi , I tried with command line but I cannot find this add-in from Microsoft Teams Developer Portal and a note that I still can uninstall this add-in successfully with titleId mode |
hi @tranhuyentran23, forget about the Teams Developer Portal. I found that TTK cannot retrieve the launch info of a Office Add-in app from the MOS API. This means that given a manifest ID of an Office Add-in app, TTK cannot obtain its title ID, causing the uninstallation to fail. I will continue investigating why we failed to get the launch info. In the meantime, you can uninstall the app using the title ID mode as a temporary workaround. Thanks for reporting this! |
@anchenyi I'm also encountering the same issue. But the workaround doesn't entirely work for me: The only way I can get the But note that I don't get the feedback that @tranhuyentran23 gets:
So, it is unclear if the add-in is being completely uninstalled. Outlook add-ins are different from WXP add-ins because in addition to being registered on the local client, Outlook add-ins are registered in the user’s Exchange service online. This registration has to be removed or every time Outlook is launched, the add-in’s manifest is re-downloaded from Exchange to the client and the add-in reappears on the Outlook ribbon. Also, the workaround is not reliable because it can only be used if the developer makes a record of the titleID at the time of installation. There seems to be no way of discovering what the title ID is otherwise. Office Add-ins developer docs refers to the |
Hi @Rick-Kirkham , in the first screenshot, you need to select "Title ID" in response to the question "Choose a way to clean up resources". In the second screenshot, you need to add In your case, please try running: Regarding our failure to retrieve the title ID from the manifest ID of Outlook add-in apps, this is due to an upstream API issue. We are working with the related team to determine how to resolve it. I will post any updates here as soon as I have them. Sorry for the inconvenience. |
Describe the bug
To Reproduce
Sideload the application package with json manifest by command line:
teamsapp install --file-path appPackage.zip
Observe the manifest sideloaded successfully
Uninstall the sideloaded manifest by manifest id
teamsapp uninstall -i false --mode manifest-id --manifest-id <manifestId> --options m365-app
(manifestId is the "id" property of the json manifest as definition in document)
An error was shown
Expected behavior
The sideloaded manifest will be uninstall successfully without any errror
Screenshots
VS Code Extension Information:
The text was updated successfully, but these errors were encountered: