Hi Diksha Yadav,
Welcome to our forum!
It seems your case is more related to Outlook add-in development, please kindly understand that the Outlook tag here we mainly focus on general issues about Outlook desktop client. It's suggested that you could post your case in dedicated tag for development for more professional advice: Office Development.
Thanks for your support and understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.