{"id":50,"date":"2018-02-08T06:40:51","date_gmt":"2018-02-08T01:10:51","guid":{"rendered":"http:\/\/indiainternetready.com\/dev\/tp2016\/blogs\/?p=50"},"modified":"2026-03-03T10:15:48","modified_gmt":"2026-03-03T10:15:48","slug":"authenticate-the-user-in-salesforce-to-access-sharepoint-files","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/blogs\/authenticate-the-user-in-salesforce-to-access-sharepoint-files\/","title":{"rendered":"Authenticate the User in Salesforce to access SharePoint files"},"content":{"rendered":"<p><span lang=\"en-IN\">Steps to authenticate the user to provide access in Salesforce to access SharePoint files<br \/>\n<\/span><\/p>\n<ol>\n<li><a name=\"_GoBack\"><\/a><span lang=\"en-IN\">The user must be authenticated to schedule the apex class (ScheduledFetchSharepointMetaInfo) and also to view the SharePoint files under the tab chatter. Below are the steps to authenticate the user.<\/span><\/li>\n<li><span lang=\"en-IN\">Click my settings (available in under the logged in user name, top right side).<\/span><\/li>\n<li><span lang=\"en-IN\">In personal-&gt; click \u201cMy External Authentication Settings\u201d.<\/span><\/li>\n<li><span lang=\"en-IN\">Click new button and it will display the screen as shown below<\/span><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-108\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/2018\/02\/salesforce-blog5.png\" alt=\"\" width=\"469\" height=\"404\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog5.png 469w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog5-300x258.png 300w\" sizes=\"auto, (max-width: 469px) 100vw, 469px\" \/><\/li>\n<\/ol>\n<ol start=\"5\">\n<li>Fill the below mandatory fields<\/li>\n<\/ol>\n<ul>\n<li>External Data Source ID &#8211; select the external data source which was created previously for SharePoint connector.<\/li>\n<li>Select external data source id as \u201cSharePoint Data Source\u201d which was already configured.<\/li>\n<li>User \u2013 click the lookup icon and select the user to provide access to the external data source.<\/li>\n<li>Authentication Provider \u2013 Click the lookup icon and select the auth provider which was created previously for SharePoint connector<\/li>\n<li>Note: Select authentication provider as \u201cSharepointOAuth\u201d which was already configured.<\/li>\n<li>Start Authentication Flow on Save \u2013 tick this checkbox.<\/li>\n<\/ul>\n<ol start=\"6\">\n<li>Click Save.<\/li>\n<li>After click the Save button it will navigate to the SharePoint site. Input the login credentials and logged in to the SharePoint site. It will display the below screen<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-109\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/2018\/02\/salesforce-blog6.png\" alt=\"\" width=\"408\" height=\"224\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog6.png 408w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog6-300x165.png 300w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/li>\n<\/ol>\n<ol start=\"8\">\n<li>Click Trust It, it will navigate to the Salesforce and display the screen as shown below<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-110\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/2018\/02\/salesforce-blog7.png\" alt=\"\" width=\"407\" height=\"155\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog7.png 407w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog7-300x114.png 300w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><\/li>\n<\/ol>\n<ol start=\"9\">\n<li>Click Allow, then it will display the screen as shown below.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-111\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/2018\/02\/salesforce-blog9.png\" alt=\"\" width=\"450\" height=\"340\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog9.png 450w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/salesforce-blog9-300x227.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<ol start=\"10\">\n<li>Now the user has been authenticated to schedule the apex class (ScheduledFetchSharepointMetaInfo) and also to view the SharePoint Files under chatter tab.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The user must be authenticated to schedule the apex class and also to view the SharePoint files under the tab chatter. <\/p>\n","protected":false},"author":23,"featured_media":1071,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10],"tags":[12],"class_list":["post-50","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce","tag-sharepoint"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media\/1071"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}