I am creating a rollup of Modern team and communication sites that are provisioned in my tenant by creating one SPFx webpart which retrieves the site's title, URL, logo and some other properties using the Search REST API endpoint :


Now, whenever I create a Modern team or communication site, I am able to set the site's classification value.

This value is stored in the site's classification property.

enter image description here

So how do I retrieve this property using SharePoint Search REST endpoints ?

Is there any specific managed property that I need to include or map any crawled property ?

I couldn't find anything related to it using the Search Query tool or checking via the managed and crawled properties in the Search Schema of the tenant.

Appreciate any inputs on this !

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.