Hello @KlausVillaca-4090 , The guide to configure Azure Function app to integrate with Azure AD is described here. Please note that since an Azure Function with HTTP trigger acts as an API and like any API app, it can implement authorization by extracting the authorization header and decoding the JWT token to extract claims. I have done that as below using java-jwt (of course you can do it using library of your choice). The full sample can be found here. Also, the first step of configuring the function app with Azure AD will not be needed if you validate the token yourself (e.g. valid authority, scope etc.) at function level.
Map<String,String> headers = request.getHeaders();
String authHeader = headers.get("authorization");
DecodedJWT jwt = JWT.decode(authHeader.replaceFirst("Bearer ", ""));
Map<String,Claim> claims = jwt.getClaims();
// check claims for authorization
The way to authenticate depends on your scenario. For service to service call, your consumer app might use Client Credential flow (no user) to get the auth token and pass as authorization header when calling the function http endpoint. For user login, there needs to be a front end web/mobile app which authenticate with AAD and then pass on the auth token to the protected function API call.