Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.63k stars 5.08k forks source link

Microsoft.Web/hostingEnvironments@latest missing identity properties #21819

Open fa-bwilliams opened 1 year ago

fa-bwilliams commented 1 year ago

When using the Microsoft.Web/hostingEnvironments@latest API, we are unable to update existing hosting environments, like an Azure Service Environment v3 to utilize either a SystemAssigned or UserAssigned managed identity. For us, this started with Terraform provider for ASEv3. We then realized that the properties were missing from the Azure API and Swagger documentation when we tried to utilize the Terraform provider for AZAPI.

These properties are already available at the web app level in Microsoft.Web/sites.

Related issue.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Issue Details
When using the Microsoft.Web/hostingEnvironments@latest API, we are unable to update existing hosting environments, like an Azure Service Environment v3 to utilize either a SystemAssigned or UserAssigned managed identity. For us, this started with Terraform provider for [ASEv3](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service_environment_v3). We then realized that the properties were missing from the Azure API and Swagger documentation when we tried to utilize the Terraform provider for [AZAPI](https://registry.terraform.io/providers/azure/azapi/latest/docs/resources/azapi_update_resource). These properties are already available at the web app level in Microsoft.Web/sites. Related [issue.](https://github.com/hashicorp/terraform-provider-azurerm/issues/18417)
Author: fa-bwilliams
Assignees: -
Labels: `question`, `App Services`, `Service Attention`, `customer-reported`
Milestone: -
navba-MSFT commented 1 year ago

Adding Service team to look into this.

@antcp, @azureappserviceCLI Could you please look into this and provide an update ?

fa-bwilliams commented 1 year ago

It appears that this never went anywhere or there is no visibility of any progress. These properties are still missing from the API today making it impossible to fully automate an App Service Environment with a custom domain suffix with tools like Terraform or Pulumi.