Publish SharePoint Online Content Types Using PowerShell or C#?

%3CLINGO-SUB%20id%3D%22lingo-sub-1129581%22%20slang%3D%22en-US%22%3EPublish%20SharePoint%20Online%20Content%20Types%20Using%20PowerShell%20or%20C%23%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1129581%22%20slang%3D%22en-US%22%3E%3CP%3EGreetings%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20scenario%20where%20I%20need%20to%20publish%20more%20than%20400%20content%20types%20in%20SharePoint%20Online.%20Is%20there%20anyway%20for%20me%20to%20automate%20this%20like%20I%20can%20onprem%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1130372%22%20slang%3D%22en-US%22%3ERe%3A%20Publish%20SharePoint%20Online%20Content%20Types%20Using%20PowerShell%20or%20C%23%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1130372%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F52905%22%20target%3D%22_blank%22%3E%40Bob%20Mixon%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20might%20be%20get%20you%20going%20in%20the%20right%20direction%3A%3C%2FP%3E%3CP%3E%3CFONT%3E%3CA%20href%3D%22http%3A%2F%2Fwww.constellationsolutions.com%2Fhow-to%2Fpublish-content-types-powershell-sharepoint-online%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttp%3A%2F%2Fwww.constellationsolutions.com%2Fhow-to%2Fpublish-content-types-powershell-sharepoint-online%2F%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3Ewrap%20the%20example%20in%20a%20loop%20for%20your%20400%20content%20types%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Greetings,

 

I have a scenario where I need to publish more than 400 content types in SharePoint Online. Is there anyway for me to automate this like I can onprem?

 

Thank you!

1 Reply

@Bob Mixon 

 

This might be get you going in the right direction:

http://www.constellationsolutions.com/how-to/publish-content-types-powershell-sharepoint-online/

 

wrap the example in a loop for your 400 content types