Ryan Spears
Ryan Spears

Reputation: 3011

Azure Function error - 'The Keys feature is not available because Authentication/Authorization is enabled for this Function App.'

I wanted to learn about Azure Functions and so created a one from the HttpTrigger-CSharp template in the portal.

Once the Azure Function was created I see a warning message in the Keys tab indicating that 'The Keys feature is not available because Authentication/Authorization is enabled for this Function App.'

Under 'Integrate', allowed HTTP methods are 'All methods', the mode is 'Standard' and the Authorization Level is 'Function'.

Under 'Manage', the error message is displayed for Function keys and Host Keys and the function state is enabled.

In the Settings of the Functional App itself, I navigated to 'Platform Features' / 'Networking' / 'Authentication / Authorization' and App Service Authentication is Off, contrary to the error message.

Where I attempt to Test the Azure Function, I get none of the expected messages in the log.

When I click on ' Get function URL', the function URL is empty.

Does anyone have any idea what is going on? Hopefully I am missing something simple.

It should be noted that I can create an Azure Function from the TimerTrigger-CSharp template and it runs successfully.

Upvotes: 2

Views: 819

Answers (3)

Edwin
Edwin

Reputation: 15

We had the same issue, and it was a ui glitch and indeed has been resolved now as @david-ebbo mentioned.

Upvotes: 0

4c74356b41
4c74356b41

Reputation: 72141

So this is a pretty big bug, you can follow this thread.

https://github.com/projectkudu/AzureFunctionsPortal/issues/1229

I encourage you to complain in that thread. Issue resolved.

Upvotes: 1

David Ebbo
David Ebbo

Reputation: 43213

There was an issue in the latest portal deployment. It has now been addressed. Please see https://github.com/projectkudu/AzureFunctionsPortal/issues/1229 for details.

Upvotes: 1

Related Questions