Warning: Do NOT ever (unless you have a very specific and targeted reason to) use Ident_Current() - use Scope_Identity(). Ident_Current() will return the last Identity value inserted by ANY Session, not just yours.
Scope_Identity() will contain the value you want.
https://learn.microsoft.com/en-us/sql/t-sql/functions/scope-identity-transact-sql
Returns the last identity value inserted into an identity column in the same scope. A scope is a module: a stored procedure, trigger, function, or batch. Therefore, two statements are in the same scope if they are in the same stored procedure, function, or batch.