Symptoms
The following message is displayed to users when they submit a form to initiate a workflow:
"Cannot execute as the server principal because the principal "LEC
urquhart" does not exist, this type of principal cannot be impersonated, or you do not have permission."
Diagnoses
1."Cannot execute as the server principal because the principal "xxxxxxxx" does not exist, this type of principal cannot be impersonated, or you do not have permission." When executing a create rule from a form (creating entry in SQL)
2.SmartObject Read method work correctly but List method gave a permission error.
3.SmartObject mapping was incorrect.
Resolution
1.Change the Authentication of the service instance to use Service Account.
2.Set the “Use Native SQL” to false for the service instance.
3.Recreated the SmartObject with the same GUID.