Oauth 2.0 api deprecation? (Tab SSO MSTeams Client)

Karen Adams 76 Reputation points
2021-08-12T20:19:11.35+00:00

My team got a bizarre email today about a deprecated OAuth api:

Required action
To avoid service disruptions, update your AppSource app before August 20, 2021, to no longer use any of the listed OAuth2 API functions. Instead, we recommend that you use this function:

AcquireTokenByAuthorizationCode(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var AuthCodeErr: Text)

I want to know if my service that utilizes the tab SSO will be affected by this deprecation at all we use client sdk version: v1.6.0 or https://statics.teams.cdn.office.net/sdk/**v1.6.0**/js/MicrosoftTeams.min.js.

We user the getAuthToken() Method listed here:
122777-screen-shot-2021-08-12-at-124630-pm.png
Link to SDK documentation: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/using-teams-client-sdk

Please let us know!

Tab SSO our service uses: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso#get-an-access-token-with-graph-permissions

Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.