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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Creating a Sharepoint ONLINE folder from a D365 ONLINE

(0) ShareShare
ReportReport
Posted on by 30

I have this scenario where I need to synchronously create a SharePoint folder when a d365 record is created, so this service can create a record and upload files.

I've found this Implementing custom document location logic with a plugin | It Ain't Boring (itaintboring.com)

But the code appears to be blocked by the fact online only register plugins in the sandbox mode.

It throws the security error on the httpclient = new HttpClient()

based on this article, (+) Plugins in the sandbox, and why you don't get System.Security.Permissions.SecurityPermission - Microsoft Dynamics CRM Community

I can't see how to accomplish this.

Is it possible at all to integrate with Sharepoint online from a d365 online plugin?

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi JWhite2021,

    Currently, one folder will be created automatically in sharepoint when you upload file in the dynamics.

    pastedimage1623399530173v1.png

    If you want to create a folder when creating a new record, you can try to use power automated to achieve it.

    The SharePoint connector has an action ‘Create new folder’

    SharePoint - Connectors | Microsoft Docs

    Create new folder in SharePoint document library that has a dot at the end of its name. - There's Something About Dynamics 365 (2die4it.com)

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 36 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans