web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Unable to connect SharePoint Cloud through Microsoft Dynamics CRM Plugin

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

I am working on functionality where from CRM when ever any customer is created a customer folder prefixed with customer name to be created in SharePoint site. Once the customer folder is created he will added as only authorized person to view this folder.

To do this I used SharePoint Rest API . I am trying to connect SharePoint cloud from Microsoft Dynamics Plugin. I am using SharePoint Rest API for the connectivity.
Registered add-in in SharePoint And granted permission to allow for web/List site collection.I am able to get the access_token from SharePoint site but when i am trying to query any SharePoint object(Folder) its not allowing me to do. As a response to my query its returning response as "Attempted to perform an unauthorized operation."

API Url fomed : ./sites/dev/_api/Web/GetFolderByServerRelativeUrl('/Customer/Shobhit 1')?$expand=Folders,Files

Here Customer is a parent folder under which we ill be having individual customer folders which is (Shobhit 1).

Also please tell me if i have to remove or add any users for Managing the folder access permission is it possible through Rest API.

Appreciate any help here.

Thanks,

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 209 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 71

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans