Hello @Aakash Patro
Thank you for your heads up.
I would like to provide the next post which seems very similar for what you were describing previously.... So please direct yourself down below:
https://learn.microsoft.com/en-us/answers/questions/801055/authenticate-azure-functions.html
I hope you can find this useful to address your concern.
Looking forward to your feedback,
Cheers,
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.