The recommended approach is to customize the build template (AzureContinuousDeployement.11.xaml) and add in the custom TFSVersion activity from the TFS Community Build Extensions that will handle this.
If you've never customized a TFS Build Template before you can learn about the process in the ALM Rangers Build Guidance