I have developed console utility by using CSOM C# and below is my code. Earlier it was working perfectly fine but from last week I am encountering issue.
var applyToExistingItems = true;
SPPolicyStoreProxy.SetListComplianceTag(clientContext, listRootFolder.ServerRelativeUrl, "Permanent (100 Years)", false, false, applyToExistingItems);
clientContext.ExecuteQuery();
Error:
"Value cannot be null. Parameter name: Empty correlation Guid"
Do you have any idea why working code stopped working.
I appreciate your help in advance!