Incoming E-Mail Settings was deprecated in SharePoint Online. In this scenario we are trying to re-create this feature using Exchange Online and Power Automate.
Below are the steps to be followed.
Step 1: Create a Shared Mailbox [Note: Shared Mailboxes don’t require licenses assigned]
Login into https://admin.exchange.microsoft.com/#/mailboxes Exchange admin center.
You can use 'Add users to this mailbox' to add users to manage the Shared Mailbox as shown in above image or use 'Manage mailbox delegation' as shown in the below image to add users to manage the Shared mailbox.
Add User to Read and manage the Shared Mailbox.
Now the Shared Mailbox is ready to use.
If MFA is enabled on your tenant, please disable MFA for the Shared Mailbox account.
Step 2: Go to M365 admin center > Users > Active Users (using the below link).
Search for the Shared Mailbox you created. Select, click on Reset password to set a new password, so that you can access the Shared Mailbox.
Step 3: From App Launcher Click on Power Automate
or login into https://us.flow.microsoft.com/en-us/. Go to Templates and search for 'save my email attachment'. Click on the 'Save my email attachment to Sharepoint document library' template.
Once the template is loaded, click on Fix connection...
You will see the below screen, Click on Sign in
Click on the (. . .) on top-right of each workflow item to make sure SharedMailbox account was connected under My connections.
Select the Site Address from Dropdown or by typing the Site URL. Click on the Folder icon and select the Document Library in the Folder Path.
On top-right below your name click on Flow Checker to view any Errors or Warnings.
On top-right or at the end of the Flow, Click on Save to save the Flow.
On top-left you will see a message 'Your flow is ready to go' as shown below.
Step 4: Verification
Sent email from my Gmail account to the SharedMailbox account.
It took more than 15 mins for the attachment to appear in the SharePoint Library.
No comments:
Post a Comment