Child pages
  • Self-hosted configuration - Sync Email Engine with Microsoft Office 365




Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objectives

  • Email Engine (Office 365) configuration

Steps

Method 1:
You can contact our support team and share with them your application URL in case you won’t to create an application in Azure Portal or won’t to use an existing application at your end.

This method is used when you need to let App4Legal LEXZUR Team manage and maintain the application in Azure Portal Platform.

...

4. In the redirect URI, from “Select a platform” choose “Web” and on the URL add your app4legal LEXZUR system URL and add “api/v2/core/user_authorization_callback” at the end, then click Register. a URL example:
a. https://myServer/app4legal/api/v2/core/user_authorization_callback
b. Can later from left menu “Authentication” update the redirect URLs.

...

7. For the “Client ID” and “Client Secret” we already copied we will put them inside app4legal LEXZUR folder, open “application/config/integrations.json” and in the "MS-OfficeMail-365", fill the “clientId” and “clientSecret” by the values we get.
8. Note from the “Branding and properties” option in left menu we can change the name, upload logo and other information related the application.
9. We must add the permissions for the applications, click on “API permissions” from the left menu, click “Add a permission” then click on “Microsoft Graph” -> “Delegated permissions” the select below permission and click “Add permission”:
a. The 4 permissions under “OpenId”
b. “Mail.ReadWrite” and “Mail.Send” under “Mail” permission.
c. “User.Read” under “User” permission.
d. “MailboxSettings.ReadWrite” under “MailboxSettings”.

...

After doing this, when the user tries from App4Legal LEXZUR to integrate with their own email, will get an option to send an approval request to the admin. The admin should approve this request so the user can start integration again without any issues.


Third Method: Grant tenant-wide admin consent in Enterprise apps (App4Legal LEXZUR App that is created and managed by App4Legal LEXZUR Team)
To grant tenant-wide admin consent to an app listed in Enterprise applications:
1. Sign in to the Azure portal with one of the roles listed in the prerequisites section.
2. Select Azure Active Directory, and then select Enterprise applications.
3. Search for the App4Legal LEXZUR App by searching using the Application Id “21e7e0d8-bedf4a60-a5eb-fd0ae1571d36” then select the application to grant tenant-wide admin consent, and then select Permissions.
4. Carefully review the permissions that the application requires. If you agree with the permissions the application requires, select Grant admin consent.

...

For more information about App4LegalLEXZUR, kindly reach out to us at help@app4legal.com.

...