I recently implemented an integration with Microsoft Teams using the Microsoft Graph api .... creating users .... creating teams ... I will check these settings to improve security ....