Azure Devops – Execute task before Source Code Checkout

Sometimes we need to execute several tasks before Source Code Checkout – Install Certificates configure git. This Market Place solution can be very helpful: https://marketplace.visualstudio.com/items?itemName=jessehouwing.pre-post-tasks Sample task: # Starter pipeline trigger: – none pool:   name: privatepool steps: – task: jessehouwing.pre-post-tasks.Pre-CmdLineV2.Pre-CmdLine@2   displayName: ‘Pre’   inputs:     script: ‘du -sh /agent/* | sort -h’ – task: Bash@3   displayName: ‘Main’   inputs:     targetType: ‘inline’     script: |       du -sh /agent/* | sort -h Look like:

RDS infrastructure – The connection has been terminated because an unexpected server authentication certificate was received from the remote computer.

The connection has been terminated because an unexpected server authentication certificate was received from the remote computer. In my case the error was connected after adding HA for Connection Broker and adding new DNS name for the RD Connection Broker cluster, that was not included in certificate. You can always change it using Power Shell command as a admin: Set-RDClientAccessName -ConnectionBroker connectionbroker-server-name  -ClientAccessName New-DNS-Name-For-The-RD-Connection-Broker-Cluster Please remember that DNS must be configured for New-DNS-Name-For-The-RD-Connection-Broker-Cluster