Updates from: 08/11/2021 03:19:25
Service Microsoft Docs article Related commit history on GitHub Change details
platform Rate Limit https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/bots/how-to/rate-limit.md
public class BotSdkTransientExceptionDetectionStrategy : ITransientErrorDetectio
// List of error codes to retry on List<int> transientErrorStatusCodes = new List<int>() { 429 };
- public bool IsTransient(Exception ex)
- {
- if (ex.Message.Contains("429"))
- return true;
-
- var httpOperationException = ex as HttpOperationException;
- if (httpOperationException != null)
- {
- return httpOperationException.Response != null &&
- transientErrorStatusCodes.Contains((int)httpOperationException.Response.StatusCode);
- }
-
- return false;
- }
+ public static bool IsTransient(Exception ex)
+ {
+ if (ex.Message.Contains("429"))
+ return true;
+
+ HttpResponseMessageWrapper? response = null;
+ if (ex is HttpOperationException httpOperationException)
+ {
+ response = httpOperationException.Response;
+ }
+ else
+ if (ex is ErrorResponseException errorResponseException)
+ {
+ response = errorResponseException.Response;
+ }
+ return response != null && transientErrorStatusCodes.Contains((int)response.StatusCode);
+ }
} ```
platform Auth Aad Sso https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/tabs/how-to/authentication/auth-aad-sso.md
microsoftTeams.authentication.getAuthToken(authTokenRequest);
When you call `getAuthToken` - and additional user consent is required for user-level permissions, a dialog is shown to the user to grant additional consent.
-After you receive the access token in the success callback, you can decode the access token to view the claims associated with that token. Optionally, you can manually copy and paste the access token into a tool, such as [jwt.ms](https://jwt.ms/) to inspect its contents. If you are not receiving the UPN in the returned access token, you can add it as an [optional claim](/azure/active-directory/develop/active-directory-optional-claims) in AAD.
+After you receive the access token in the success callback, you can decode the access token to view the claims associated with that token. Optionally, you can manually copy and paste the access token into a tool, such as [jwt.ms](https://jwt.ms/) to inspect its contents. If you are not receiving the UPN in the returned access token, you can add it as an [optional claim](/azure/active-directory/develop/active-directory-optional-claims) in AAD. For more information, see [access tokens](/azure/active-directory/develop/access-tokens).
<p> <img src="~/assets/images/tabs/tabs-sso-prompt.png" alt="Tab single sign-on SSO dialog prompt" width="75%"/>
platform Tabs Link Unfurling https://github.com/MicrosoftDocs/msteams-docs/commits/master/msteams-platform/tabs/tabs-link-unfurling.md
Stage View is a new user interface (UI) component, which allows you to render the content that is opened in full screen in Teams and pinned as a tab. > [!NOTE]
-> Currently, Teams mobile clients do no support tabs link unfurling and Stage View. Mobile clients use the `websiteUrl` attribute provided by the developer to open the page in the device's web browser.
+> Currently, Teams mobile clients do not support tabs link unfurling and Stage View. Mobile clients use the `websiteUrl` attribute provided by the developer to open the page in the device's web browser.
## Stage View
https://teams.microsoft.com/l/Meeting_Stage/2a527703-1f6f-4559-a332-d8a7d288cd88
## Next step > [!div class="nextstepaction"]
-> [Create conversational tabs](~/tabs/how-to/conversational-tabs.md)
+> [Create conversational tabs](~/tabs/how-to/conversational-tabs.md)