User based authentication¶
If you use user-based authentication, the following settings must be made in your Azure registration:
First, select API Permissions in the left navigation list and click Add Permission.
Select SharePoint as the API
Under Delegated Permissions, configure the permissions you want the user to delegate to TreeSize, and confirm the changes using the Done button.
- If a permission has not been granted here, the user may not use TreeSize to perform the affiliated action, even though he would be allowed to do so with the web interface.
If a permission has been granted here, but not to the actual user, an affiliated action would still fail (the user won’t become any more privileges).
To access SharePoint pages, the allSites.Manage permission is required.
If you want to restrict the access to document libraries only, the AllSites.Read permission is sufficient.
To scan all site collections connected to a site, the privilege ‘Sites.Search.All’ is required.
To allow the user to upload files, the privileges ‘Read and write user files’ and ‘Read and write items and lists in all site collections’ may be required.
Click on Grant permissions to apply the changed permissions to your account.
Depending on which permissions you selected, the changes need to be approved by an administrator (grant admin consent).
Next, in order to use the SSO for domain-joined Windows (Windows Integrated Auth Flow) or the user credentials entered via TreeSize, the option Allow public client flows under Authentication -> Advanced settings needs to be enabled.
