Setting sensitivity label to classic site using CSOM #705
Unanswered
Vivek00001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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