How to use Microsoft Graph REST Configuration for SharePoint automation

How to use Microsoft Graph REST Configuration for SharePoint automation

If you are working with SharePoint Online, we recommend switching to Microsoft Graph Connection, which fully supports Modern Authentication.

Additionally, we recommend using the latest version 2.2 or higher of COZYROC SSIS+. For upgrading details, please review the KB Article: How to upgrade an existing COZYROC SSIS+ Suite installation to a higher version.

Steps to connect COZYROC Microsoft Graph Connection with SharePoint Online: 

First, you will have to set up your own app on Azure Portal, and then from the app you created, use your app credentials during token generation, like client_idclient_secret and tenantId.

For detailed instructions, follow the "Quick Start" called "Establish Connection" in the Microsoft Graph Connection documentation, which also includes instructions and links to Microsoft documentation on how to register your app on the Azure Portal.

When generating the token, enter the required Scopes based on your business needs. The default is: offline_access Sites.ReadWrite.All Files.ReadWrite.All Files.ReadWrite and generally described as follows:

  1. Token Refresh use: offline_access
  2. SharePoint lists use: Sites.ReadWrite.All 
  3. File Transfer Task with SharePoint use: Files.ReadWrite.All Files.ReadWrite

For the Server property in the REST Connection Manager, you should use  https://graph.microsoft.com/v1.0/sites/root  (default site) or https://graph.microsoft.com/v1.0/sites/<site-id> (specific site).

Additional Resources:

    Book a Presales Call


    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now and get 5% off SSIS+.