Forum Discussion
Communication Site Document Library Rating Settings?
The ratings features can be activated using PowerShell. I got the following instructions from Microsoft.
1) The client machine needs to have the SharePoint Online Management Shell components installed ( http://www.microsoft.com/en-us/download/details.aspx?id=35588 )
2) #1 will not install if PowerShell 3.0 is not installed, install from: http://www.microsoft.com/en-us/download/details.aspx?id=34595 (this will require a reboot)
3) Open SharePoint Online Management shell installed in Step #1 Need to Allow PS script SPFeatureCommander.ps1 to run from an elevated PS window, run: Get-ExecutionPolicy to get current setting, then run: Set-ExecutionPolicy Unrestricted to set it to unrestricted.
(think you may need client SDK as well?, http://www.microsoft.com/en-us/download/details.aspx?id=42038.
After those 3 items, extract items from SPFeatureCommander.zip to a folder. In SharePoint Online Management shell navigate to that folder and perform following:
Download SPFeatureCommander.zip from the link https://franktech365-my.sharepoint.com/personal/admin_franktech365_onmicrosoft_com/_layouts/15/guestaccess.aspx?docid=03401ffbb392d4c52889c57c16f8f2865&authkey=AS7wGLQBYMFGNv-u2jRNPFc&e=7b38cfd0c8114685827410d62d39c234
4) Run .\SPFeatureCommander.ps1 from shell. A GUI should open called CSOM SPFeature Commander. Alternatively you can right click on the SPFeatureCommander.ps1 file and select run with PowerShell.
5) Enter their Site URL - https://%3cname%3e.sharepoint.com/ (Please replace the communication site URL)
6) Enter an user name (account must have Admin privileges) and enter the password.
7) In the Feature GUID box, enter following feature GUID value: 915c240e-a6cc-49b8-8b2c-0bff8b553ed3
8) You should see a message in Last Command Output that Feature Activated.
You may refer the below link for other feature GUID's in SharePoint :
https://social.technet.microsoft.com/wiki/contents/articles/18729.sharepoint-2013-list-of-features-id-displayname-compatibilitylevel-and-scopes.aspx
Since SPFeatureCommander.zip is not available, you can...
Connect-SPOService -Url https://Tenant-admin.sharepoint.com -Credential you@Tenant.onmicrosoft.com
Connect-PnPOnline -url https://Tenant.sharepoint.com/sites/CommunicationSite
Enable-PnPFeature –identity 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 -Scope site