Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.61k stars 5.01k forks source link

Azure AI Search REST API does not support UserAssigned Identity (Azure Portal does) #26814

Open patst opened 9 months ago

patst commented 9 months ago

The current definition of the Azure AI Search service does not support user assigned identities: https://github.com/Azure/azure-rest-api-specs/blob/4ad21c4cd5f024b520b77907b8ac15fb84c8413a/specification/search/resource-manager/Microsoft.Search/stable/2023-11-01/search.json#L2428

The Azure portal allows creation of these identities:

image

Related terraform issue: https://github.com/hashicorp/terraform-provider-azurerm/issues/19170

chelhernandez commented 9 months ago

+1 I am working with Bicep to deploy this resource and I noticed the latest API version does not support UserAssigned identity just two options 'SystemAssigned' or 'None'.

https://learn.microsoft.com/en-us/azure/templates/microsoft.search/searchservices?pivots=deployment-language-bicep#identity

RawPatty commented 7 months ago

Hello, I am also having an issue with this - It looks like the underlying AzAPI no longer supports UserAssigned for Identity per the documentation

I would note that it looks like this was going in the 2021-04-01-preview but seems like this was not carried forward into the next release for some reason