For Control-M/Enterprise Manager 9.0.21.300 - 9.0.22:
Configuring SharePoint for Access via Control-M Managed File Transfer : A Step-by-Step Guide
- In the Azure portal, browse to App Registration > API permission.


- Add Permissions for Microsoft Graph API
- Type: Only when planning to connect the Connection Profile using “Username & Password” authentication, choose the Delegation Permission type
Otherwise, choose Application Permission type - Permissions: Add the following permissions:
- Sites.Read.All (Application Permission)
(to access SharePoint site structure and metadata) - Files.ReadWrite.All (Application Permission)
(to access and modify files in SharePoint document libraries) - User.Read.All (Delegated Permission)
(for user sign-in and basic profile info)

- Only when planning to connect the Connection Profile using “Username & Password” authentication, use the following:
- Browse to Azure Active Directory > App Registration > [Your App] > Authentication > Advanced Settings > Allow public client flows.
- For the “Enable the following mobile and desktop flows”, choose Yes.

Control-M/Enterprise Manager 9.0.22.025 and Higher:
Starting on Control-M/Enterprise Manager 9.0.22.025, you no longer need to provide Sites.Read.All or Sites.ReadWrite.All permissions if you do not utilize the list option, use the Files.ReadWrite.All permission instead.
You can now define a specific SharePoint target Site Name and Site ID in a File Transfer job definition for secure SharePoint transfers.
Under the Storage Container section, click the ellipsis (...) next to the Left/Right Site Name field. You should see the option Select Site > Site Name and ID.

