Before deploying our Azure Functions, it's good to debug our Functions locally to ensure that it works as expected. Running our Functions locally requires a local.settings.json file to store our application settings.
When we first create a Function in Visual Studio, a local.settings.json file is generated for us. However, if we clone a Function app from a repository, this file won't be cloned! (Hopefully it won't be cloned. It's good practice not to commit this file to your repo since it has application secrets!).
Thankfully, we can use Azure Function Core Tools to create a local.settings.json file and import our Function settings to that file so we can run our Functions locally as if we were running it against that environment!
https://dev.to/willvelida/using-azure-functions-core-tools-to-fetch-app-settings-for-local-development-1gb2
https://dev.to/willvelida/using-azure-functions-core-tools-to-fetch-app-settings-for-local-development-1gb2