简体   繁体   中英

How to download attachment of an email through Azure data factory

I was completed the app registration process in my azure portal for office 365 and i am able to connect with that credentials to office 365 but i didn't perform any linking operations for my outlook mail. Also i created one dataset and copy data activity to perform attachments download task. But i am not able download any attachments and I am getting error for Microsoft graph data error.

So, anyone help me to solve my issue( How to link office 365 in Azure active directory app registration process)

Thanks in Advance.

But I am not able download any attachments and I am getting error for Microsoft graph data error.

You actually need to give Mail.Read API permission to your Service Principal ID. Follow the below steps to implement the same.

  1. In Azure Active Directory, go to App registration. Choose your App which you have created.

  2. Go to API permissions and click on + Add a permission

在此处输入图像描述

  1. Select the Application permission option and search for Mail.Read permission. Click on the checkbox and then select update permission at the bottom.

在此处输入图像描述

You will see the Mail.Read permission under your Microsoft graph as shown in image 1 above.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM