I need to automate my task of publishing InfoPath forms to SharePoint Online using Powershell script or CSOM code.

  • I am also working on this. How far did you reach? I found a code for SP2013, but couldn't make it work. I made some changes so it works on SPO (at least, no error messages), but the most I could get is an error message when creating a form. c-sharpcorner.com/UploadFile/82b15a/… – vilmarci Feb 15 at 10:01
  • No luck. I don't think there is a way for SharePoint Online. Had to do It manually – Aswathi P Feb 25 at 7:07
  • Well, ShareGate can do this, as it can copy whole libraries, including templates. Sot, there must be a way. However, I created a ticket at MS for this, and they told me there isn't any supported method. – vilmarci Feb 25 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.