We have integrated our code with Azure AD for authentication. As per our Azure AD policy, we even require to authenticate via MFA. Hence during development, we need to enter password & also MFA which is very frustrating.
Is it possible to disable authentication in development without removing [Authorize] tag Or can we add dummy principal object ?
Here is screen grab of our code in ConfigureServices in Startup class

I have seen couple of post but none of option works for us.
Please help us out. Thanks in Advance