Set-SCSMObject/New-SCSMObject fails on large character strings for class with nvarchar(max) field.

Jun 23, 2014 at 5:07 PM
I have a class with a string property where max length is 65536 (i.e., nvarchar(max) in the database). When I try to update or insert into this field a character string with length > 65536, I get the error:

"The specified value did not conform to the maximum length requirements".