Azure / Azure/azure-cli

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

Open
#16,911 1 comment 1 reaction 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad feature-request Graph
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**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?

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.