2. Register a Microsoft Entra App
Follow this page only if you use the chat message query feature. If you only use the channel message feature, go to 3. Configure Connect Profiles.
Querying chat messages uses Microsoft Graph API, so you must register an application with the required permissions in Microsoft Entra. Go to the Microsoft Entra admin center and sign in with an administrator account of the tenant where the application will be registered.
Step 1: Register an application
-
In the left menu, go to Entra ID > App registrations and click New registration.
-
Enter a name that identifies the application in Name. For example,
logpresso-teams. -
For Supported account types, select the single tenant option (Single tenant only - {tenant}). A redirect URI is not required.
-
Click Register to open the overview page. Copy the Application (client) ID and the Directory (tenant) ID and keep them in a safe place. You need both values when configuring the Logpresso connect profile.
Step 2: Issue a client secret
-
In the registered application, go to Certificates & secrets > Client secrets and click New client secret.
-
Enter a Description and an expiration period, then click Add.
-
Copy the Value of the created entry and keep it in a safe place. This value is the client secret you enter in the Logpresso connect profile.
Step 3: Add API permissions and grant admin consent
-
In the registered application, click API permissions > Add a permission and select Microsoft Graph.
-
Select Application permissions and add the permissions below.
Permission Purpose Chat.Read.All Query the chat messages of a user User.Read.All Query the tenant user list -
In the permission list, click Grant admin consent for {tenant}, then click Yes in the confirmation dialog.
-
Confirm that the notice saying admin consent has been granted appears and that the Status column of the added permissions changes to Granted for {tenant}.





