Hi @Harsha Jha
Good day! Welcome to Q&A forum.
Here are some articles about Setup a Service Principal in Power Automate for your reference:
Setup a Service Principal in Power Automate » Benedikt's Power Platform Blog
A Visual Guide To Power Platform Service Principal Setup
Since your issue is more related to Power Automate flow, in order to better solve your problem, it's suggested that you could post your case in Power Automate forum Microsoft Power Platform Community Forum Thread for more professional advice.
Thanks for your understanding and cooperation! Hope you have a nice day!
Hope these information helps.
Please do let us know if you have any further queries.
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.