Hi anonymous user-lau ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query.
As I understand your issue, you are trying to perform Upsert in SQL table which is having PersonID as identity column . However, it fails when you are removing PersonID column from mapping so that it automatically inserts the PersonID value. Please correct me if my understanding is incorrect.
Similar issue has been raised by another customer: https://learn.microsoft.com/en-us/answers/questions/856280/index.html
We have reached out to internal team for help on this.
Meanwhile, temporary workaround is to create custom Stored procedure to perform the Upsert using Merge statement.
Please check the following article for the help : Invoke a stored procedure from a SQL sink