Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3.01k forks source link

az ad app create - cannot combine native-app and identifier-uris #16911

Open usdruscia opened 3 years ago

usdruscia commented 3 years ago

Describe the bug The CLI cannot create a native app registration with identifier URIs

To Reproduce az ad app create --display-name MyApp --native-app true --identifier-uris https://my.app '--identifier-uris' is not required for creating a native application

Expected behavior Being able to create the native app registration with provided URIs like it's possible to do in the Azure portal

Environment summary Azure CLI 2.19.0 Azure CLI Core 2.19.0 Azure CLI Telemetry 1.0.6

Additional context I tried creating the native app registration first, and then updating it using az ad app update --id {appId} --identifier-uris https://my.app but got the error: Property identifierUris is invalid.

Any possible workaround/solution using the Azure CLI?

yonzhan commented 3 years ago

Graph