Forum Discussion
Anuj_Pratap_Singh_0210
Jan 31, 2023Copper Contributor
Can't access bot inside shared channel
I've built an application for the Microsoft Teams app and published it in my organization using the Developer portal.
I want to access the bot inside a team's shared channel but cannot do so. I've also provided "sharedChannels" inside the supportedChannelTypes property in the manifest but still, it isn't working.
The manifest of my application looks somewhat like this:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.15/MicrosoftTeams.schema.json",
"version": "1.0.1",
"manifestVersion": "1.15",
"id": "10d58ca5-e2fd-4bb0-b488-ec31a1e071e5",
"packageName": "Bot",
"name": {
"short": "Bot",
"full": "Application"
},
"developer": {
"name": "Organization",
"websiteUrl": "https://example.com/",
"privacyUrl": "https://example.com/privacy",
"termsOfUseUrl": "https://example.com/termsofuse"
},
"description": {
"short": "Test application",
"full": "Test application."
},
"icons": {
"outline": "outline.png",
"color": "color.png"
},
"accentColor": "#60A18E",
"configurableTabs": [
{
"configurationUrl": "https://test.com/configure",
"canUpdateConfiguration": true,
"scopes": [
"team"
]
}
],
"bots": [
{
"botId": "bot-id",
"scopes": [
"groupchat",
"team",
"groupChat"
],
"commandLists": [
{
"commands": [
{
"title": "register",
"description": "register"
}
],
"scopes": [
"team"
]
}
],
"isNotificationOnly": false,
"supportsCalling": false,
"supportsVideo": false,
"supportsFiles": false
}
],
"validDomains": [
"test.com"
],
"defaultGroupCapability": {
"team": "bot",
"groupchat": "bot",
"meetings": "bot"
},
"authorization": {
"permissions": {
"orgWide": [],
"resourceSpecific": []
}
},
"supportedChannelTypes": [
"sharedChannels",
"privateChannels"
]
}
Skipster311-1 Chandrasekhar_Arya
See the below article, and as mentioned earlier, try to involve the application owner or supplier when you want to start implementing this.
https://identity-man.eu/2021/03/19/service-principals-all-you-need-to-know/
6 Replies
Sort By
- Meghana-MSFT
Microsoft
We will check this at our end and get back to you.- Meghana-MSFT
Microsoft
Anuj_Pratap_Singh_0210 - We tried this at our end, but we are not able to @mention the bot, are you also experiencing the same problem?
- Anuj_Pratap_Singh_0210Copper ContributorYes I'm getting the same problem