Microsoft 365 integration: connect Microsoft 365 to OrgOrg
An administrator connects the mail, the calendars, and the directory of a Microsoft 365 organization to OrgOrg one time, for each member. No member signs in to Microsoft for it.
What the integration carries and the apps that use it: the Microsoft 365 integration.
How it works
Your Microsoft administrator makes an app registration in your own Microsoft Entra tenant and gives it the permissions below. An OrgOrg administrator then gives OrgOrg three values of that registration. The registration stays yours: you see it in Entra, and you can remove it at any time.
Mail, calendar, and directory are three connections. Connect only the ones that you want. One registration can serve all three.
What you need
- In Microsoft 365: a Global Administrator or a Privileged Role Administrator. Only these roles can give admin consent for the permissions below.
- In OrgOrg: an Administrator or an Owner.
The permissions
Each one is a Microsoft Graph application permission. An application permission applies to the whole tenant.
- Mail:
Mail.Read,Mail.ReadWrite. The CRM shows the mail of your team with each contact, and it marks a conversation that a member files to a deal with an Outlook category. - Calendar:
Calendars.ReadWrite. Booking pages know when a member is busy, and a booking goes on the calendar of its host. - Directory:
User.Read.All,GroupMember.Read.All. Names, titles, departments, and manager lines stay current. OrgOrg can add new people and suspend people who left.
You can give fewer permissions. The functions of the permissions that you give work, and the others stay off. With only User.Read.All, the directory connection reads all people of the tenant and no groups.
OrgOrg never sends mail with the registration of your organization, thus it needs no Mail.Send. A member who wants to send from the CRM connects their own Outlook account.
Step 1: make the app registration
- Open the Microsoft Entra admin center, then App registrations, then New registration.
- Give it a name, for example "OrgOrg". Select Accounts in this organizational directory only. It needs no redirect URI.
- Open API permissions, then Add a permission, then Microsoft Graph, then Application permissions. Add the permissions of the connections that you want.
- Select Grant admin consent for your organization.
- Open Certificates & secrets, then New client secret. Copy the Value at once: Entra shows it only one time.
- Open Overview, and copy the Directory (tenant) ID and the Application (client) ID.
Step 2: connect in OrgOrg
- Sign in to OrgOrg. Open Settings, then Connectors, and select the Microsoft connection: Outlook, Outlook Calendar, or Microsoft Entra ID.
- Give the tenant ID, the client ID, and the secret, then save. OrgOrg checks the three values with Microsoft.
- Read the result. The mail page and the calendar page show each permission as granted or not granted.
- Do the same on the page of each other connection.
- Mail: https://orgorg.com/settings/connectors/microsoft/outlook
- Calendar: https://orgorg.com/settings/connectors/microsoft/calendar
- Directory: https://orgorg.com/settings/connectors/microsoft/directory
What OrgOrg reads and stores
- Whose mailbox: the mail permission lets the registration read each mailbox of the tenant. OrgOrg reads only the mailbox of an active member of your OrgOrg organization on your domain. It checks each day for people who joined or left.
- Mail: OrgOrg reads the Inbox and the Sent Items. For each message it stores the subject, the people, and the times, with no body.
- Mail text: OrgOrg stores the text of a conversation only when the CRM has a reason. For a conversation with a contact or a company of your CRM, it stores a short preview of each message, when that sync is on for the mailbox. For a conversation that a member files to a deal, writes from the CRM, or opens in the CRM, it stores the full text.
- Changes to mail: OrgOrg adds its own category to a conversation that a member files to a deal.
- Calendar: OrgOrg reads the events of each member, and it writes a booking on the calendar of its host.
- Directory: OrgOrg reads the people of the tenant and, with
GroupMember.Read.All, the members of the groups that you select. It never writes to your directory.
A member can also connect their own Outlook account in their personal settings. For that member, OrgOrg then uses the member's own connection, not the registration of the organization.
When the secret ends
A client secret has an end date that you choose in Entra. After that date OrgOrg cannot read from Microsoft. Before the date, make a new secret in Entra and save it on the same page in OrgOrg.
Disconnect
Select Disconnect on the page of the connection in OrgOrg. For mail, OrgOrg stops the sync and removes the mail content that it stored from the mailboxes of the organization. Then delete the client secret or the app registration in Entra, and OrgOrg has no more access to your tenant.
The Outlook add-in
The add-in shows the CRM beside a message in Outlook. It is a different installation, and it needs no app registration: see OrgOrg CRM for Outlook.