The Identity property can't be set on column '<0s>' because it allows null values.

Identity columns contain system-generated sequential values that uniquely identify each row within the table. Therefore, identity columns cannot have null values.

For more information, see Changing a Column’s Identity Properties and Changing the Null Option Assigned to a Column.