Does teams app has introduced new feature to provide the application permission for bot app registration.

lakshmi 551 Reputation points
2024-04-16T11:48:36.9166667+00:00

Hi Team,

We are using chatbot for a live agent conversation. So we have teams group with multiple team members as agents.

Currently we are using the Manifest version 1.11 and used the below permission to avoid @botname mention while sending the message to the user or to the bot


"webApplicationInfo": {
		"id": "<bot app ID",
		"resource": "https://AnyString",
		"applicationPermissions": [
			"ChannelMessage.Read.Group"
		]
	}


This change we have done last year and it was working last week without any application permissions. We were able to send message without @mention and also able to get channel data with team info method

Since yesterday we have been getting forbidden exceptions while accessing the agent details. Because in code we are using 'TeamsInfo.GetTeamChannelsAsync' for validating the agent and also sending messages without @ mention.

In teams app we are seeing new area 'required permissions' under permission tab

User's image

We were able to send message without @ mention , but the issue only is with fetching the channel details using the GetTeamChannelsAsync method which is part of the Teams bot APIs. But this was working without any other ms graph api permissions

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,614 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,856 questions
{count} votes