--- title: "Enable Shared Mailboxes for Secure Collaboration Gateway" slug: "enable-shared-mailboxes-for-secure-collaboration-gateway" description: "Enable Secure Collaboration Gateway for Shared Mailboxes with eSHARE by granting Outlook API consent, assigning Exchange Administrator & configuring SharePoint." tags: ["SCG", "Shared Mailbox"] updated: 2026-10-20T20:01:30Z published: 2026-10-20T20:01:30Z canonical: "docs.eshare.com/enable-shared-mailboxes-for-secure-collaboration-gateway" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.eshare.com/llms.txt > Use this file to discover all available pages before exploring further. # Enable Shared Mailboxes for Secure Collaboration Gateway Enabling Secure Collaboration Gateway for Shared Mailboxes will allow users to send Secure Mail from a shared mailbox address. To enable the feature, an M365 admin will need to provide consent to eSHARE’s Outlook API. The following steps will be reviewed: - [Provide Consent to the eSHARE Outlook API](/collaborate/docs/enable-shared-mailboxes-for-secure-collaboration-gateway#provide-consent-to-the-eshare-outlook-api) - [Assign the Exchange Administrator Role to the Application](/collaborate/docs/enable-shared-mailboxes-for-secure-collaboration-gateway#assign-the-exchange-administrator-role-to-the-application) - [Create a SharePoint Site for Shared Mailboxes](/collaborate/docs/enable-shared-mailboxes-for-secure-collaboration-gateway#create-a-sharepoint-site-for-shared-mailboxes) - [Configure the Site in the eSHARE Admin Console](/collaborate/docs/enable-shared-mailboxes-for-secure-collaboration-gateway#configure-the-site-in-the-eshare-admin-console) > **REQUIREMENT:** > > The person performing these steps must log in with an eSHARE administrator account. Their M365 account should have at minimum the Application Administrator role. ### **Provide Consent to the eSHARE Outlook API** 1. Log in to the eSHARE Web Portal with an eSHARE administrator account. 2. Navigate to '**Manage Organization**' > '**Corporate Cloud Providers**' and turn ON the '**Provide consent to eShare for Outlook API**' option. ![Graphical user interface, application Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-nai1qqx7.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=L2Fby%2BTG6tFk%2BBty1nq0%2BjW7iEv4uH1uaQ2Lxd%2F9%2FbQ%3D) 1. Review the requested permissions for your organization presented by Microsoft and select '**Accept**' when ready. Also keep a note of the application name (highlighted in the blue box) you have created in Entra. > [!WARNING] > Note: > > These permissions will be appended to your existing service principal created to [connect cloud providers](/collaborate/docs/create-eshare-entra-id-app-registration). ![](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/image-1789677443411.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=h6V3twpIFbriGaN2C8k2elUNsK5H3Mc6XtHVN2nCkAM%3D) 1. After accepting the permissions, you should see the option '**Get access token**' as shown in the screenshot below. Click '**Get access token**'. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-tvisuo24.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=Ni03XbcCfCDknA9Fxg9FhtJ1OIMr%2F0iWNzbBX%2BS8QNQ%3D) 1. Once you click '**Get access token**', you should see a confirmation on the top right of the page. ![](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/image-1791309093726.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=871Bk7BdLn4pGuKn7IXl1w4Z3rgLdu8afg8vZx25y84%3D) ### **Assign the Exchange Administrator Role to the Application** Once the token is acquired, the application you named while connecting to cloud providers page (**eSHARE Commercial Prod** in this example) will need to be added as an Exchange Administrator. 1. Head over to [https://portal.azure.com](https://portal.azure.com) and open the Azure Active Directory Service. 2. Under the '**Manage**' category, select '**Roles and administrators**'. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-66y6wfxe.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=cvK7cb8GKMmU09%2BEJZmv%2FCfnbfkpyDde3i8HjE7Jb2s%3D) 1. Find the '**Exchange Administrator**' role and open the role. 2. When the assignments page opens, select '**Add Assignments**' at the top of the page. 3. Search for your application, then select '**Add**'. ![](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/image(214).png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=Tr6DOh24%2F2MBOX0UQ9vw3sb%2Foaf08fiVSIVBQdtXI%2F8%3D) ### **Create a SharePoint Site for Shared Mailboxes** With the token acquired and the Exchange Admin role assigned to the application, eSHARE is now able to query Outlook/Office for members of shared mailboxes. Next, we need to create a SharePoint site specifically for Shared Mailboxes. This is where the Trusted Shares will live when sending Secure Mail from any shared mailbox. 1. Go to SharePoint Home, then select '**Create site**'. ![Graphical user interface, text, application, email Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-ikhxwndi.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=%2BtRkYHuyH4Bzo2l6%2FLF402h6yET9QCBCI%2BHYiLbuJuI%3D) 1. On the create a site page, choose '**Team Site**'. ![Graphical user interface, website Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-si17byup.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=JUyXXL4dDMLIhrVgwA6P9lCOMrnoMOJv8G9dRe%2FNe%2BE%3D) 1. Call the site name **SharedMailboxes** and select '**Next**'. 2. You do not need to add any users to the site. Select '**Finish**'. ![Graphical user interface, application, website Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-244coo72.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=QL3ZfaRkNqsgdVipsxYswOsUiaHyk5lAqX5nKOPo%2FOA%3D) ### **Configure the Site in the eSHARE Admin Console** Now you will need to go back to the eSHARE Admin Console to finish setting up SMG for Shared Mailboxes. 1. Navigate to '**Admin Console**' > '**Secure email**'. 2. Under '**Secure email**', enter the site name of the Shared Mailboxes site under '**SP site name**', then select '**Save**'. ![Graphical user interface, text, application Description automatically generated](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/enable-scg-support-for-shared-mailboxes-image-fjbzpzdx.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=k32mx6dpSqeAmMveNg60xBSQHPr6iDuDcRrPoICOSQQ%3D) You have now successfully enabled SMG for Shared Mailboxes. Whenever a user sends an email from a shared mailbox, the files will be stored in this SharePoint site in an outbox folder.