is there a way to post a pdf file created by AEM forms (DOR) into sharepoint?
You can try using FDM Odata here. What I remember, SharePoint provides an implementation of REST web service that uses the OData protocol to perform CRUD operations on SharePoint data.
Adobe Experience Manager Help | AEM Forms Data Integration
Mayank Gandhi yes but how do I connect to sharepoint to start with?
Not much idea on that front but can you send a local file to SharePoint?