Background
In order to be able to DM a Microsoft Teams user, that user needs to have the incident.io Microsoft Teams app installed at a user level. When you first sign up for incident.io using a Microsoft tenant, we ask for theTeamsAppInstallation.ReadWriteAndConsentSelfForUser.All permission. This permission lets us proactively install our Microsoft Teams app when you (for example) make a user the lead of an incident, so that we can send them a DM to notify them.
Sometimes, we are still not able to proactively install our application for the user, and so it isn’t possible for us to DM them.
Verifying installation state
Microsoft don’t provide an interface to verify which users have a particular Microsoft Teams app installed, but you can use PowerShell to help verify this. First, the Microsoft Teams module must be installed:user@domain.com as appropriate:
c878d453-b147-49d6-aab9-b912dcaee5ec is the ID of our application within Microsoft’s app catalog ( see here ).
Setting up an app policy
One way to ensure incident.io is installed for users is by setting up a policy:- Sign in to https://admin.teams.microsoft.com/ .
- Navigate to Teams apps → Setup policies.
- Edit “Global policy” (for all users) or create a new policy for specific users.
- Under “Installed apps”, click “Add apps”.
- Search for and select the incident.io app, click “Add”, and save the policy.
- You then need to assign the policy to the correct users or groups.