Hi All,
I am facing issue when I am trying to set the location for audit log trimming using below code:
var allProperties = context.Web.AllProperties;
allProperties["_auditlogreportstoragelocation"] = newLib.RootFolder.ServerRelativeUrl;
context.Web.Update();
context.ExecuteQuery();
Strange this is when I try to add value to propertybag "_auditlogreportstoragelocation" using designer, its reflecting under Site Action > Site Settings > Site Collection Audit Setting. help on this issue is highly appreciated.
Thanks
Ankit