Azure / Azure/azure-powershell

Set-AzSqlServerActiveDirectoryAdministrator should not ask for a Display Name when objectId is provided

Open
#12,166 6 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad customer-reported feature-request Service Attention SQL
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

## Description of the new feature
As of now, `Set-AzSqlServerActiveDirectoryAdministrator` requires a compulsory Display Name even when the Object Id is specified. I think the latter is much better since it doesn't have the chance of duplicates or ambiguity. The commandlet should be able to function without the Display Name when only the Object Id is provided.

Documentation also needs to be added on if you are using the above command from an Azure PowerShell session authenticated with an App Registration (Like within DevOps pipeline), it fails with a FORBIDDEN error.

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.