Installed Salesforce Files, but getting the error "You haven't been granted access to Salesforce Files Sync"
|Knowledge Article Number||000205521|
|Description||You recently installed Salesforce Files, but the application won't sync. The icon stays permanently greyed out with the status stuck in "Offline...". When you click on the status, you see the error message "You haven't been granted access to Salesforce Files Sync. Contact your administrator to gain access"
|Resolution||There are a few settings that need to be enabled for Salesforce Files to work. First, make sure Salesforce Files hasn't been disabled in your org by mistake. Go to Setup | Customize | Salesforce Files | Salesforce Files Sync, and make sure the "Enable Files Sync" checkbox is checked. If it isn't, click on the "Edit" button at the top, check the checkbox, and save your changes.
Then make sure your profile has been setup with Salesforce Files as a connected app, and that it has the permission to sync files. You will notice the screenshots belong to an org with the setting "Enable Enhanced Profile User Interface" enabled. Your org's setup may differ, but the names of the options are the same.
To check profile settings, go to Setup | Manage Users | Profiles, then select the profile you are trying to enable for Salesforce Files.
In the profile page, click on the "Assigned Connected Apps" link under the "Apps" section, and make sure Salesforce Files is included in the list of assigned apps. If it isn't, click on the "Edit" button, assign Salesforce Files, then save your changes.
Finally, also in the profile page, click on the "System Permissions" link under the "System" section, and make sure the "Sync Files" checkbox is checked. If it isn't, click on the "Edit" button at the top, check the checkbox, and save your changes.