Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
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 123
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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,017 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,852 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans