The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.
The following is output below occurs when I execute the App Registration bash script. What I noticed is that the App Registration that gets created in the portal has a longer AppID than what is shown in the log. I'm suspecting there is a formatting/parsing issue with the clientId because the last character on the AppID is missing in the console logs.
bash ./infra/createAppRegistrations.sh -g "$myEnvironmentName-rg"
Inputs
----------------------------------------------
resourceGroupName='relecloudresources3-rg'
Derived inputs
----------------------------------------------
isProd=false
keyVaultName=rc-xixt3hoyzdu3q-k
appConfigSvcName=xixt3hoyzdu3q-appconfi
frontEndWebAppUri=https://web-xixt3hoyzdu3q-web-ap.azurewebsites.net
resourceToken=xixt3hoyzdu3q
environmentName=relecloudresources3
secondaryResourceGroupName=relecloudresources3-secondary-rg
Runtime values
----------------------------------------------
frontEndWebAppName='relecloudresources3-xixt3hoyzdu3q-frontend'
apiWebAppName='relecloudresources3-xixt3hoyzdu3q-api'
maxNumberOfRetries=20
tenantId='16b3c013-d300-468d-ac64-7eda0820b6d'
frontEndWebAppClientId='ba7095be-809c-4f35-8334-55f760ec8c8'
... trying to create clientSecret for front-end attempt #1
... trying to create clientSecret for front-end attempt #2
... trying to create clientSecret for front-end attempt #3
... trying to create clientSecret for front-end attempt #4
... trying to create clientSecret for front-end attempt #5
... trying to create clientSecret for front-end attempt #6
... trying to create clientSecret for front-end attempt #7
... trying to create clientSecret for front-end attempt #8
... trying to create clientSecret for front-end attempt #9
... trying to create clientSecret for front-end attempt #10
... trying to create clientSecret for front-end attempt #11
... trying to create clientSecret for front-end attempt #12
... trying to create clientSecret for front-end attempt #13
... trying to create clientSecret for front-end attempt #14
... trying to create clientSecret for front-end attempt #15
... trying to create clientSecret for front-end attempt #16
... trying to create clientSecret for front-end attempt #17
... trying to create clientSecret for front-end attempt #18
... trying to create clientSecret for front-end attempt #19
^[OA^[OA^[OA... trying to create clientSecret for front-end attempt #20
FATAL ERROR: Tried to create a client secret too many times
The following is output below occurs when I execute the App Registration bash script. What I noticed is that the App Registration that gets created in the portal has a longer AppID than what is shown in the log. I'm suspecting there is a formatting/parsing issue with the clientId because the last character on the AppID is missing in the console logs.