There is already a Microsoft Graph connector so you could that as the basics of this module. You would need to extend it though.
For documentation go here: https://docs.microsoft.com/en-us/graph/teams-concept-overview
Regards,
Ronald