MS Teams Stages

Ivanti Neurons Bots integrates with Microsoft Teams. This allows Ivanti Neurons to message a user via MS Teams using Neurons Bots. The message can contain action buttons for the user to interact with, to trigger next stage actions, or to provide feedback. Interacting with an end user is a great way to unlock more powerful remediation. For example, getting a user's permission before performing disruptive maintenance, as well as helping the user choose the most contextually appropriate remediation based on their circumstances. It can also be used as an orchestration tool to collect user input and sentiment.

The following are MS Teams stages currently available in Neurons Bots:

  • MS Teams Interaction: Use this stage to message and receive feedback from a user via MS Teams using a Neurons bot.
  • MS Teams Message: Use this stage to send a message to a user via MS Teams using a Neurons bot.
  • MS Teams Rating: Use this stage to capture quantitative sentiment responses.

All MS Teams stages have an Update Card option in the Stage settings. You can use this option to replace one bot-generated Teams card with another one, further down the bot. For example, if you want to provide progress updates of a bot using Teams, instead of sending out multiple messages to users, you can send a single message and update it by following these steps:

  1. In a bot, add and connect another Teams stage.
  2. Open the Stage settings.
  3. In the Update Card drop-down, select the stage that creates the card you want to replace.
  4. In the Message field, enter the new message that you want to update the card with.
  5. Run the bot.

When the bot is run, the existing Teams card is updated with the new message, rather than a new card and message being sent.
If you do not want to replace any cards, leave Update Card set to None, which is the default.

Configuration requirements

To use the Neurons Bots MS Teams stages, deploy the Ivanti Neurons Bot app, appropriate for your tenant landscape, from the Microsoft Teams App Store, via the Microsoft Teams Admin Center.

Prerequisites to ensure MS Teams messages from the Entra ID tenant are trusted and processed:

Teams stages support auto detection of users. This works by first establishing the most recent user of the device, via the Inventory scan or Connector run. The email for that user is retrieved from the People record. The email is resolved to obtain the UserGID, which is then used to send the Teams message.
To see if the email address is included in the Connector data, go to the What data is imported section in the relevant Connector Help topic in Setting up connectors.

A fallback mechanism is configured to directly lookup the UserGID attribute from the device data. This is populated when a device is imported through the Entra ID connector. Additional permissions are required, refer to Entra ID connector setup. The initial connector setup permissions can be found here Microsoft Entra ID connector.

Environment checklist

  • Microsoft Office 365 subscription.
  • Ivanti Neurons Entra ID connector, configured with device permissions in Entra ID permissions assignment (per intune), and has been run, so it can pull in device/user information.

Setup Requirements

The following must be configured before using the MS Teams Stages:

Testing Teams

Ivanti recommend having a test environment to test the MS Teams bot to a targeted group of user accounts and test devices.

  1. In the Ivanti Neurons platform go to Devices, add your test endpoint to a test public group.
  2. In the Ivanti Neurons platform go to Neurons Bots, build a simple bot including one of the MS Teams Stages.
  3. Assign the bot to a Target Group.
  4. Run the bot.