Cli-microsoft365: New command: Get classification label

Created on 27 Jan 2019  路  3Comments  路  Source: pnp/cli-microsoft365

Gets classification label set on the specified list

command: spo list label get -u|--webUrl <webUrl> -l|--listId [listId] -t|--listTitle [listTitle]

  • webUrl: The URL of the site where the list is located
  • listId: The ID of the list on which to get the label. Specify listId or listTitle but not both
  • listTitle: The title of the list on which to get the label. Specify listId or listTitle but not both

For more information see: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnplabel?view=sharepoint-ps

good first issue new feature work in progress

All 3 comments

Hi @waldekmastykarz , is there any known rest api for this yet? Or should we mimic CSOM call Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyStoreProxy.GetListComplianceTag instead and pass the request? If yes please assign to me. Thanks

There is a REST API. Search in _api/$metadata for SP_CompliancePolicy_SPPolicyStoreProxy_GetListComplianceTag.

All yours and I appreciate you reaching out 馃憦

Thanks Waldek! I am on it.

Was this page helpful?
0 / 5 - 0 ratings