Hi @Manish Aggarwal ,
Thanks for reaching out.
You can simulate user login in JMeter scripts without manual intervention by using the Resource Owner Password Credential Grant (ROPC) auth flow.
ROPC allows you to sign in as a user instead of automating the interactive sign-in prompt UI.
Once you have set up ROPC, you can use the Microsoft Authentication Library (MSAL) to acquire tokens and call APIs in your JMeter scripts.
Reference: https://github.com/yoelhor/aadb2c-load-test which is using authorization grant flow. In similar way you can use ROPC flow to simulate JMeter scripts.
Hope this will help.
Thanks,
Shweta