Open aristosvo opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Author: | aristosvo |
---|---|
Assignees: | ruowan |
Labels: | `question`, `SQL`, `Service Attention`, `customer-reported`, `needs-triage` |
Milestone: | - |
Updates to the Azure AD Admin are not currently supported through the Servers API. However, we support updates to the Azure AD Admin through the ServerAzureADAdministrators API: azure-rest-api-specs/ServerAzureADAdministrators.json.
We've made improvements to the administrators property description in recent API releases to clarify this behavior:
The Azure Active Directory administrator of the server. This can only be used at server create time. If used for server update, it will be ignored or it will result in an error. For updates individual APIs will need to be used.
We don't support updates to the Azure AD Admin through the Server API due to a difference in RBAC permission requirements. The permission model is SQL DB contributor for create server, and SQL Security Manager for updating the Azure AD Only property, and we decided to maintain consistency in API behavior between the two Azure AD properties.
We are revisiting this design to determine if we should expose the Azure AD Admin property through the Server API.
When trying to set the
properties.administrators
property inMicrosoft.Sql/servers
createUpdate request for an existing server, nothing happens. Is this expected behaviour or a bug?:Related to: Terraform issue.