Azure / Azure/azure-cli

Customer feedback | az webapp create | missing example for `--scope` parameter

Open
#30,336 3 comments 0 reactions 1 assignee Claimed by @seligj95 View on GitHub
act-observability-squad app-service-general Auto-Assign bug Service Attention Web Apps
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

This GitHub issue is being moved from Azure DevOps UUF [338476](https://dev.azure.com/msft-skilling/Content/_workitems/edit/338476).
***************************

## Engineering request
Provide an example for the `--scope` parameter

Although this reference command has several examples, `--scope` is a frequently misunderstand parameter value. It would be very helpful to supply an example for our customers to follow. Can `--scope` also be used for user-assigned identities? Can it set the AcrPull role on the user?

## Customer feedback

**Repo:**

azure-docs-cli

**Title:**
az webapp | Microsoft Learn

**Verbatim:**
the az webapp create --scope flag should have an example. Can it also be used for user-assigned identities? can it set the AcrPull role on the user?

**Verbatim Id:**
fbf6ef02-d252-ef11-a317-000d3a59d4e9

**Live URL:**
https://learn.microsoft.com/en-us/cli/azure/webapp

**GitHub URL:**
https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/2017-03-09-profile/docs-ref-autogen/webapp.yml

**UUF Triage App Feedback URL:**
https://aka.ms/UUFTriageApp?pageviewid=e98f377c-36c2-342b-a296-a3ab22e64f9a

### Related command

az webapp create

### Errors

.

### Issue script & Debug output

.

### Expected behavior

.

### Environment Summary

Azure CLI 2.66.0

### Additional context

_No response_

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.