Microsoft Teams

Download 33
Last updated Nov 20, 2026

4. Post-installation Verification

Verify the integration with the connect profiles added in 3. Configure Connect Profiles. Check only the items for the features you use.

Verify channel message delivery

Run the query below to confirm that message delivery works. Replace the profile value with the identifier of the connect profile you registered.

ms-teams-send profile=ms_teams subject="Test subject" text="Test message body."
  • Success: the query returns a record with the profile, subject, and text fields, and a card message is posted to the connected Teams channel as shown below.
  • Failure: recheck the workflow URL in the connect profile, whether the Teams workflow is active, and network reachability (HTTPS/443).

Test message posted to the Teams channel

To send multiple search results at once, use the ms-teams-send-batch command. See the query command manuals for the options of each command.

Verify chat message query

Run the query below to confirm the Microsoft Graph API integration. Replace the profile value with the identifier of the connect profile you registered for queries.

ms-teams-users profile=ms_teams_graph limit=10
  • Success: records with the tenant user sign-in name (UPN), user name, and mail address are returned.
  • Failure: recheck the tenant ID, client ID, and client secret values, whether the secret has expired, the admin consent status of the API permissions, and network reachability (HTTPS/443). Enter the Value of the client secret, not its Secret ID, in the client secret field.

Then verify the chat message query with one of the returned user accounts.

ms-teams-chat-messages profile=ms_teams_graph user="user@example.com" duration=1d
  • Success: the chat messages the user exchanged during the last day are returned with the sender and the message body.
  • Failure: the result can be empty if the user has no chat message in that period. Increase the duration value and try again.

To query the chat messages of many users at once from input rows, use the ms-teams-chat-messages-batch command. See the query command manuals for the options of each command.