Auto label (Sensitivity) all documents in a SharePoint library

%3CLINGO-SUB%20id%3D%22lingo-sub-2864113%22%20slang%3D%22en-US%22%3EAuto%20label%20(Sensitivity)%20all%20documents%20in%20a%20SharePoint%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2864113%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20way%20I%20understand%20Auto-labeling%20policies%20in%20M365%20Compliance%20is%20that%20you%20need%20to%20create%20a%20rule%20based%20on%20documents%20containing%20either%20an%20Info%20Type%20or%20is%20shared.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20simply%20want%20to%20label%20all%20documents%20in%20a%20SharePoint%20library%20(no%20exceptions).%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20below%20Powershell%20commend%20I%20tried%20from%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fapply-sensitivity-label-automatically%3Fview%3Do365-worldwide%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20article%3C%2FA%3E%20has%20been%20running%20in%20simulation%20mode%20for%20three%20days%20now%20with%20zero%20results%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22WarrenGibbs_0-1634714634180.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F318632iA850487A924D01A2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22WarrenGibbs_0-1634714634180.png%22%20alt%3D%22WarrenGibbs_0-1634714634180.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20missing%20something%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2864113%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EInformation%20Protection%20and%20Governance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20365%20Compliance%20Center%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Information%20Protection%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

The way I understand Auto-labeling policies in M365 Compliance is that you need to create a rule based on documents containing either an Info Type or is shared.

 

I simply want to label all documents in a SharePoint library (no exceptions).   

 

The below PowerShell command I tried from this article has been running in simulation mode for three days now with zero results:

WarrenGibbs_0-1634714634180.png

 

Am I missing something?

 

Thanks

 

0 Replies