Logo Azure Automation

Azure Automation

Tổ chức
MicrosoftDocs
azure-automation

Kiến thức chuyên sâu về phát triển Azure Automation, bao gồm khắc phục sự cố, phương pháp hay nhất, ra quyết định, giới hạn và hạn mức, bảo mật, cấu hình, tích hợp, mẫu lập trình và triển khai. Dùng khi xây dựng runbook, cấu hình DSC, Hybrid Runbook Workers, danh tính được quản lý hoặc triển khai Automation, cũng như các tác vụ phát triển khác liên quan đến Azure Automation. Không dùng cho Azure Functions (dùng azure-functions), Azure Logic Apps (dùng azure-logic-apps), Azure DevOps (dùng azure-devops) hoặc Azure DevTest Labs (dùng azure-devtest-labs).

Add to TypingMind

Tổng quan

Nhà phát hànhMicrosoftDocs
Kho mãAgent-Skills
Tên kỹ năngazure-automation
Sao
778
Bản fork
126
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépCC-BY-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MicrosoftDocs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Azure Automation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-automation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MicrosoftDocs/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/skills/azure-automation .claude/skills/azure-automation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Azure Automation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Azure Automation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Azure Automation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Azure Automation Skill

This skill provides expert guidance for Azure Automation. Covers troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. 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
TroubleshootingL36-L45Diagnosing and fixing Azure Automation issues: runbook failures, DSC/State Configuration, Hybrid Runbook Workers, managed identities, shared resources, and collecting logs for support.
Best PracticesL46-L55Best practices for structuring and running Automation runbooks: modular parent-child design, execution patterns, error handling, stream/output usage, and avoiding context/locking issues.
Decision MakingL56-L63Guidance on choosing runbook types and planning migrations: Orchestrator to Automation, Log Analytics to AMA, agent to extension workers, and Run As accounts to managed identities.
Limits & QuotasL64-L71Limits, quotas, and version details for Azure Automation: DSC extension history, Automation account capacity, job/runbook limits, and Change Tracking/Inventory support matrix with AMA.
SecurityL72-L92Securing Automation accounts: identities (system/user-assigned), Entra auth, RBAC, encryption, credentials/certs, private endpoints, policies, and security best practices.
ConfigurationL93-L134Configuring Azure Automation runbooks, DSC/State Configuration, Hybrid Runbook Workers, alerts, schedules, modules/packages, policies, networking, and deployment/integration settings.
Integrations & Coding PatternsL135-L147Patterns for integrating runbooks with AWS, ARM/SQL/Office 365, webhooks, email (SendGrid), Azure Monitor logging, and using the graphical runbook SDK with managed identities
DeploymentL148-L152Guides for deploying Automation resources: setting up DSC continuous deployment with Chocolatey and installing/configuring Windows and Linux Hybrid Runbook Worker agents (agent- and extension-based).

Troubleshooting

Best Practices

TopicURL
Design modular parent-child runbooks in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-child-runbooks
Design and manage Azure Automation runbook executionhttps://learn.microsoft.com/en-us/azure/automation/automation-runbook-execution
Implement error handling in Azure Automation graphical runbookshttps://learn.microsoft.com/en-us/azure/automation/automation-runbook-graphical-error-handling
Configure output and message streams in Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/automation-runbook-output-and-messages
Avoid context switching issues in Azure Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/context-switching
Manage Azure Automation runbooks with recommended design patternshttps://learn.microsoft.com/en-us/azure/automation/manage-runbooks

Decision Making

Limits & Quotas

Security

TopicURL
Configure user-assigned managed identity for Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/add-user-assigned-identity
Configure and understand Azure Automation data securityhttps://learn.microsoft.com/en-us/azure/automation/automation-managing-data
Assign Azure RBAC roles and permissions for Automation accountshttps://learn.microsoft.com/en-us/azure/automation/automation-role-based-access-control
Configure encryption for secure assets in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-secure-asset-encryption
Apply security best practices for Azure Automation accountshttps://learn.microsoft.com/en-us/azure/automation/automation-security-guidelines
Configure authentication methods for Azure Automation accountshttps://learn.microsoft.com/en-us/azure/automation/automation-security-overview
Configure Microsoft Entra ID authentication for Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-use-azure-ad
Disable local authentication for Azure Automation securelyhttps://learn.microsoft.com/en-us/azure/automation/disable-local-authentication
Disable system-assigned managed identity in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/disable-managed-identity-for-automation
Enable system-assigned managed identity for Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/enable-managed-identity-for-automation
Secure Azure Automation access with Private Link and private endpointshttps://learn.microsoft.com/en-us/azure/automation/how-to/private-link-security
Use managed identity in Azure Automation PowerShell runbookshttps://learn.microsoft.com/en-us/azure/automation/learn/powershell-runbook-managed-identity
Provision Automation account and Reader role via Terraformhttps://learn.microsoft.com/en-us/azure/automation/quickstarts/create-azure-automation-account-terraform
Enable managed identities for Azure Automation accountshttps://learn.microsoft.com/en-us/azure/automation/quickstarts/enable-managed-identity
Apply Azure Policy compliance controls to Automationhttps://learn.microsoft.com/en-us/azure/automation/security-controls-policy
Securely manage certificates for Azure Automation runbooks and DSChttps://learn.microsoft.com/en-us/azure/automation/shared-resources/certificates
Create and use credential assets securely in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/shared-resources/credentials

Configuration

TopicURL
Configure metric alerts for Azure Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/automation-alert-metric
Configure and use connection assets in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-connections
Trigger Azure Automation runbooks from Azure Monitor alertshttps://learn.microsoft.com/en-us/azure/automation/automation-create-alert-triggered-runbook
Compile DSC configurations in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-compile
Configure DSC data at scale in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-config-data-at-scale
Generate DSC configurations from existing servershttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-config-from-server
Configure STIG-based DSC data in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-configuration-based-on-stig
Convert DSC configurations to composite resourceshttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-create-composite
Send State Configuration data to Azure Monitor Logshttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-diagnostics
Configure core Azure Automation State Configuration taskshttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-getting-started
Enable and onboard machines to State Configurationhttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-onboarding
Remediate noncompliant servers with State Configurationhttps://learn.microsoft.com/en-us/azure/automation/automation-dsc-remediate
Use the Azure Automation textual editor for PowerShell runbookshttps://learn.microsoft.com/en-us/azure/automation/automation-edit-textual-runbook
Author and configure graphical runbooks in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-graphical-authoring-intro
Configure and run runbooks on Hybrid Runbook Workershttps://learn.microsoft.com/en-us/azure/automation/automation-hrw-run-runbooks
Configure and use Azure Automation Hybrid Runbook Workerhttps://learn.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker
Configure network requirements for Azure Automation componentshttps://learn.microsoft.com/en-us/azure/automation/automation-network-configuration
Author and manage Automation runbooks using VS Codehttps://learn.microsoft.com/en-us/azure/automation/automation-runbook-authoring
Create watcher tasks to track file updates in Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-scenario-using-watcher-task
Update Az PowerShell modules in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/automation-update-azure-modules
Compose DSC configurations using composite resourceshttps://learn.microsoft.com/en-us/azure/automation/compose-configurationwithcompositeresources
Enforce Hybrid Runbook Worker job execution via policyhttps://learn.microsoft.com/en-us/azure/automation/enforce-job-execution-hybrid-worker
Configure Azure Automation regional DNS records for firewalled networkshttps://learn.microsoft.com/en-us/azure/automation/how-to/automation-region-dns-records
Configure runtime environments and associated runbooks in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/manage-runtime-environment
Use built-in Azure Policy definitions for Automationhttps://learn.microsoft.com/en-us/azure/automation/policy-reference
Import and manage Python 3 packages in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/python-3-packages
Import and manage Python 2 packages in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/python-packages
Deploy Azure Automation account via ARM templatehttps://learn.microsoft.com/en-us/azure/automation/quickstart-create-automation-account-template
Configure input parameters for Azure Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/runbook-input-parameters
Configure and manage PowerShell modules in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/shared-resources/modules
Configure schedules for Azure Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/shared-resources/schedules
Define and use variable assets in Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/shared-resources/variables
Configure Azure Automation source control integrationhttps://learn.microsoft.com/en-us/azure/automation/source-control-integration
Choose methods to start Azure Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/start-runbooks
Remove DSC configuration and unregister Automation nodehttps://learn.microsoft.com/en-us/azure/automation/state-configuration/remove-node-and-configuration-package
Configure machines to desired state with State Configurationhttps://learn.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state
Enable Change Tracking and Inventory at scale via Machines panehttps://learn.microsoft.com/en-us/azure/azure-change-tracking-inventory/enable-change-tracking-at-scale-machines-blade
Enable Change Tracking and Inventory at scale with Azure Policyhttps://learn.microsoft.com/en-us/azure/azure-change-tracking-inventory/enable-change-tracking-at-scale-policy

Integrations & Coding Patterns

TopicURL
Configure Azure Automation runbooks to authenticate with AWShttps://learn.microsoft.com/en-us/azure/automation/automation-config-aws-account
Deploy ARM templates from Azure Automation PowerShell runbookshttps://learn.microsoft.com/en-us/azure/automation/automation-deploy-template-runbook
Forward Azure Automation job logs to Azure Monitorhttps://learn.microsoft.com/en-us/azure/automation/automation-manage-send-joblogs-log-analytics
Provision AWS virtual machines using Azure Automation runbookshttps://learn.microsoft.com/en-us/azure/automation/automation-scenario-aws-deployment
Send email from Azure Automation runbook using SendGridhttps://learn.microsoft.com/en-us/azure/automation/automation-send-email
Trigger Azure Automation runbooks using webhookshttps://learn.microsoft.com/en-us/azure/automation/automation-webhooks
Use the Azure Automation graphical runbook SDKhttps://learn.microsoft.com/en-us/azure/automation/graphical-runbook-sdk
Manage Office 365 services with Azure Automationhttps://learn.microsoft.com/en-us/azure/automation/manage-office-365
Manage Azure SQL databases using Automation managed identityhttps://learn.microsoft.com/en-us/azure/automation/manage-sql-server-in-automation

Deployment

Câu hỏi thường gặp

Kỹ năng AI Azure Automation làm được gì?

Kiến thức chuyên sâu về phát triển Azure Automation, bao gồm khắc phục sự cố, phương pháp hay nhất, ra quyết định, giới hạn và hạn mức, bảo mật, cấu hình, tích hợp, mẫu lập trình và triển khai. Dùng khi xây dựng runbook, cấu hình DSC, Hybrid Runbook Workers, danh tính được quản lý hoặc triển khai Automation, cũng như các tác vụ phát triển khác liên quan đến Azure Automation. Không dùng cho Azure Functions (dùng azure-functions), Azure Logic Apps (dùng azure-logic-apps), Azure DevOps (dùng azure-devops) hoặc Azure DevTest Labs (dùng azure-devtest-labs).

Vì sao nên dùng Azure Automation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Azure Automation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Azure Automation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-automation. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Azure Automation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Azure Automation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Azure Automation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Azure Automation có miễn phí không?

Có. Kỹ năng này được MicrosoftDocs phát hành trên GitHub theo giấy phép CC-BY-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇