Trying to push a sensitivity label template that has some encryption and or content marking causes this error. Labels that are just basic push fine.
Could not deploy sensitivity label 'Confidential' to ----: Cannot process argument transformation on parameter 'EncryptionRightsDefinitions'. Cannot convert value "System.Collections.Generic.List1[System.String]" to type "Microsoft.Office.CompliancePolicy.Tasks.EncryptionRightsDefinitionsParameter". Error: "Object of type 'System.Collections.Generic.List1[System.String]' cannot be converted to type 'Microsoft.Office.CompliancePolicy.Tasks.EncryptionRightsDefinitionsParameter'."
JSON Below:
{"DisplayName":"Confidential","Name":"Confidential","Comment":"Client data, contracts, financial information, commercial information","Settings":["[isparent, False]","[contenttype, File, Email, Teamwork]","[tooltip, Client data, contracts, financial information, commercial information]","[displayname, Confidential]","[color, #EAA300]"],"LabelActions":["{\"Type\":\"encrypt\",\"SubType\":null,\"Settings\":[{\"Key\":\"protectiontype\",\"Value\":\"template\"},{\"Key\":\"disabled\",\"Value\":\"false\"},{\"Key\":\"templateid\",\"Value\":\"2dcacb2f-6b6b-49d1-9625-c0ae349ac5c9\"},{\"Key\":\"templatearchived\",\"Value\":\"False\"},{\"Key\":\"linkedtemplateid\",\"Value\":\"2dcacb2f-6b6b-49d1-9625-c0ae349ac5c9\"},{\"Key\":\"contentexpiredondateindaysornever\",\"Value\":\"Never\"},{\"Key\":\"offlineaccessdays\",\"Value\":\"-1\"},{\"Key\":\"rightsdefinitions\",\"Value\":\"[{\\\"Identity\\\":\\\"%defaultdomain%\\\",\\\"Rights\\\":\\\"VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,OBJMODEL\\\"}]\"},{\"Key\":\"disableautomaticownerrights\",\"Value\":\"False\"}]}","{\"Type\":\"applycontentmarking\",\"SubType\":\"footer\",\"Settings\":[{\"Key\":\"text\",\"Value\":\"Confidential\"},{\"Key\":\"fontsize\",\"Value\":\"10\"},{\"Key\":\"fontcolor\",\"Value\":\"#000000\"},{\"Key\":\"alignment\",\"Value\":\"Left\"},{\"Key\":\"margin\",\"Value\":\"5\"},{\"Key\":\"placement\",\"Value\":\"Footer\"},{\"Key\":\"disabled\",\"Value\":\"false\"}]}"],"Conditions":[],"LocaleSettings":["{\"LocaleKey\":\"displayName\",\"Settings\":[{\"Key\":\"default\",\"Value\":\"Confidential\"}]}","{\"LocaleKey\":\"tooltip\",\"Settings\":[{\"Key\":\"default\",\"Value\":\"Client data, contracts, financial information, commercial information\"}]}"],"ParentId":null,"Tooltip":"Client data, contracts, financial information, commercial information","ContentType":"File, Email, Teamwork","ParentLabelDisplayName":null,"Priority":2,"Disabled":false,"GUID":"6d4cdb63-adb4-4d2c-a988-3f7f5a4b99b9"}
Required confirmations before submitting
Issue Description
Trying to push a sensitivity label template that has some encryption and or content marking causes this error. Labels that are just basic push fine.
Environment Type
Subscribed (paying) user
Front End Version
v11.0.1
Back End Version
v11.0.1
Relevant Logs / Stack Trace