Hi @WayneKilner,
What is your current situation?
If issue sitll insists, then could you please share more information about how you created your Community site?
Which method described in the article below you have followed (create a site collection, or a subsite)?
Create a community
If you created a community subsite, then here you need to run the Set-SPOSite command with the top site,
if you created a new site collection, the Set-SPOSite command should work.
Please take a try with the steps (for a site collection) below:
1. First install SharePoint Online Management Shell,
2. Open SharePoint Online Management Shell in Admin rights, then Type the following commands:
$o365Credentials = Get-Credential -UserName "user@company.onmicrosoft.com" -Message "YourPassword"
press enter,
This step would pop out an authentication Window asking you for the password, enter your Password and press Enter again,
After that, under SPO PowerShell, type:
Connect-SPOService -Credential $o365Credentials -Url "https://wicren-admin.sharepoint.com"
Press Enter,
then
Set-SPOSite "https://company.sharepoint.com/sites/community" -DenyAddAndCustomizePages $false
Press enter.
For the error message, please verify the following site:
https://springwellcommunityschool.sharepoint.com/sites/HR-Payroll
Is added as a site collection under
https://springwellcommunityschool-admin.sharepoint.com/
Regards,
Michael