Requested scopes
https://graph.microsoft.com/User.Read.All (read the full profile of all users in the directory)
https://graph.microsoft.com/TeamsAppInstallation.ReadWriteSelfForUser.All (install and manage the Lutril Teams app for users so they can be messaged)
offline_access (obtain a refresh token to keep the connection active)
Setup steps
In Lutril, open the Microsoft Teams integration and click Connect Microsoft Teams.
Lutril redirects you to the Microsoft Entra admin consent screen at login.microsoftonline.com.
Sign in as a Microsoft 365 (Entra) administrator who can grant tenant-wide consent.
Review the requested Microsoft Graph permissions (User.Read.All, TeamsAppInstallation.ReadWriteSelfForUser.All, offline_access) and accept.
Microsoft redirects you back to Lutril and the Teams connection becomes active for your tenant.
Microsoft Teams official docs
Microsoft Graph permissions reference
Overview of Microsoft Graph permissions