A. Context of Access
I do not have acces to the central sharepoint admin center but I am the owner of a site collection and I am site collection administrator:
I am able to connect to my site collection using pnp power shell:
Install-Module PnP.PowerShell -Scope CurrentUser
Connect-PnPOnline -url https://{domain}.sharepoint.com/sites/eis/ -Interactive
Furthermore, the command
Get-PnPSiteCollectionAdmin
returns my email address that I used to connect.
I also checked some permission report and could not see something noticeable.
B. Issue
However, when running following command to remove the social bar / like feature:
Set-PnPSite -SocialBarOnSitePagesDisabled $true
I get
Error: Attempted to perform an unauthorized operation.
=> How can I troubleshoot and resolve that issue?
Are there some commands that I cannot excute if I do not have global admin rights, even if the command is on site collection level?
Is there some setting in the global admin center that could be used to give me the required access rights or install some missing, required dependencies/features?
Is there an alternative way to disable the Social media bar without using the pnp shell?
Related: