Forum Discussion
Access Teams Attendance using RSC permission
Hello. Thank you for your response. The sample you gave is very useful. As you mention this requires the Teams Admin to approve and grant the Graph permission OnlineMeetingArtifact.Read.All - This makes adding the app to Teams a two step process. 1st install the app and then 2nd contact your teams administrator and ask him to give Graph permissions. This graph permission is quite broad giving access to not only the attendance report but also any recordings. Administrators may be weary of doing this.
I had hoped I would be able to gain the attendance report using permissions gained via the Teams App manifest file.
e.g.
{
"authorization": {
"permissions": {
"orgWide": [],
"resourceSpecific": [
{
"name": "OnlineMeetingParticipant.Read.Chat",
"type": "Application"
},
{
"name": "ChannelMeetingParticipant.Read.Group",
"type": "Application"
}
]
}
}
These two permissions should grant me access to the meeting participants. (Using the permissions via the teams app manifest is also more secure as it will only grant access to teams/channels where the app is installed, and in many cases quicker to install as it will allow a user to add the app and make use of its features without involving the Teams Administrator.) However I am unable to find any documentation or samples on how to make use of these permissions?
Regards,
Daniel Mitchell
- mrdanielmitchellApr 26, 2023Copper Contributor
If this is the case then what is the purpose of the RSC permission ChannelMeetingParticipant.Read.Group and OnlineMeetingParticipant.Read.Chat?
Thanks- Meghana-MSFTApr 27, 2023Bronze ContributorWe will check and get back to you. Thank you.
- Meghana-MSFTMay 17, 2023Bronze Contributor
mrdanielmitchell - Apologies for the delay, we got the below response from engineering team.
The purpose of these permissions is to interact with data in a delegated context. In delegated context, data is shared to an app on behalf of a signed-in user, there is no interaction with Graph APIs. This is explained a bit better on this page Overview resource-specific consent in Teams - Teams | Microsoft Learn under sections Types of RSC permissions & RSC-based data access APIs.