Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hello Akshay Babar,
Welcome to Microsoft Q&A .Thank you for reaching out.
Adding on to the inputs given by Kudos-Ng and Sayali-MSFT , please check if the following suggestion helps.
The observed behavior is caused by an invalid webApplicationInfo.resource configuration after adding Tab capability. For apps that include both a bot and a tab, Teams requires the Application ID URI to include a fully qualified domain name. When this requirement is not met, Teams initially grants permissions during installation but later revokes app‑level RSC permissions during background security synchronization, causing the bot to receive only @mention events.
As asked , this behavior is expected and can occur when a Teams app is updated to add tab capability without aligning the SSO configuration (webApplicationInfo). It is a known pattern related to how Teams revalidates permissions and authentication after such updates.
Please note that the existing installations are not always automatically upgraded to reflect new permission scopes, which is why reinstall temporarily resolves the issue.
After Tab support was added
- The app became a Bot + Tab app.
- Teams now treats webApplicationInfo.resource as the SSO authority for the tab.
- For Tab SSO, Microsoft requires a fully qualified domain name (FQDN) in the Application ID URI.
Internally on reinstall, Teams temporarily grants RSC permissions. During the background security and token sync (24–48 hours),teams detects that webApplicationInfo.resource is invalid for Tab SSO and the platform revokes app‑level RSC permissions. Because of this the bot is no longer receives all channel messages and falls back to default behaviour
Please check if updating the Azure AD Application ID URI and manifest to use
api://<domain>/<app-id>
followed by a clean redeployment resolves the issue permanently.
To fix Azure AD (Entra ID) App Registration , please navigate to Azure AD → App Registration → Expose an API.Then set Application ID URI to
api://<your-domain>/<BOT_APP_ID>
Then update webApplicationInfo exactly to match the App ID URI as following –
"webApplicationInfo": {
"id": "<BOT_APP_ID>",
"resource": "api://<your-domain>/<BOT_APP_ID>"
}
Please consider redeploying to remove the app from Teams Admin Center Then please wait for tenant sync (background propagation) .Upload the corrected app package to reinstall the app into the team If prompted re‑grant consent.
References:
- Troubleshoot your App - Teams | Microsoft Learn
- Enable SSO for Bot & Message Extension - Teams | Microsoft Learn
- Resource-specific Consent for Apps - Teams | Microsoft Learn
- Get All Channel and Chat Messages for Bot and Agents - Teams | Microsoft Learn
- Channel/Group Conversation Chat Bot - Teams | Microsoft Learn
- Conversation events - Teams | Microsoft Learn
- Integrate and Use Bots with Tabs - Teams | Microsoft Learn
- Microsoft Teams apps update experience and admin role - Microsoft Teams | Microsoft Learn
Thank you!