Hello Mohammed Sarfaraz,
Thank you for reaching out to Microsoft Support!
First, you need to invite the user as a guest in Azure AD, and then Add the guest to your group chat through the Add member endpoint.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.