Setting sensitivity label to classic site using CSOM #705
Unanswered
Vivek00001
asked this question in
Q&A
Replies: 1 comment
-
Any updates here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to set sensitivity label to existing classic team site using the following CSOM code.
ClientContext.Site.SensitivityLabelId = sensitivityLabelId;
ClientContext.ExecuteQueryRetry();
I am getting "Attempted to perform an unauthorized operation" error
I am using App-only token and App has Sites.FullControl.All application permission (SharePoint).
Could you please help in identifying issue.
Beta Was this translation helpful? Give feedback.
All reactions