While writing a blog about Introduction to SharePoint Spaces, I came across a situation where I needed the GUID of site feature to activate it using PnP PowerShell. So, I thought of writing a separate blog on quickly getting the GUID of site feature in SharePoint Online.
You can get the GUID of site feature quickly from Manage site features page. Hit (URL: https://tenant.sharepoint.com/sites/siteName/_layouts/ManageFeatures.aspx) in a browser tab by replacing tenant
and siteName
or follow below steps:
- Go to any SharePoint Online site.
- Click on Settings (gear icon), select Site information and then select View all site settings.
- On the Site settings page, select Manage site features under Site Actions.
- Scroll down to the feature whose GUID you want, Right click on Activate button next to it and select Inspect element.
- Check id attribute of immediate parent
div
of input (type="button"
) element, which is nothing but the GUID of respective site feature.
In above image, you can see that GUID of Spaces feature is 2ac9c540-6db4-4155-892c-3273957f1926
.
Next Steps
I hope you liked this blog. Give your valuable feedback & suggestions in the comments section below and share this blog with others.
2 thoughts on “Easiest way to get the GUID of SharePoint feature”