Hello Ankush M,
Thank you for contacting Microsoft Support!
Please refer to the documentation. I have followed the steps outlined there and successfully created the event. The attendees are receiving emails, and the event is being created for them as well.
If you continue to encounter the same error after following the steps, please check the event organizer's inbox to see if there is an email delivery failure.
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.