question

KarenAdams-7997 avatar image
0 Votes"
KarenAdams-7997 asked JimmyYang-MSFT edited

Oauth 2.0 api deprecation? (Tab SSO MSTeams Client)

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://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/using-teams-client-sdk

Please let us know!

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


office-teams-windows-itprooffice-teams-app-devmicrosoft-graph-teamwork
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KarenAdams-7997

Could you login Teams normally with SSO?

Currently, we did not receive any notifications told us that this change will affect the SSO authentication and there is no official document in Microsoft Teams talking about it. To avoid the potential problem, it recommends you follow the email advice to update your AppSource.

Considering your problem is also related to Teams API, I will also add teams-app-dev to your thread. Hope if there are someone could give another advice from your situation.

0 Votes 0 ·

@KarenAdams-7997

It has been a while, how is everything going?
If you have any update about this issue, please feel free to post back.

0 Votes 0 ·

0 Answers