Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/src/azure-cli/azure/cli/command_modules/policyinsights/ @cheggert
/src/azure-cli/azure/cli/command_modules/profile/ @jiasli @arrownj
/src/azure-cli/azure/cli/command_modules/resource/ @Juliehzl @zhoxing-ms @qianwens
/src/azure-cli/azure/cli/command_modules/role/ @jiasli
/src/azure-cli/azure/cli/command_modules/role/ @jiasli @qianwens @arrownj
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yungezz, @yonzhan, Adding code owners @qianwens @arrownj.

/src/azure-cli/azure/cli/command_modules/storage/ @Juliehzl @qianwens
/src/azure-cli/azure/cli/command_modules/servicefabric/ @QingChenmsft @qwordy
/src/azure-cli/azure/cli/command_modules/sql/ @jaredmoo @Juliehzl
Expand Down
6 changes: 5 additions & 1 deletion src/azure-cli/azure/cli/command_modules/role/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@
helps['ad app permission grant'] = """
type: command
short-summary: Grant the app an API Delegated permissions
long-summary: for Application permissions, please use "ad app permission admin-consent"
long-summary: >
A service principal must exist for the app when running this command. To create a corresponding service
principal, use `az ad sp create --id {appId}`.

For Application permissions, please use "ad app permission admin-consent"
examples:
- name: Grant a native application with permissions to access an existing API with TTL of 2 years
text: az ad app permission grant --id e042ec79-34cd-498f-9d9f-1234234 --api a0322f79-57df-498f-9d9f-12678 --expires 2
Expand Down