How to Troubleshoot the Auto Scale

%3CLINGO-SUB%20id%3D%22lingo-sub-1475266%22%20slang%3D%22en-US%22%3EHow%20to%20Troubleshoot%20the%20Auto%20Scale%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1475266%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20set%20up%20the%20Auto%20Scale%20logic%20app%20per%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fset-up-scaling-script%23create-the-azure-logic-app-and-execution-schedule%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fset-up-scaling-script%23create-the-azure-logic-app-and-execution-schedule%3C%2FA%3E%26nbsp%3Band%20am%20getting%20the%20following%20Exception%20each%20time%20the%20runbook%20runs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EYou%20cannot%20call%20a%20method%20on%20a%20null-valued%20expression.%20(You%20cannot%20call%20a%20method%20on%20a%20null-valued%20expression.)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHow%20do%20I%20determine%20the%20issue%3F%20I%20don't%20see%20a%20way%20to%20step%20through%20the%20logic%20app%20and%20determine%20what%20is%20a%20null%20value.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1492448%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Troubleshoot%20the%20Auto%20Scale%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1492448%22%20slang%3D%22en-US%22%3E%3CP%3EAre%20there%20plans%20to%20add%20this%20functionality%20to%20the%20Azure%20Portal%3F%20I%20can%20wait%20until%20then%20rather%20than%20trying%20to%20troubleshoot.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I've set up the Auto Scale logic app per https://docs.microsoft.com/en-us/azure/virtual-desktop/virtual-desktop-fall-2019/set-up-scaling-scri... and am getting the following Exception each time the runbook runs.

 

You cannot call a method on a null-valued expression. (You cannot call a method on a null-valued expression.)

 

How do I determine the issue? I don't see a way to step through the logic app and determine what is a null value.

 

Thanks.

1 Reply

Are there plans to add this functionality to the Azure Portal? I can wait until then rather than trying to troubleshoot.