How do I get the subject of a meeting with a bot added to an online meeting?
Greetings,
Based on the sample app provided by TeamsToolkit, we are checking various things.
Briefly, I created an onlineMeeting titled "Test meeting" and added the B bot. When B bot simply receives a message, it accesses the information of the "Test meeting" meeting it is added to. I used TeamsInfo here.
the results are as follow.
1. If the getMeetingInfo method is used, 403 error (Bot not allowed to get meeting details) is returned.
2. If getMeetingParticipant is used, the current participant information is successfully returned.
For reference, the following API permissions were granted to the Bot. (Even if all permissions were removed and tested, it was the same.)
1. Chat.Read.All
2. Chat.ReadBasic.All
3. ChatMember.Read.All
4. OnlineMeetings.Read.All
5.User.Read.All
The above result is more confusing because it does not seem to have anything to do with the API permission of the corresponding bot.
Are bots unable to use getMeetingInfo? Or am I missing a permission?
LeeJinWoo - Could you please verify if you have required pre-requisites and APIs configured as mentioned in below doc: https://docs.microsoft.com/en-us/microsoftteams/platform/apps-in-teams-meetings/api-references?tabs=dotnet#meeting-details-api
Also please check once, have you added online meeting permissions in the manifest."applicationPermissions": [ "OnlineMeeting.ReadBasic.Chat" ]