How Shared Mailbox in Office 365 integrate with Outlook Integration extension

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • victor
    Active Community Member
    • Aug 2022
    • 727

    How Shared Mailbox in Office 365 integrate with Outlook Integration extension

    You want to use Shared Mailbox in Office 365 as a Group or Personal Email Account. You have created a shared mailbox in https://admin.exchange.microsoft.com/#/mailboxes and want to integrate it with Outlook Integration extension as a regular mailbox.
    1. In https://portal.office.com/Adminportal/Home -> Users -> Active users click on the three dots next to the name of the user with the shared mailbox (in screenshot 1 - this is forum.espocrm User). In Manage product licenses -> Licenses and apps select a license and save changes.
    2. Go to your User's profile and in Mail tab -> Manage email apps check the items shown in screenshot 2.
    3. Click Reset password in the User profile. Enter a reliable password for the shared mailbox and save the changes (screenshot 3).
    4. To make sure that the login and password combination works go to https://outlook.office365.com/mail/ using the shared mailbox and the password we just created. To make sure that sending and receiving letters is working properly send and receive email to this shared mailbox.
    5. Open an anonymous browser tab, or a browser that is not used to work with EspoCRM (to eliminate cache problems) and create a Personal or Group Email Account for our shared mailbox. After entering the necessary data, click Connect.
      Note that during connection to Microsoft (screenshot 4), your login is the shared mailbox, and the password is the password from your shared mailbox created in step 3.
    6. After a successful connection, click the Test Connection button in the IMAP tab of our Personal or Group Email Account. We perform a test sending in the SMTP tab of our Personal or Group Email Account via the Send Test Email button.

    If you have problems in step 5 or 6, you may find it helpful to check the setup options described here:https://forum.espocrm.com/forum/exte...7562#post87562.
    Attached Files
    Last edited by victor; 08-27-2023, 05:32 PM.
  • bandtank
    Active Community Member
    • Mar 2017
    • 379

    #2
    If I am understanding your guide, the addition of a paid license is required. Does that change any of the internal behaviors of the Microsoft 365 Group?

    For anyone who may be curious, there is additional documentation about assigning licenses to Microsoft Groups as seen here.

    Comment

    • macistda
      Member
      • Jul 2022
      • 76

      #3
      For the tutorial a paid license is required, so that is not a real "shared mailbox". It is generally possible to use a real "shared mailbox" with O365, without a additional paid licence.
      You have to login to Espo with a working (Microsoft licenced) account and connect that one to the shared (Espo-group) mailbox.

      The SMTP Login is the account from the Microsoft licenced one (that is not the shared E-Mail) Best way should be to login with a privacy Browsertab and login to the paid licenced account to Microsoft.
      The IMAP Login is the shared E-Mail box adress, that the correct Mailbox is checked. Works only with empty password at EspoCRM.

      Disadvantage is that the E-Mail send from Espo via the Group-Mailbox are placed in "Sended objects" to the Microsoft licenced account.
      To place the send E-Mails to the right Mailbox we programed a cronjob via a python script and Microsoft EWS to move the E-Mails to the correct shared mailbox send objects.

      Comment

      Working...