Weflow connects to Microsoft 365 through an enterprise application in your Microsoft Entra ID tenant, the Weflow Activity Capture app. This guide is for your Microsoft admin. It explains how to install the Weflow app from the Weflow Admin Console, then require assignment in Entra so Weflow can reach only the mailboxes of the users and groups you choose.
Note: the install must be started from Weflow, not set up by hand in Entra. Weflow needs Microsoft's callback to confirm the connection works, and that callback happens only when the install starts from Weflow. Approving the app's permission request in the Microsoft 365 admin center alone does not connect your tenant.
Before you install the Microsoft Entra ID app
You need a Microsoft admin who can approve enterprise apps for your organization, such as a Global Administrator, Cloud Application Administrator or Application Administrator. The install runs one of two ways:
You are the Microsoft admin: you sign in to the Weflow Admin Console, which uses Salesforce sign-in, and run the install yourself.
Someone else is the Microsoft admin: a Weflow admin emails them a setup link from the Admin Console, and they complete the install from that link without a Salesforce account.
No Activity Capture configuration can be created until your tenant is connected.
Learn more about the permissions the Weflow Entra ID app uses.
Learn more about the full Weflow setup: Salesforce package, integration user and mail app.
How to install the Microsoft Entra ID app from the Weflow Admin Console
Sign in to Weflow with your Salesforce account and open the Admin Console.
Go to Workspace Settings > Setup & Integrations, and click Configure on the Microsoft card. The Microsoft 365 Integration page shows To be completed until the install finishes.
Next to Microsoft, click Install. This installs the Weflow Activity Capture app from the Microsoft Store.
Sign in as a Microsoft admin and click Accept. The app is now installed for your whole tenant.
Back in Weflow, click Refresh.
How to send the Microsoft Entra ID app install to your Microsoft admin
On the Microsoft 365 Integration page, under Share with Microsoft Admin, enter your Microsoft admin's email address.
Choose how long the link stays valid, such as Expires in 24 hours.
Click Send.
Your Microsoft admin completes the install from the link in that email. They need no Salesforce account.
How to require assignment for the Microsoft Entra ID app
Once the app is installed, your Microsoft admin limits which mailboxes Weflow can reach in Entra:
Go to entra.microsoft.com > Enterprise apps and open the Weflow app.
Under Properties, set Assignment required? to Yes and click Save.
Under Users and groups, click Add user/group.
Select the users and groups whose mailboxes Weflow should read, and click Assign.
Note: assigning users or groups limits access only when Assignment required is set to Yes. With it set to No, Weflow can still reach users outside the assigned groups, guest accounts included.
The Entra assignment is a second gate on top of enrolment: Weflow reads only the mailboxes of users you enrol in an Activity Capture configuration. A common setup keeps the assigned group refreshed from Salesforce. The two lists then match. Some IT teams add an extra layer with an Exchange Online Application Access Policy on the same group.
Learn more about limiting which mailboxes the Weflow Entra ID app can read.
How to check the Microsoft Entra ID app assignment works
Add someone outside the assigned users and groups to an Activity Capture configuration and save it. When the restriction holds, a warning icon appears next to that user, because Weflow cannot reach their mailbox. The same icon appears when a user's email address differs between Microsoft and Salesforce.
Learn more about what the warning icon next to users in Activity Capture means.
Frequently asked questions about the Microsoft Entra ID app install
Can I set up the Weflow app by hand in Entra instead?
No. Weflow links your tenant only when the install starts from Weflow. Approving the app in the Microsoft 365 admin center, or setting it up by hand in Entra, does not connect it.
Does installing the Microsoft Entra ID app start capturing emails?
No. Weflow reads no mailbox until a user is enrolled in an Activity Capture configuration. You can finish the install and the Entra assignment before anything is captured.
Learn more about setting up Activity Capture.
Do I install the Microsoft Entra ID app again for production after a sandbox?
Yes. The Microsoft Entra connection is set up again in your production workspace, along with the managed packages and the integration user.
Can I connect more than one Microsoft tenant?
Yes. Each mail tenant is connected separately in the Admin Console and has its own Activity Capture configuration.
