Learn how to use Azure Functions with out-of-process hosting on .NET 5.0 and how to enable authentication with Azure AD even without HttpContext. This post covers the differences between in-process and out-of-process models, as well as the issues you may encounter while using Microsoft.Identity.Web with Functions. Find out how to overcome them by exploring two different authentication methods - the easy way with Easy Auth and the more complex way with MSAL (Microsoft.Identity.Web-like).