Forum Discussion
mescwbif Try solving it with PowerShell,
Add-SPOUser -Site https://<tenant>.sharepoint.com -LoginName <youradminaccount>@contoso.com -Group "<owners>"
NOTE! AFAIK the site is based on classic sites so it can be wise to check the permissions group that exists by default on a classic site. Probably something like: "contenttypehub owner".
Yours sincerely,
Aref Halmstrand
Update: any PS get or set stuff I try on contenttypehub site collection returns "server exception", "not supported", for instance:
Set-SPOsite https://tenant.sharepoint.com/sites/contenttypehub -DenyAddAndCustomizePages 0
Set-SPOsite : The requested operation is not supported for site: https://ifpredubr.sharepoint.com/sites/contenttypehub
In line:1 character:1
+ Set-SPOsite https://tenant.sharepoint.com/sites/contenttypehub -De ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOSite], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SetSite
regarding add-spouser, I make no idea what the group name would be since it would carry in the contenttypehub site collection title and I don't know how such title would be (I tried to google it to no avail)