Forum Discussion
Azure Information Protection - SharePoint Online - Onedrive
RE_SP_720 Can you give an example of the powershell command that you use?
To be clear: do you try this on SharePoint Online or do you have on-prem SP servers?
*For SharePoint paths: SharePoint Server 2019, SharePoint Server 2016, and SharePoint Server 2013 are supported.
- RE_SP_720May 05, 2020Copper Contributor
Set-AIPFileLabel -Path $fileName -LabelId $ConfidentialLabelID -PreserveFileDetails
Where the $fileName is either a onedrive or SPO path.
Is it the case then that AIP labels can be used for SPO and ondrive files but these cmdlts to set them only support sharepoint (onprem) and fileservers?
What can be used for the same functionality in SPO and onedrive?
- jsolar2022Jan 20, 2022Copper Contributor
RE_SP_720 Did you ever get an answer?
Is it possible to run these commands on SPO?
- Sayali_BahetiApr 06, 2022Copper Contributor
jsolar2022 I have same question. Have you got answer on this.