Hi @ikako ika
SharePoint Server integration enables document management capabilities in Dynamics 365 for Customer Engagement. There are two aspects to SharePoint Server integration:
Setting up SharePoint integration. A system administrator sets up a SharePoint Server environment. The Dynamics 365 for Customer Engagement administrator (a user who has the SharePoint Site Collection Administrator role) selects the Dynamics 365 for Customer Engagement entities for which to enable the document management feature, and specifies the target SharePoint Server. As part of specifying the target server, the Dynamics 365 for Customer Engagement administrator specifies the SharePoint Server site collection or the SharePoint Server site URL by using the SharePointSite entity.
Creating and managing SharePoint document location records. Dynamics 365 for Customer Engagement users can create and manage SharePoint Server document location records after SharePoint Server integration is enabled. You can create and manage SharePoint Server document location records by using the SharePointDocumentLocation entity. Dynamics 365 for Customer Engagement also allows for the automatic creation of folders on the server that is running SharePoint Server for entity records under certain conditions. However, automatic creation of folders cannot be done through the Dynamics 365 Customer Engagement Web Services.
For more details you can refer to following document
https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/integration-dev/get-started-sharepoint-integration?view=op-9-1
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.