Updates from: 06/22/2021 03:14:07
Service Microsoft Docs article Related commit history on GitHub Change details
platform Subscribe To Conversation Events https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md
Not available
+## Uninstall behavior for personal app with bot
+
+> [!NOTE]
+> Uninstall behavior for personal app with bot is currently available only in [public developer preview](../../../resources/dev-preview/developer-preview-intro.md).
+
+When you uninstall an app, the bot is also uninstalled. When a user sends a message to your app, they receive a 403 response code. Your bot receives a 403 response code for new messages posted by your bot. The post uninstall behavior for bots in the personal scope with the Teams and groupChat scopes are now aligned. You cannot send or receive messages after an app has been uninstalled.
+
+<img src="~/assets/images/bots/uninstallbot.png" alt="Uninstall event" width="900" height="900"/>
+
+## Event handling for install and uninstall events
+
+When you use these install and uninstall events, there are some instances where bots give exceptions on receiving unexpected events from Teams. This occurs in the following cases:
+
+* You build your bot without the Microsoft Bot Framework SDK, and as a result the bot gives an exception on receiving an unexpected event.
+* You build your bot with the Microsoft Bot Framework SDK, and you select to alter the default event behavior by overriding the base event handle.
+
+It is important to know that new events can be added anytime in the future and your bot begins to receive them. So you must design for the possibility of receiving unexpected events. If you are using the Bot Framework SDK, your bot automatically responds with a 200 ΓÇô OK to any events you do not choose to handle.
+ ## Code sample | **Sample name** | **Description** | **.NET** | **Node.js** | **Python** |
platform First App Bot https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/get-started/first-app-bot.md
A messaging extension uses the [Bot Framework](https://docs.botframework.com) to
:::image type="content" source="../assets/images/teams-toolkit-v2/bot-file-layout.png" alt-text="File layout of a bot project.":::
-The bot code is stored in the `bot` directory. The `bots/teamsBot.js` is the main entry point for the bot, and the dialogs are stored in the `dialogs` directory.
+The bot code is stored in the `bot` directory. The `bot/teamsBot.js` is the main entry point for the bot, and the dialogs are stored in the `dialogs` directory.
> [!Tip] > Familiarize yourself with bots outside of Teams before you integrate your first bot within Teams. You can find more information about bots by reviewing the [Azure Bot Service](/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0&preserve-view=true) tutorials.
platform First App Spfx https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/get-started/first-app-spfx.md
The Toolkit automatically creates scaffolding for you in the project directory b
- The app manifest for publishing to Developer Portal for Teams is stored in `manifest.source.json`. - The settings you chose when creating the project are stored in `settings.json`.
-Since you selected an SPFx Webpart project, the following files are relevant to your UI:
+Since you selected a SPFx Webpart project, the following files are relevant to your UI:
- The folder `SPFx/src/webparts/{webpart}` contains your SPFx webpart. - The file `.vscode/launch.json` describes the debugging configurations available in the debug palette.
platform First Message Extension https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/get-started/first-message-extension.md
A messaging extension uses the [Bot Framework](https://docs.botframework.com) to
:::image type="content" source="../assets/images/teams-toolkit-v2/msgextn-file-layout.png" alt-text="File layout of a bot project.":::
-The bot code is stored in the `bot` directory. The `bots/messageExtensionBot.js` is the main entry point for the messaging extension.
+The bot code is stored in the `bot` directory. The `bot/messageExtensionBot.js` is the main entry point for the messaging extension.
> [!Tip] > Familiarize yourself with bots outside of Teams before you integrate your first bot within Teams. You can find more information about bots by reviewing the [Azure Bot Service](/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0&preserve-view=true) tutorials.
platform Prerequisites https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/get-started/prerequisites.md
# Prerequisites: Get started with Microsoft Teams app development
-Before your create your first Teams app, you must install a few tools and set up your development environment.
+Before you create your first Teams app, you must install a few tools and set up your development environment.
## Install required tools
-Some of the tools you need depend on how you you prefer to build your Teams app:
+Some of the tools you need depend on how you prefer to build your Teams app:
- [Node.js](https://nodejs.org/en/download/) (use the latest v14 LTS release) - A browser with developer tools - such as [Microsoft Edge](https://www.microsoft.com/edge) (recommended) or [Google Chrome](https://www.google.com/chrome/)
If you wish to host your app or access resources within Azure, you must have an
You must have access to two accounts: -- Your Microsoft 365 account credentials. This is the account that you use to sign in to Teams. If you're using an Microsoft 365 developer program tenant, this is the admin account you set up when you registered for the program.
+- Your Microsoft 365 account credentials. This is the account that you use to sign in to Teams. If you're using a Microsoft 365 developer program tenant, this is the admin account you set up when you registered for the program.
# [Visual Studio Code](#tab/vscode)
platform Auth Aad Sso https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/tabs/how-to/authentication/auth-aad-sso.md
Congratulations! You have completed the app registration prerequisites to procee
> > * ┬╣ If your AAD app is registered in the same tenant where you are making an authentication request in Teams, the user cannot be asked to consent and is granted an access token right away. Users only consent to these permissions if the AAD app is registered in a different tenant. > * ┬▓ If the custom domain is not added to AAD, you get an error stating that the host name must not be based on an already owned domain. To add custom domain to AAD and register it, follow the [add a custom domain name to AAD](/azure/active-directory/fundamentals/add-custom-domain) procedure, and then repeat step 5. You can also get this error if you are not signed in with Admin credentials in the Office 365 tenancy.
-> * If you are not receiving the user principal name (UPN)) in the returned access token, you can add it as an [optional claim](/azure/active-directory/develop/active-directory-optional-claims) in AAD.
+> * If you are not receiving the user principal name (UPN) in the returned access token, you can add it as an [optional claim](/azure/active-directory/develop/active-directory-optional-claims) in AAD.
### 2. Update your Teams application manifest
platform Design Effective Cards https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/task-modules-and-cards/cards/design-effective-cards.md
Title: Designing Adaptive Cards for your app description: Learn how to design Adaptive Cards for Teams and get the Microsoft Teams UI Kit.
-localization_priority: Normal
+localization_priority: Priority
platform Whats New https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/whats-new.md
Developer preview is a public program that provides early access to unreleased T
| **Date** | **Notes** | **Changed topics** | | -- | | |
+|06/21/2021|Uninstall behavior for personal app with bot | [Uninstall behavior updates in personal apps with bots](bots/how-to/conversations/subscribe-to-conversation-events.md#uninstall-behavior-for-personal-app-with-bot)|
|06/16/2021| Resource-specific consent for chats. |[Resource-specific consent](graph-api/rsc/resource-specific-consent.md), [Test resouce-specific consent permissions in Teams](graph-api/rsc/test-resource-specific-consent.md)| |05/26/2021|Build tabs with Adaptive Cards|[Build tabs](tabs/how-to/build-adaptive-card-tabs.md)| |05/25/2021| Updated Teams Toolkit for [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) and [Visual Studio](https://marketplace.visualstudio.com/items?itemName=msft-vsteamstoolkit.vsteamstoolkit&ssr=false#overview). | [Get started with Teams app development](~/get-started/prerequisites.md) |