Skip to content

Commit 117e1a6

Browse files
Updated known issues with 'ERROR: Invalid value specified for property 'web' of resource 'Application'.' (#357)
* Added echo messages for debugging purposes. * Added multi region known issue for createAppRegistrations.sh
1 parent 5ade260 commit 117e1a6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

infra/createAppRegistrations.sh

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ environmentName=${resourceGroupName:0:$locationOfHyphen-1}
9090

9191

9292
frontDoorProfileName=$(az resource list -g $resourceGroupName --query "[? kind=='frontdoor' ].name" -o tsv)
93+
echo "frontDoorProfileName=$frontDoorProfileName"
9394
frontEndWebAppHostName=$(az afd endpoint list -g $resourceGroupName --profile-name $frontDoorProfileName --query "[].hostName" -o tsv --only-show-errors)
95+
echo "frontEndWebAppHostName=$frontEndWebAppHostName"
9496
frontEndWebAppUri="https://$frontEndWebAppHostName"
9597

9698
substring="-rg"

known-issues.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,12 @@ The following topics are intended to help readers with our most commonly reporte
4747
When the `azd provision` command runs it creates a deployment resource in your subscription. You must delete this deployment before you can change the Azure region.
4848

4949
> Please see the [teardown instructions](README.md#clean-up-azure-resources) to address this issue.
50+
51+
* **Error: Invalid value specified for property 'web' of resource 'Application'**
52+
This error most often happens when the user is running the 'createAppRegistrations.sh' file to create new app registrations and the region of user is different than the region of provisioned azure resources. For ex. the user from Canada is running this script on their local machine and the Azure region selected is East US.
53+
54+
> You may need to wait a bit longer (15-20 minutes) before running the below command
55+
56+
```bash
57+
./infra/createAppRegistrations.sh -g "$myEnvironmentName-rg"
58+
```

0 commit comments

Comments
 (0)