Azure / Azure/azure-cli

(ExternalAdministratorPrincipalType) Invalid or missing external administrator principal type. Please select from User, Application or Group.

Open
#19,247 7 comments 2 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad customer-reported Service Attention SQL
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
On Azure CLI version 2.27.1, trying to update a SQL server is triggering the following error
ExternalAdministratorPrincipalType) Invalid or missing external administrator principal type. Please select from User, Application or Group.

The same query worked on AZ CLI version 2.16.0 and prior.

**To Reproduce**
Upgrade AZ CLI to the latest version and try to update a SQL server database using the "az sql server update" command.
Example :
az sql server update -g test-dbs-rg -n test-dbs --set tags.app=test

**Expected behavior**
"az sql server update" command should update a SQL server without errors.

**Environment summary**
{
"azure-cli": "2.27.1",
"azure-cli-core": "2.27.1",
"azure-cli-telemetry": "1.0.6",
"extensions": {
"db-up": "0.1.15"
}
}

**Additional context**

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.