The following as Microsoft Teams tab application that will call the Microsoft Graph API to get the members of a particular Team, then there Out of Office MailTip to determine if they have an AutoResponse set and finally get there userphoto and render this back to Team Clients to produce in In/OutBoard that looks like
For more details on this sample please refer to the following blog post https://gsexdev.blogspot.com/2018/06/building-microsoft-teams-tab.html