I am using site designs to create new site collections attached to a hub site with the appropriate features enabled, now I seem to have hit a wall between classic and modern features. I have an action to activate features such as Project Functionality.
Example:
{
"verb": "activateSPFeature",
"featureId":"e2f2bb18-891d-4812-97df-c265afdba297"
}
I would like to now remove some features, Specifically the "Site Pages" feature to stop the end-user from creating site pages on a particular set of site collections. However, I do not seem to be able to find the GUID of the "Site Pages" or the "Mobile Browser View" Feature.
Does anybody know how I can find this?
I have tried to use the PnP cmdlet
however this only provides me with classic features, cmdlet
used:
Get-PnPFeature
Any help would be appreciated - It seems to me there is a missing link connection to be able to pull the properties of these features.
Thanks in advance!