SOLVED

No diagnostics activities

%3CLINGO-SUB%20id%3D%22lingo-sub-1237782%22%20slang%3D%22en-US%22%3ENo%20diagnostics%20activities%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1237782%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%2C%20I%20work%20on%20Windows%20Virtual%20Desktop%20deployment%20in%20my%20company.%3C%2FP%3E%3CP%3EI%20would%20like%20to%20understand%20how%20it%20is%20possible%20to%20use%20diagnostics%20tool%20or%20diagnostics%20powershell%20commands.%3C%2FP%3E%3CP%3EBefore%20implementing%20a%20diagnostics%20tool%2C%20I%20tried%20to%20use%20powershell%20command%20%3A%20%3CSPAN%3EGet-RdsDiagnosticActivities.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20command%20works%20but%20all%20the%20time%2C%20its%20output%20is%20always%20the%20same%20%3A%26nbsp%3BThere%20were%20no%20activities%20found.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20you%20help%20me%20to%20troubleshoot%20my%20troubleshoot%20command%3F%20(Inception%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1238205%22%20slang%3D%22en-US%22%3ERe%3A%20No%20diagnostics%20activities%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238205%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F586763%22%20target%3D%22_blank%22%3E%40MS_Clouder%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20looks%20like%20a%20service%20issue%20at%20the%20moment%3A%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fapp.azure.com%2Fh%2F9VQ0-D88%2F01e80c%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fapp.azure.com%2Fh%2F9VQ0-D88%2F01e80c%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20if%20you%20have%20Log%20Analytics%20working%2C%20the%20following%20query%20is%20awesome%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWVDActivityV1_CL%3CBR%20%2F%3E%7C%20where%20Type_s%20%3D%3D%20%22Connection%22%3CBR%20%2F%3E%7C%20join%20kind%3Dleftouter%20(%3CBR%20%2F%3E%E2%80%AF%E2%80%AF%E2%80%AF%20WVDErrorV1_CL%3CBR%20%2F%3E%E2%80%AF%E2%80%AF%E2%80%AF%20%7C%20summarize%20Errors%20%3D%20makelist(pack('Time'%2C%20Time_t%2C%20'Code'%2C%20ErrorCode_s%20%2C%20'CodeSymbolic'%2C%20ErrorCodeSymbolic_s%2C%20'Message'%2C%20ErrorMessage_s%2C%20'ReportedBy'%2C%20ReportedBy_s%20%2C%20'Internal'%2C%20ErrorInternal_s%20))%20by%20ActivityId_g%3CBR%20%2F%3E%E2%80%AF%E2%80%AF%E2%80%AF%20)%20on%20%24left.Id_g%E2%80%AF%20%3D%3D%20%24right.ActivityId_g%E2%80%AF%3CBR%20%2F%3E%7C%20join%E2%80%AF%20kind%3Dleftouter%20(%3CBR%20%2F%3E%E2%80%AF%E2%80%AF%E2%80%AF%E2%80%AFWVDCheckpointV1_CL%3CBR%20%2F%3E%E2%80%AF%E2%80%AF%E2%80%AF%20%7C%20summarize%20Checkpoints%20%3D%20makelist(pack('Time'%2C%20Time_t%2C%20'ReportedBy'%2C%20ReportedBy_s%2C%20'Name'%2C%20Name_s%2C%20'Parameters'%2C%20Parameters_s)%20)%20by%20ActivityId_g%3CBR%20%2F%3E%E2%80%AF%E2%80%AF%E2%80%AF%20)%20on%20%24left.Id_g%E2%80%AF%20%3D%3D%20%24right.ActivityId_g%3CBR%20%2F%3E%7Cproject-away%20ActivityId_g%2C%20ActivityId_g1%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20this%20doesn't%20do%20-%20is%20provide%20access%20for%20the%20diagnostics%20website.%26nbsp%3B%20It%20looks%20like%20that%20is%20also%20broken%20at%20the%20moment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1238597%22%20slang%3D%22en-US%22%3ERe%3A%20No%20diagnostics%20activities%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238597%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F586255%22%20target%3D%22_blank%22%3E%40douglind1%3C%2FA%3E%26nbsp%3BThank%20you%20very%20much%20for%20your%20reply%20and%20your%20query!%3C%2FP%3E%3CP%3EPending%20resolution%20of%20the%20service%20issue%2C%20I%20can%20use%20this%20request.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

Currently, I work on Windows Virtual Desktop deployment in my company.

I would like to understand how it is possible to use diagnostics tool or diagnostics powershell commands.

Before implementing a diagnostics tool, I tried to use powershell command : Get-RdsDiagnosticActivities.

This command works but all the time, its output is always the same : There were no activities found.

 

Can you help me to troubleshoot my troubleshoot command? (Inception :smile:)

 

Thanks,

2 Replies
best response confirmed by MS_Clouder (Occasional Contributor)
Solution

@MS_Clouder 

 

This looks like a service issue at the moment:  

 

https://app.azure.com/h/9VQ0-D88/01e80c

 

However, if you have Log Analytics working, the following query is awesome: 

 

WVDActivityV1_CL
| where Type_s == "Connection"
| join kind=leftouter (
    WVDErrorV1_CL
    | summarize Errors = makelist(pack('Time', Time_t, 'Code', ErrorCode_s , 'CodeSymbolic', ErrorCodeSymbolic_s, 'Message', ErrorMessage_s, 'ReportedBy', ReportedBy_s , 'Internal', ErrorInternal_s )) by ActivityId_g
    ) on $left.Id_g  == $right.ActivityId_g 
| join  kind=leftouter (
    WVDCheckpointV1_CL
    | summarize Checkpoints = makelist(pack('Time', Time_t, 'ReportedBy', ReportedBy_s, 'Name', Name_s, 'Parameters', Parameters_s) ) by ActivityId_g
    ) on $left.Id_g  == $right.ActivityId_g
|project-away ActivityId_g, ActivityId_g1

 

What this doesn't do - is provide access for the diagnostics website.  It looks like that is also broken at the moment.

@douglind1 Thank you very much for your reply and your query!

Pending resolution of the service issue, I can use this request.