You can run Azure PowerShell cmdlets in Debug
mode. This is known as a common parameter, which can be used with any cmdlet.
For example, you could run Get-AzResourceGroup -Debug
to trace the GET request to https://management.azure.com
and all the programmer-level detail operations happening in the background to fetch the resource groups from the ARM API.
CLICK HERE to find out more related problems solutions.