Azure / Azure/azure-cli

Add functionapp auth settings

Open
#11,598 8 comments 1 reaction 0 assignees View on GitHub
act-observability-squad azf_feature_request azf_reviewed Functions Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**
There is no way to manage function app auth settings via the CLI. I can't seem to find any way to do it other than through the portal. I've tried to work around it with ARM templates + `az deployment`, and `az resource`, but cannot seem to get it working and there is no guidance offered on how to do so. Building serverless architectures with DevOps practices go hand-in-hand; yet, to enable AAD auth on a function app, I have to go into the portal to manually do it. This is a big challenge in managing these workloads -- spinning up environments is now complex due to _one_ setting. Ephemeral or automated environments are now impossible, we must hand-hold this environment setup (e.g. pets vs cattle).

**Describe the solution you'd like**
Implement `az functionapp auth` in the same fashion as `az webapp auth`: [az webapp auth docs](https://docs.microsoft.com/en-us/cli/azure/webapp/auth?view=azure-cli-latest)

**Describe alternatives you've considered**
I've tried ARM templates, az deployment, az resource, etc. I can't seem to get this to work other than through the portal UI.

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.