Forum Discussion
Teams message extension on outlook
Hi PedroKlein - Thanks for raising the query.
We will look into it and let you know the updates.
Update: To make your message extension appear only in Microsoft Teams and not in Outlook, follow these steps:
Update Your App Manifest
1. Open your app manifest file.
2. Update the $schema
and manifestVersion
to ensure the extension runs only in Teams:
{
"$schema" : "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion" : "1.16"
}
Remove Microsoft 365 Channel Configuration
- Go to the Microsoft Azure portal or Bot Framework portal.
- Navigate to your bot resource.
- In the Settings section, go to Channels.
- Under Available channels, make sure to remove the Microsoft 365 channel configuration if enabled.
- Save the changes to ensure that your message extension is no longer available in Outlook.
Re-upload your updated app package into Teams and verify the extension is no longer visible in Outlook. If you have any further questions or need more assistance, feel free to ask!
For more information, you can refer to the Microsoft Teams platform documentation.
- PedroKleinMay 21, 2024Copper ContributorHi Dinesh-MSFT, thanks for the quick reply! Unfortunately we already have those criteria met, but our message extension still appears on outlook, and with an error since the Microsoft 365 channel is not set.
- Dinesh-MSFTJun 10, 2024Microsoft
Hi PedroKlein,
Could you please refer this sample Microsoft-Teams-Samples/samples/msgext-search/csharp at main ยท OfficeDev/Microsoft-Teams-Samples (github.com). - J_cNov 07, 2024Copper Contributor
PedroKleinI'm running into the same issue. Did you determine how to stop the message extension from showing up in Outlook?
- PedroKleinNov 08, 2024Copper Contributor
No ๐