Microsoft Teams integration is done through OAuth. On self-hosted instances, integrating an OAuth API will require Setup OAuth and SSO.