cannot save a particualar variable in Azure function configuration.

Mounika Nallapati 61 Reputation points

Updating web app settings
Failed to update web app settings: The data is not valid (Invalid or not allowed environment key name: username

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

Accepted answer
  1. Pierre-Luc Giguere 1,076 Reputation points


    I am not able to locate a definitive list of reserved environment variables but I would say "username" is most likely used by the system thus not letting you use it.

    This seems backed by a reported bug in Azure-Samples where they changed Username to DevOps.Username to fix it.

    0 comments No comments

0 additional answers

Sort by: Most helpful