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.
If you use the Survey Metadata stage, you can group and compare the survey data by the metadata. For example, you can analyze which service desk support provides the best lowest ratings.
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:
- In a bot, add and connect another Teams stage.
- Open the Stage settings.
- In the Update Card drop-down, select the stage that creates the card you want to replace.
- In the Message field, enter the new message that you want to update the card with.
- 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:
- Create an Entra ID App registration. Refer to Configure & Enable External Authentication for further help.
- Create an Entra ID credential. Configured in Neurons platform > Credentials.
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:
- In https://admin.teams.microsoft.com, from the menu, select Teams apps > Setup policies.
- In the Add installed apps panel, locate the Ivanti Neurons Teams Bot, click Add.
- Once complete, click Save. The Ivanti Neurons Bot is now ready to deploy to users.
- An endpoint can be on a local AD domain or a Workgroup.
- Ivanti Neurons Entra ID connector required.
- Supported on Windows 10.
- At time of Microsoft Teams setup, the user must allow the organization to manage the device.
- Go to the Azure Portal.
- Follow the instructions at How to setup Active Directory AD Connector.
- On setup you must include the following device permissions so that the connector can populate the device view with the Teams user information:
- DeviceManagementApps.Read.All: Read Microsoft Intune apps
- DeviceManagementApps.ReadWrite.All: Read and write Microsoft Intune apps
Remember to grant admin consent for the permissions to take effect.
- In the Ivanti Neurons platform; Add, Configure, Save, and Run the connector.
Testing Teams
Ivanti recommend having a test environment to test the MS Teams bot to a targeted group of user accounts and test devices.
- In the Ivanti Neurons platform go to Devices, add your test endpoint to a test public group.
- In the Ivanti Neurons platform go to Neurons Bots, build a simple bot including one of the MS Teams Stages.
- Assign the bot to a Target Group.
- Run the bot.