Microsoft Teams policy

A Microsoft Teams policy contains the connection details that are used by a Microsoft Teams Input or Microsoft Teams Request node when connecting to a Microsoft Teams application.

You can use a Microsoft Teams Request node in a message flow to connect IBM® App Connect Enterprise to Microsoft Teams applications and issue requests to create, retrieve, update, or delete objects such as files, channels, chats, groups, members, messages, owners, teams, and users. You can use a Microsoft Teams Input node to accept input from Microsoft Teams. The Microsoft Teams policy controls, at run time, access to the Microsoft Teams application.

The Microsoft Teams policy is created when you configure a connection between a Microsoft Teams Input or Microsoft Teams Request node and Microsoft Teams by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in the Microsoft Teams policy. The policy is created with a type of Microsoft Teams, and the name of the policy is returned to the node and specified in the Connection tab, in the format {policyProjectName}:policyName.

You can also create, update, or delete a Microsoft Teams policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy a Microsoft Teams policy, all message flows that are using the policy are stopped and restarted.

For more information about using Microsoft Teams policies, see Using Microsoft Teams with IBM App Connect Enterprise.

Table 1. Properties of the Microsoft Teams policy
Property Property name in .policyxml file Description of properties
Microsoft Teams Application Type applicationType This property is reserved for future use and must be set to the value online.
Microsoft Teams Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
Microsoft Teams Authentication method authenticationMethod This property specifies the type of authentication that is used for the connection between IBM App Connect Enterprise and Microsoft Teams. This value is reserved for future use and must be set to BASIC_OAUTH.
Credential Name credentialName This property specifies the name of the credential that is used for the connection to Microsoft Teams.

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.

Proxy name proxyId This property specifies the name of the HTTP Proxy policy that contains details of the HTTP Proxy server URL and the HTTPProxy credential used to make the connection.