In this article
Overview
Use this account type to connect Teams Snaps with data sources that use dynamic OAuth2 accounts.
Expression-enabled authentication fields, such as Username, Password, and Client Secret, support Secrets Management, a SnapLogic add-on that allows you to store endpoint credentials in a third-party secrets manager, such as AWS Secrets Manager, Azure Key Vault, or HashiCorp Vault. During validation and execution, pipelines obtain the credentials directly from the secrets manager. Learn more: Configure Accounts to use secrets.
Prerequisites
A registered application in the Microsoft Azure Portal with appropriate permissions can be used to generate the Access token.
See Application Configuration in Azure Portal for OAuth2 Account for the steps to duly configure a registered application and for information needed to define settings for the OAuth2 account.
Limitations
None.
Known Issues
None.
Account Settings
Parameter | Data Type | Description | Default Value | Example |
---|---|---|---|---|
Label | String | Required. Unique user-provided label for the account. | Teams Dynamic OAuth2 Account | Teams Dynamic Account |
Access token | String/Expression | Required. Enter the Access Token generated using the authorization code/client credentials flow. See Access Token Generation for details. | N/A | 1abcd23e45fg6789hi01-23456jk789l01abcd23e-45fg6789hi01-23456jk789l01abcd23e-45fg-6789-hi01-23456jk789l0 |
Access Token Type | Drop-down list | Required. Select the type of Access Token (application or individual user) you are using for the account from the two options available:
| On behalf of user (authorization_code grant type) | On behalf of application (client_credentials grant type) |
Apply | Button | Click this button to save the account settings. | N/A | N/A |
Access Token Generation
Depending on the type of access required, the Teams Dynamic account needs either an Access Token (application) or Authorization Code (user) to connect to your Microsoft Teams instance.
- Access Token to perform actions on behalf of an application (client_credentials grant type). See Get access without a user in Microsoft Docs for more information.
- Authorization Code to perform actions on behalf of a signed-in user (authorization_code grant type). See Get access on behalf of a user in Microsoft Docs for more information.
Troubleshooting
None.