SharePoint Online Feature Deactivation via Site Designs

%3CLINGO-SUB%20id%3D%22lingo-sub-1055905%22%20slang%3D%22en-US%22%3ESharePoint%20Online%20Feature%20Deactivation%20via%20Site%20Designs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1055905%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20if%20this%20is%20the%20appropriate%20channel%20to%20post%20something%20like%20this.%20If%20not%2C%20please%20redirect%20me%20to%20the%20right%20one.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20site%20designs%20to%20create%20new%20site%20collections%20attached%20to%20a%20hub%20site%20with%20the%20appropriate%20features%20enabled%2C%20now%20I%20seem%20to%20have%20hit%20a%20wall%20between%20classic%20and%20modern%20features.%20I%20have%20an%20action%20to%20activate%20feature%20such%20as%20the%20Project%20Functionality.%20example%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%7B%3CBR%20%2F%3E%22verb%22%3A%20%22activateSPFeature%22%2C%3CBR%20%2F%3E%22featureId%22%3A%22e2f2bb18-891d-4812-97df-c265afdba297%22%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20now%20remove%20some%20features%2C%20Specifically%20the%20'Site%20Pages'%20feature%20to%20stop%20the%20end-user%20from%20creating%20site%20pages%20on%20a%20particular%20set%20of%20site%20collections.%20However%2C%20I%20do%20not%20seem%20to%20be%20able%20to%20find%20the%20GUID%20of%20the%20'Site%20Pages'%20Feature.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F160690i31F9C27EF6E4D47A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_1.png%22%20title%3D%22clipboard_image_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EDoes%20anybody%20know%20how%20I%20can%20find%20this%3F%20I%20have%20tried%20to%20use%20the%20PNP%20cmdlet%20however%20this%20only%20provides%20me%20with%20classic%20features%2C%20cmdlet%20used%3A%3C%2FP%3E%3CP%3E%22Get-PnPFeature%20-scope%20Web%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated%20-%20It%20seems%20to%20me%20there%20is%20a%20missing%20link%20connection%20to%20be%20able%20to%20pull%20the%20properties%20of%20these%20features%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1055905%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi guys,

 

I don't know if this is the appropriate channel to post something like this. If not, please redirect me to the right one.

 

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 feature such as the 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' Feature.

clipboard_image_1.png

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 -scope Web"

 

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

 

 

 

 

 

0 Replies