Skip to content

Setting SQL Server AD AD Admin is not possible when omitting the displayname parameter #20795

@fgheysels

Description

@fgheysels

According to the documentation, the displayName parameter of the az sql server ad-admin create is optional:

image

However, when I execute this command:

 az sql server ad-admin create --server <servername> --resource-group <resourcegroup> --object-id <objectid>

I'm presented with this error:

##[error]ERROR: (InvalidResourceIdSegment) The 'parameters.properties' segment in the url is invalid.

When I add the display-name parameter to that command, the command runs and finishes successfully.

I think the documentation must be changed and it must be stated that both the --object-id and --display-name parameters are mandatory.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SQLaz sqlService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions