-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while deploying MWA to Azure #264
Comments
Thanks for reporting the issue, @mfaulcon. We'll take a look! |
I haven't been able to reproduce this locally. Can you share more details on the error? When you look at the deployment in the Azure Portal, drill down into the nested deployments by clicking on the name of the failed deployment as many times as possible and then share which resource is failing to deploy and the operation details? |
The details you see in my original post are the details from the nested deployment. To add further information, in the naming.overrides.jsonc file, I had added overrides for "resourceGroup" and "sqlResourceGroup", among others. This seems to be an issue in application-resources.bicep, line 70, and again in line 277. Once I tried again with the resource groups set to the same value, the deployment completed. I will note, however, that the execution of create-app-registrations.ps1 failed immediately following - still investigating that. |
Update - Not sure why, but in order to make create-app-registrations.ps1 work, I had to add the line below: # Set defaults
+$global:resourceGroups = @{}
$defaultFrontEndAppRegistrationName = "$(Get-WorkloadName -ResourceGroupName $ResourceGroupName)-$(Get-WorkloadEnvironment -ResourceGroupName $ResourceGroupName)-front-webapp-$(Get-WorkloadResourceToken -ResourceGroupName $ResourceGroupName)"
|
Describe the bug
While executing step 5 in the [Steps to deploy the reference implementation](Steps to deploy the reference implementation) using the option for Visual Studio, the error below was observed:
Examining the deployment error in the Azure portal showed this message:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The MWA azure infrastructure is provisioned successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: