Step 3: Set-up API Permissions in Azure (Graph API)
API Permissions
24Files operates using delegated permissions because it is designed to work with an integration user rather than relying on the client credentials grant flow. As a result, application permissions (which are typically used in system-to-system authentication) are not supported in 24Files.
Microsoft Graph Permissions
We will configure Microsoft Graph permissions.
Navigate to API permissions in the Azure portal. Click on Add a permission, scroll down and select Microsoft Graph.
Now select ‘Delegated permissions’. Use the search bar to quickly navigate to the options below.
Select following options:
Files.ReadWrite.All
offline_access
openid
Sites.Read.All
User.Read
After selecting these options, click “update permissions”.
Grant admin consent
Click “Grant admin consent for {your_company}” next to “Add a permission”.
After you granted the permissions as described above, your granted permissions should look as follows:
