Issue: Content Editor Web Part is missing from SharePoint Online

Solution: Run some PowerShell to get it back!

1.  Download and install the SharePoint Online Management Shell from this Microsoft page:

2.  From your Start screen, type "sharepont" and then click SharePoint Online Management Shell

3.  In the SharePoint Online Management Shell, run the following five commands.  Leave the quotes, but replace all the text between and including the < and > characters with details relevant to your SharePoint site:

  • $adminUPN="<the full email address of your SharePoint administrator account, for example: *** Email address is removed for privacy ***>"
  • $orgName="<name of your Office 365 organization, for example: mycompany>"
  • $userCredential = Get-Credential -UserName $adminUPN -Message "Type the password."
  • Connect-SPOService -Url https://$ -Credential $userCredential
  • Set-SPOsite https://$ -DenyAddAndCustomizePages 0

Thanks Johnnie!


  1. This is excellent information which is shared by you. This information is meaningful and magnificent for us to increase our knowledge about it. Keep sharing this kind of information. Thank you. microsoft dynamics houston tx


Post a Comment

Popular posts from this blog