Hello Rahul,
I am unable to repro it at my end. When I try to invite the existing user in my test directory, it gives me message that - User name already exists in this directory. Hence, I am unable to same user again as Invite button is disabled. Please find the screenshot below for reference.