API permissions required for teams

Anonymous
2021-12-16T09:17:52.82+00:00

Which API permissions are required for

1.Start and End of Microsoft Teams Meeting.
2.Manage a Microsoft Teams Meeting by Adding or Removing Users/Participants.
3.Retrieve the meeting Details as meeting duration, attendees.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,592 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,473 questions
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 33,801 Reputation points Microsoft Employee
    2021-12-16T22:54:07.717+00:00

    Hi anonymous user,

    1) You need Calendars.Read permissions to get the meeting start and end times. You can use Microsoft Event endpoint to get the meeting start and end time of a specific user by passing the event id of the Teams meeting. Example:

     https://graph.microsoft.com/v1.0/users/<user email address>/events/AAMkADBhZDBlZDJmLTgzY2EtNGZiYi1hZjJlLTUyOTZhMThkMGQyZgBGAAAAAAD-t-9GXYQNRogb58-hfdKLBwCui86sWT5YTZ5oyIp9eiMgAAAAAAENAACui86sWT5YTZ5oyIp9eiMgAAAG7tD6AAA=?$select=start,end  
    

    2) To add or remove a team member, you need TeamMember.ReadWrite.All

    3) You need OnlineMeetings.Read or OnlineMeetings.ReadWrite. To get the attendance report, you have to call the API to create an online meeting which will return the meeting id in the response.
    https://learn.microsoft.com/en-us/graph/api/resources/attendancerecord?view=graph-rest-1.0

    Hope this helps!


0 additional answers

Sort by: Most helpful