All skills
microsoft avatar

/azure-diagnostics

@ae5e585
by microsoftmicrosoft/skills3.1k stars
351

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, service bus dead letter.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-diagnostics

This session only. Nothing lands on disk.

troubleshootingcomputereferencesrdp-connectivity.md

≈700 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Unable to RDP into the VM

Use for Windows VM RDP timeouts, refused connections, black screen, or RDP error dialogs.

Symptoms -> Solutions

Symptom Action Docs
timeout/no response Check power state, public IP, NSG allow for 3389 RDP NSG
timeout with NSG OK Check guest firewall Guest firewall
credentials failed Reset password or username format RDP errors
internal/security/authentication error Check TLS, NLA, CredSSP, certificate, clock skew Internal / General
black screen after login Check Explorer, GPU driver, GPO, session state Detailed
license server unavailable Fix or remove RDS licensing role RDP errors
cannot find computer Check public IP, DNS, and VM allocation RDP errors
connects then disconnects Check session limits, idle timeout, resources RDP overview
works from some IPs Check NSG source restriction RDP NSG
Event IDs in logs Match event ID to documented cause Event IDs
guest NIC disabled Enable NIC via safe command path RDP NIC

Quick Commands

Commands marked by reset/update use VM agent/extensions. Run Pre-Flight Safety Checks first.

az vm get-instance-view --name <vm> -g <rg> --query "instanceView.statuses" -o table
az network nsg rule list --nsg-name <nsg> -g <rg> -o table
az network watcher test-ip-flow --direction Inbound --protocol TCP \
  --local <vm-private-ip>:3389 --remote <your-public-ip>:* --vm <vm> -g <rg>
az vm user reset-remote-desktop --name <vm> -g <rg>
az vm user update --name <vm> -g <rg> -u <user> -p '<new-password>'

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill is designed for Azure diagnostics and troubleshooting, providing a comprehensive set of guides and scripts that utilize standard tools like the Azure CLI and kubectl. It includes some security considerations, such as the ingestion of logs which provides a surface for indirect prompt injection, and the use of privileged debug pods for advanced diagnostics. These are used within the skill's intended functionality and are accompanied by appropriate guidance for user approval.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer7mo

    4/4 files flagged

Signed by skilld at ae5e585. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
metadata
{
  "author": "Microsoft",
  "version": "1.2.6"
}

README badge

README badge for microsoft/skills/azure-diagnostics