Azure PS Data Collection

Jon's Avatar


15 Dec, 2015 08:34 AM

This started happened around a month or two ago and while it isn't a major issue it does cause the build to pause while waiting for an input.

As described in the screenshot I call the command to disable data collected - ps: Disable-AzureDataCollection as part of the init section in my yml file however this does nothing.

  1. Support Staff 1 Posted by Feodor Fitsner on 15 Dec, 2015 06:21 PM

    Feodor Fitsner's Avatar

    Hi Jon,

    Just add these two lines to your build script (yml) to disable Azure PS data collection:

    New-Item -path "$env:APPDATA\Windows Azure Powershell" -type directory | Out-Null
    Set-Content -path "$env:APPDATA\Windows Azure Powershell\AzureDataCollectionProfile.json" -value '{"enableAzureDataCollection":false}'
  2. 2 Posted by Jon on 16 Dec, 2015 08:47 AM

    Jon's Avatar

    Excellent, thank you Feodor!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac