Azure / azure-cli

Azure Command-Line Interface
MIT License
3.97k stars 2.95k forks source link

az role assignment create --assignee $CLIENT_ID --role acrpull --scope $ACR_ID #19294

Open eliezersoares opened 3 years ago

eliezersoares commented 3 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az role assignment create

Errors:

Cannot find user or service principal in graph database for 'msi'. If the assignee is an appId, make sure the corresponding service principal is created with 'az ad sp create --id msi'.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Environment Summary

Linux-5.4.0-1056-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.27.0 *

Extensions:
ai-examples 0.2.5
ssh 0.1.5

Additional Context

yonzhan commented 3 years ago

@jiasli for awareness