Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Under review by Community Managers

Under review

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

Uploading a document to sharepoint in x++ code

Posted on by 108
Hi experts,
 
I am trying to upload a document to SharePoint. The issue that I am facing is that when I try to create a proxy using 
 
SharePointHelper::CreateProxy(hostName, '/sites/POSOSITE', externalId);
 
I get null as a response and when I added the URL of the SharePoint server to the "Document management parameters" I get an error "
Unable to communicate with the SharePoint server: *servername*.sharepoint.com" when I click on "Test SharePoint connection".
Is there a setting that I need to enable in SharePoint to be able to use it in my code or do I have to register it on Azure?
 

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,620 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,884 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans