I have a site (app) registered with Azure Active Directory. I need my web tests to authenticate themselves (with a pre-existing testing user) at the start in order to obtain an auth token for the tests to hit the protected APIs.
What's the best way to accomplish this in C#?