The are a lot of article out there for configuring federated login with Azure Functions. But most documentation seems to either addres the older (v2) or refer to in-process and not the isolated version of azure functions.
For the isolated functions the easy configuration on the azure function configuration pages is not available.
Is there an example out there or can one be given here on how to configure An .net 6 isolated azure function app with an API to use federated login. Or in other terns how to make [HttpTrigger(AuthorizationLevel.User, "get")] work.
You can setup the easy configuration in .Net 6 isolated function app using below steps-
Once its added, you will see below
Also you can check, there is an app registered in your Azure AD tenant
Then I created default isolated function locally and deployed to function app.
Here I have taken authentication level as Anonymous, because User option is not yet available in the template while function creation.
Deployed..
Output:
When I called the above url in browser, then it got redirected to Azure AD, clicked Accept
Reference- MS Doc
As per this MS Doc, Authorization level only have Admin, Function, Anonymous as supported values but I would suggest you to check this with product team to get the latest updates if any.