microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
355 stars 27 forks source link

Misleading error for failed deployments #1162

Closed alexwolfmsft closed 1 month ago

alexwolfmsft commented 1 month ago

Please provide us with the following information:

This issue is a: (mark with an x)

Issue description

Deployments fail with a message "NoRegisteredProviderFound: No registered resource provider found for location 'westus2' and API version '2024-02-02-preview' for type 'managedEnvironments'."

However, the list of supported regions and APIs then includes the items it says weren't supported.

image

Steps to reproduce

Run the dotnet new aspire-starter command, then use azd up to deploy - tried on multiple regions (eastus, eastus2, westus2)

Expected behavior

Should deploy successfully.

Actual behavior

Deployment failed.

chinadragon0515 commented 1 month ago

@alexwolfmsft the issue should have been fixed, let us know if you still see issues. thanks