3

Unable to access sharepoint via Files Connect.

  1. A user with System Admin Permission created.
  2. Enable Files COnnect in my org.
  3. Created a permission set to access Files Connect Online and assigned to the above user.
  4. Got Consumer Key and Consumer secret, and with them I created Auth Provider in Salesforce.
  5. Set Authorize end point url and token end point url.
  6. Created External Data Sources

I got my External Data Sources - Authenticated as well.

But when I try to "Validate & Sync" it says "OAuth token expired".

Please advise.

2
  • I tried to access all the links that has been generated while creating an entry in Auth. Providers. I am able to access, Test-Only Initialization URL, OAuth-Only Initialization URL but am unable to access Callback URL. I get the same error as mentioned above. This is a DEVELOPER Edition, is this the problem??? Commented Mar 2, 2016 at 6:01
  • It wouldn't be because it's a DE. You should be able to access any org from a DE.
    – crmprogdev
    Commented Mar 3, 2016 at 15:28

2 Answers 2

1

See steps 6-8 in the steps to setup Files Connect

You still need to:

  • Define an External Data Source for SharePoint
  • Check External Data Source Access on the Permission Set
  • Edit the Permission set and add specific data sources to the Enabled External Data Sources list
1
  • I have created External Data Source and checked in Permission Set and also added in the list. Still I have the same problem. Commented Mar 4, 2016 at 6:53
0

While setting XML Permission in Sharepoint at appregnew.aspx

Change the Permission XML from "http://sharepoint/content/sitecollection/web" to "http://sharepoint/content/sitecollection"

This change had worked for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .