MicrosoftLearning / AZ400-DesigningandImplementingMicrosoftDevOpsSolutions

AZ-400 Course Repository for Labs and Demos.
https://microsoftlearning.github.io/AZ400-DesigningandImplementingMicrosoftDevOpsSolutions/
MIT License
518 stars 963 forks source link

M09-Lab 16 - Monitoring Application Performance: Lacks appsettings to deploy correctly #560

Closed rob-foulkrod closed 4 months ago

rob-foulkrod commented 4 months ago

Contact Details

No response

What happened?

Exercise : 1 Task: 2 Step: 10 - 12

Description of issue: the Azure App Service deploy step requires configuration to deploy correctly

Repro steps: Current deployment, without the correct App Settings will result in a 500 error

Step 12 should look like

    - task: AzureRmWebAppDeployment@4
      inputs:
        ConnectionType: 'AzureRM'
        azureSubscription: 'MTTManaged'
        appType: 'webApp'
        WebAppName: 'az400eshoponweb177112039'
        packageForLinux: '$(Build.ArtifactStagingDirectory)/**/Web.zip'
        AppSettings: '-UseOnlyInMemoryDatabase true -ASPNETCORE_ENVIRONMENT Development'

Lab

Other

Relevant screenshots

paste here 😉

Do you want to help us? 👏

LuizMacedo commented 4 months ago

Fixed by #559.