The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Based on the screenshot, the Default sensitivity labels option is not appearing under Library Settings.
The commands:
Set-SPOTenant -EnableAIPIntegration $true
Set-SPOTenant -EnableSensitivityLabelforPDF $true
only enable SharePoint and OneDrive to process sensitivity labels and PDFs. They do not by themselves make the Default sensitivity labels setting appear immediately. Microsoft notes that some sensitivity label configuration changes can take time to propagate, and in some cases up to 24 hours.
Please also verify the following:
- The sensitivity label has the Files & other data assets scope and has been published to the user configuring the library.
- SharePoint Online labeling is enabled:
Get-SPOTenant | Select EnableAIPIntegration
The value should be True. (Configure a default sensitivity label for a SharePoint document library | Microsoft Learn)
- The tenant setting that disables library default labeling is not enabled:
Get-SPOTenant | Select DisableDocumentLibraryDefaultLabeling
It should be False. The feature can be hidden tenant-wide if this setting is enabled.
- The account has the required licensing and permissions for configuring default sensitivity labels in SharePoint libraries. Microsoft lists licensing requirements for this feature.
If these prerequisites are already met and the option is still missing after waiting for propagation, please share:
- Your SharePoint Online license/subscription type
- The output of:
Get-SPOTenant | Select EnableAIPIntegration,DisableDocumentLibraryDefaultLabeling
- Whether the sensitivity label can be successfully applied to documents and/or SharePoint sites.
I hope this helps and look forward to your response.
If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.