There is a new preview API version for Event Hub that is not available for all resource types that is breaking this ARM template.
Azure PowerShell
((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.eventhub).ResourceTypes | Where-Object ResourceTypeName -eq namespaces).ApiVersions
2018-01-01-preview
2017-04-01
2015-08-01
2014-09-01
((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.eventhub).ResourceTypes | Where-Object Re
sourceTypeName -eq namespaces/authorizationrules).ApiVersions
2017-04-01
2015-08-01
2014-09-01
You can also hardcode the "2017-04-01" if you prefer, so if there is a new API available it won't break you template again.
There is a new preview API version for Event Hub that is not available for all resource types that is breaking this ARM template. Azure PowerShell ((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.eventhub).ResourceTypes | Where-Object ResourceTypeName -eq namespaces).ApiVersions 2018-01-01-preview 2017-04-01 2015-08-01 2014-09-01 ((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.eventhub).ResourceTypes | Where-Object Re sourceTypeName -eq namespaces/authorizationrules).ApiVersions 2017-04-01 2015-08-01 2014-09-01
You can also hardcode the "2017-04-01" if you prefer, so if there is a new API available it won't break you template again.