I want publish my web application (ASP.NET Core 3.1) on Microsoft Azure by Visual Studio 2019.
Also I have free trial account.
I have selected "West Us 2" for Hosting plan and databases. After clicking on create button, I got this errors.
How can I fix it?
System.Net.Http.HttpRequestException: {"error":{"code":"InvalidTemplateDeployment","message":"The template deployment 'website_deployment_20200410034706' is not valid according to the validation procedure. The tracking id is '129c8a5a-87ac-468c-9773-49d327f0164c'. See inner errors for details.","details":[{"code":"ValidationForResourceFailed","message":"Validation failed for a resource. Check 'Error.Details[0]' for more information.","details":[{"code":"RegionClosedForSubscription","message":"The scale operation is not allowed for this subscription in this region. Try selecting different region or scale option."}]}]}} at Microsoft.WebTools.Azure.VS.Provisioning.DeploymentManager.d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WebTools.Azure.Client.Http.HttpResponseExtensions.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WebTools.Azure.Client.Navigation.ARMRootExtensions.d__7
1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WebTools.Azure.Client.Navigation.EntityExtensions.<PutAsync>d__26
1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WebTools.Azure.VS.Provisioning.DeploymentManager.d__16.MoveNext()
And this:
Template deployment failed. Deployment operation statuses: Failed: /subscriptions/67b8d9e3-af75-4f27-b8b2-e581625c149c/resourcegroups/ondotnet19/deployments/website_deployment_20200410034706 (exception) error (HttpRequestException): {"error":{"code":"InvalidTemplateDeployment","message":"The template deployment 'website_deployment_20200410034706' is not valid according to the validation procedure. The tracking id is '129c8a5a-87ac-468c-9773-49d327f0164c'. See inner errors for details.","details":[{"code":"ValidationForResourceFailed","message":"Validation failed for a resource. Check 'Error.Details[0]' for more information.","details":[{"code":"RegionClosedForSubscription","message":"The scale operation is not allowed for this subscription in this region. Try selecting different region or scale option."}]}]}}