For advanced troubleshooting purposes and on request by our support team, it could be necessary to extract logs from EvOps diagnostics storage account. Extraction is performed using a PowerShell script that is attached to this article.
Extraction script is using AzCopy to extract diagnostic, please follow the instructions below to install Microsoft Azure Storage Tools that includes AzCopy. If you already have Microsoft Azure Storage Tools installed in C:\Program Files (x86)\Microsoft SDKs\Azure\, please jump to Extract Diagnostic Logs.
Microsoft Azure Storage Tools Installation
- Extraction script is using AzCopy to extract diagnostic, please download using this link: Microsoft Azure Storage Tools Download
- Run MicrosoftAzureStorageTools.msi installer
- Click Next
- Check I accept the terms in the License Agreement, then click Next
- Verify that Destination Folder is set as below, then click Next
C:\Program Files (x86)\Microsoft SDKs\Azure\
Important: This is a requirement for the script to work properly.
- Click Install
- Click Yes on UAC question
- Click Finish
Extract Diagnostic Logs
- Extract Get-EvOpsDiagnostics.zip to C:\Temp
- Login to tenant portal as Service Admin
- Find and open EvOps RP resource group with name format system.<LOCATION>.evops
- In EvOps RP resource group, open Storage account with a name starting with evopsdiag
- Navigate to Access keys
- Copy Connection string for Key1
- Open a PowerShell prompt as Administrator
- Change directory to C:\Temp
- Replace <ConnectionString> with Connection string copied in step 6 and execute below script command
Note: Important that connection string is wrapped with quotes (").
PS C:\temp>.\Get-EvOpsDiagnostics.ps1 -ConnectionString "<ConnectionString>"
- When script has completed, you can find the name of the diagnostic log zip file in the script output that is located in the C:\Temp folder