Download SharePoint files using graph api

Hi all,

I’m facing an issue downloading files from SharePoint using Graph API.
I have App id & Tenant id
My studio version is 2024.10
I’m not sure how to connect the 365 scope and download the files.
Can someone help me how can I download the files.

@Learner007,

Try to Register the app in Azure AD and grant Microsoft Graph API permissions (Files.Read, Sites.ReadWrite.All). Copy Application (client) ID, Tenant ID, and generate a Client Secret then update these values in Microsoft 365 Scope activity. Use “Get File or Folder” with correct Site URL and Drive/Document Library ID to download files from SharePoint.

@Mir.Jasimuddin we added it. I have app id and Tenant id.
I’m confused with the activity setup where to pass the app id and Tenant id and what options i need to select. It’s shows some warn popup always. I need help in what options i need to select and what data need to fill for
O 365 scope activity

@Mir.Jasimuddin in earlier we were not using client secret for O365 we just need App id and Tenant id right?

@Learner007,

In Microsoft 365 Scope try to choose Application ID option, enter your App ID in Application (client) ID, Tenant ID in Directory (tenant) ID, and provide the Client Secret generated in Azure AD under Certificates & Secrets. Select the required services like SharePoint or Outlook in the Services dropdown. This will remove the warning and allow you to use Get File or Folder without issue.

@Learner007,

Follow this tutorial.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.