The permission level could not be set because the TargetType parameter contains a PermissionTrusteeType that is not supported. ...

The permission level could not be set because the TargetType parameter contains a PermissionTrusteeType that is not supported. The supported values are User, Group, and Computer. Make sure that TargetType contains one of the supported values and run the command again.