You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering an issue where our Azure Functions do not appear in the Azure Portal's Function App Functions list when we apply the [FunctionAuthorize] attribute from the DarkLoop.Azure.Functions.Authorize package and include authentication and authorization configuration in our Startup.cs file.
When we include the following authentication and authorization configuration in our Startup.cs along with the [FunctionAuthorize] attribute, the functions do not appear in the Azure Portal:
When we remove this code and the [FunctionAuthorize] attribute from our functions, they appear in the Azure Portal as expected.
Functionality:
Despite not appearing in the portal, the functions are still operational.
The issue seems to be that the authentication middleware is interfering with the Azure Functions host's ability to enumerate the functions or access internal endpoints.
Question:
Is there a recommended approach to ensure that functions appear in the Azure Portal?
The text was updated successfully, but these errors were encountered:
At the moment there's a problem loading the right assemblies for this framework when using .NET 8 for the In-Process mode.
Issue #58 explains what is going on. Host and project should depend on same ASP.NET Core authentication packages to succeed.
We are encountering an issue where our Azure Functions do not appear in the Azure Portal's Function App Functions list when we apply the [FunctionAuthorize] attribute from the DarkLoop.Azure.Functions.Authorize package and include authentication and authorization configuration in our Startup.cs file.
Environment Details:
Azure Functions Version: v4
Target Framework: .NET 8 (net8.0)
Functions Runtime: In-Process
DarkLoop.Azure.Functions.Authorize Version: 3.1.2 and 4.0.0
Deployment Method: Azure DevOps YAML pipeline
Hosting Environment: Azure Function App
Problem Description:
When we include the following authentication and authorization configuration in our Startup.cs along with the [FunctionAuthorize] attribute, the functions do not appear in the Azure Portal:
When we remove this code and the [FunctionAuthorize] attribute from our functions, they appear in the Azure Portal as expected.
Functionality:
Question:
The text was updated successfully, but these errors were encountered: