Azure / Azure/azure-powershell
Set-AzSqlServerActiveDirectoryAdministrator should not ask for a Display Name when objectId is provided
Open
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
Assessment
This issue has not been assessed yet.