Azure / reliable-web-app-pattern-dotnet

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.
https://aka.ms/eap/rwa/dotnet/doc
MIT License
379 stars 120 forks source link

output formatting from az resource command breaks makeSqlUserAccount.sh #202

Closed KSchlobohm closed 1 year ago

KSchlobohm commented 1 year ago

Started receiving an error

ERROR: Operation returned an invalid status 'Bad Request'
KSchlobohm commented 1 year ago

Looks like the command is returning whitespace when it formats the server name

az resource list -g $resourceGroupName --query "[?type=='Microsoft.Sql/servers'].name" -o tsv
KSchlobohm commented 1 year ago

seeing the same issue happening during createAppRegistrations.sh

image

where the last line of output should read 'frontEndWebAppUri=https://web-blah-web-app.azurewebsites.net'