Microsoft now only supports connections to SharePoint which can be secured via multi-factor authentication (MFA).
This is driven by Microsoft's Secure Future Initiative (SFI) and "Secure by Default" principles and the recommended best practice to connect to SharePoint from Dynamics 365 \ Dataverse is to use Power Automate flow.
Therefore, this North52 function is deprecated.
Description
Create a SharePoint File
Signature
SharePointCreateFile( 'sharepointsite', 'sharepointusername', 'sharepointuserpassword', 'issharepointonline', 'replaceexistingfile', 'documentlibrary', 'filename', 'documentdata', SharePointSetItemMetaData('fieldname', 'fieldvalue') )
Example
SharePointCreateFile( 'https://north52.sharepoint.com/CRMSite/', 'bill@north52.com', 'password', true, true, 'https://north52.sharepoint.com/CRMSite/CRMDocuments/', 'Test.pdf', FindValue('annotation', 'objectid', [quote.quoteid], 'documentbody' ), SharePointSetItemMetaData('QuoteID', [quote.quotenumber]) )
Parameters
Name | Type | Description | Required |
---|---|---|---|
sharepointsite | xxxx | xxxx | xxxx |
sharepointusername | xxxx | xxxx | xxxx |
sharepointuserpassword | xxxx | xxxx | xxxx |
issharepointonline | xxxx | xxxx | xxxx |
replaceexistingfile | xxxx | xxxx | xxxx |
documentlibrary | xxxx | xxxx | xxxx |
filename | xxxx | xxxx | xxxx |
documentdata | xxxx | xxxx | xxxx |
SharePointSetItemMetaData | xxxx | xxxx | xxxx |