> azure-bastion

Expert knowledge for Azure Bastion development including troubleshooting, best practices, decision making, architecture & design patterns, security, configuration, and integrations & coding patterns. Use when building, debugging, or optimizing Azure Bastion applications. Not for Azure Virtual Network (use azure-virtual-network), Azure Virtual Machines (use azure-virtual-machines), Azure VPN Gateway (use azure-vpn-gateway), Azure Firewall (use azure-firewall).

fetch
$curl "https://skillshub.wtf/MicrosoftDocs/Agent-Skills/azure-bastion?format=md"
SKILL.mdazure-bastion

Azure Bastion Skill

This skill provides expert guidance for Azure Bastion. Covers troubleshooting, best practices, decision making, architecture & design patterns, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL35-L39Diagnosing and resolving common Azure Bastion problems, including connection failures, RDP/SSH issues, network/configuration missteps, and steps to collect logs for support.
Best PracticesL40-L44Guidance on reducing Azure Bastion costs through sizing, scaling, and usage patterns while maintaining secure remote access and compliance best practices.
Decision MakingL45-L51Guidance on choosing and upgrading Bastion SKU tiers, and using IP-based Bastion connections to securely reach non-Azure hosts.
Architecture & Design PatternsL52-L58Architectural options and patterns for Azure Bastion: hub/spoke and peered VNets, private-only deployments, network/topology design, and deployment guidance for secure remote access.
SecurityL59-L65Configuring secure access to Bastion: Entra ID authentication, NSG rules for Bastion-connected VMs, and hardening best practices for Bastion deployments.
ConfigurationL66-L77Configuring Azure Bastion settings, scaling, IP-based and Kerberos access, monitoring/metrics, session management/recording, native client use, and shareable links.
Integrations & Coding PatternsL78-L85How to use Azure Bastion with AKS private clusters, VM scale sets, and native Windows/Linux clients, including SSH/RDP connectivity patterns and file transfer via Bastion native clients.

Troubleshooting

TopicURL
Diagnose and fix common Azure Bastion issueshttps://learn.microsoft.com/en-us/azure/bastion/troubleshoot

Best Practices

TopicURL
Optimize Azure Bastion costs without reducing securityhttps://learn.microsoft.com/en-us/azure/bastion/cost-optimization

Decision Making

TopicURL
Select the appropriate Azure Bastion SKU tierhttps://learn.microsoft.com/en-us/azure/bastion/bastion-sku-comparison
Use Azure Bastion IP-based connections for non-Azure hostshttps://learn.microsoft.com/en-us/azure/bastion/connect-ip-address
View and upgrade Azure Bastion SKU tiers safelyhttps://learn.microsoft.com/en-us/azure/bastion/upgrade-sku

Architecture & Design Patterns

TopicURL
Understand Azure Bastion deployment architectureshttps://learn.microsoft.com/en-us/azure/bastion/design-architecture
Design and deploy private-only Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/private-only-deployment
Use Azure Bastion with VNet peering architectureshttps://learn.microsoft.com/en-us/azure/bastion/vnet-peering

Security

TopicURL
Configure Microsoft Entra ID auth for Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/bastion-entra-id-authentication
Configure NSGs for Azure Bastion-connected VMshttps://learn.microsoft.com/en-us/azure/bastion/bastion-nsg
Harden and secure your Azure Bastion deploymenthttps://learn.microsoft.com/en-us/azure/bastion/secure-bastion

Configuration

TopicURL
Reference Azure Bastion configuration settings and optionshttps://learn.microsoft.com/en-us/azure/bastion/configuration-settings
Configure Kerberos authentication for Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/kerberos-authentication-portal
Configure monitoring and diagnostics for Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/monitor-bastion
Reference monitoring metrics and logs for Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/monitor-bastion-reference
Configure Azure Bastion for native client accesshttps://learn.microsoft.com/en-us/azure/bastion/native-client
Monitor and manage active Azure Bastion sessionshttps://learn.microsoft.com/en-us/azure/bastion/session-monitoring
Configure and store Azure Bastion session recordingshttps://learn.microsoft.com/en-us/azure/bastion/session-recording
Create and use Azure Bastion shareable linkshttps://learn.microsoft.com/en-us/azure/bastion/shareable-link

Integrations & Coding Patterns

TopicURL
Connect to AKS private clusters via Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/bastion-connect-to-aks-private-cluster
Connect to VM scale sets using Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/bastion-connect-vm-scale-set
Connect from Linux native clients through Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/connect-vm-native-client-linux
Connect from Windows native clients through Azure Bastionhttps://learn.microsoft.com/en-us/azure/bastion/connect-vm-native-client-windows
Transfer files via Azure Bastion native clientshttps://learn.microsoft.com/en-us/azure/bastion/vm-upload-download-native

> related_skills --same-repo

> azure-well-architected

Expert guidance for designing, assessing, and optimizing Azure workloads using Azure Well Architected. Covers design review checklists, recommendations, design principles, tradeoffs, service guides, workload patterns, and assessment questions. Use when architecting new solutions, reviewing existing workloads, or applying Well-Architected principles.

> azure-web-pubsub

Expert knowledge for Azure Web PubSub development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when building, debugging, or optimizing Azure Web PubSub applications. Not for Azure SignalR Service (use azure-signalr-service), Azure Event Hubs (use azure-event-hubs), Azure Service Bus (use azure-service-bus), Azure Relay (use azure-relay).

> azure-web-application-firewall

Expert knowledge for Azure Web Application Firewall development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when building, debugging, or optimizing Azure Web Application Firewall applications. Not for Azure Application Gateway (use azure-application-gateway), Azure Front Door (use azure-front-door), Azure Firewall (use azure-firewall), Azure DDos Protectio

> azure-vpn-gateway

Expert knowledge for Azure VPN Gateway development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when building, debugging, or optimizing Azure VPN Gateway applications. Not for Azure Virtual Network (use azure-virtual-network), Azure Virtual WAN (use azure-virtual-wan), Azure ExpressRoute (use azure-expressroute), Azure Application Gateway (use azure-applica

┌ stats

installs/wk0
░░░░░░░░░░
github stars425
██████████
first seenMar 17, 2026
└────────────

┌ repo

MicrosoftDocs/Agent-Skills
by MicrosoftDocs
└────────────

┌ tags

└────────────