Azure Function App - Authentication / Authorization grayed out.

Hector Romo 151 Reputation points
2020-11-02T10:32:51.5+00:00

Hi! I'm trying to add authentication to a functions app. A while ago it worked, but now the option is grayed out. If I "open link in new tab" I get this info: "To enable Authentication / Authorization, please ensure all your custom domains have corresponding SSL bindings. For Windows Apps, also ensure your .NET version is configured to “4.5” or higher and manage pipeline mode is set to “Integrated”.
the thing is I don't have any custom domains, and it is a javascript app on Linux.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,605 questions
{count} votes

Accepted answer
  1. Hector Romo 151 Reputation points
    2020-11-09T10:56:44.467+00:00

    @ChaitanyaNaykodi-MSFT

    So I cloned my functions app to a Windows Function app, and now the authentication works.
    My feedback/suggestion would be that users get a warning saying: “auth is not available for Linux Function apps on consumption plan”. That would have saved me some time and less headache.

    Regards
    Hector

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Hector Romo 151 Reputation points
    2020-11-04T08:34:14.55+00:00

    Hi @ChaitanyaNaykodi-MSFT , I followed the process from the issue and it doesn't have anything to do with browser support.
    So I get the same warning as the user from the issue.

    "To enable Authentication / Authorization please ensure all your custom domains have corresponding SSL bindings .net version is configured to "4.5" and manage pipeline mode is set to "Integrated".

    I managed to save the auth-settings, but I get CORS errors and there is something not working right. I created another azure functions app, and it worked without problems. Could it be that because it is grayed out, something in the authentication settings are not working correctly?