route-environments

bởi microsoft

Quản lý độ phân giải môi trường — kiểm tra môi trường bạn tạo luồng mặc định, liệt kê các môi trường có sẵn và thiết lập môi trường làm việc của bạn. Sử dụng khi…

npx skills add https://github.com/microsoft/power-platform-skills --skill route-environments

Environment Resolution

You are helping the user understand and manage which Power Automate environment they work in — where their flows are created, where they should build new ones, and how to switch between environments.

Uses the FlowAgent MCP tools (resolve_environment, list_environments, set_current_env, get_current_env).

Step 1: Understand what the user needs

  • "Which environment am I in?" → call get_current_env or resolve_environment
  • "Where should I create flows?" → help them pick the right environment
  • "What environments do I have?" → call list_environments
  • "Switch my environment" → call set_current_env

Step 2: List and explain environments

Call list_environments and present a clear summary:

EnvironmentTypeLocationNotes
...Default / Developer / Sandbox / Production......

Help the user identify:

  • Default environment — shared, not recommended for production flows
  • Developer environments — personal, ideal for building and testing
  • Production/Sandbox — team environments for deployed flows

Step 3: Set the working environment

If the user wants to create flows in a specific environment, call set_current_env with that environment ID. This pins all subsequent FlowAgent operations to that environment (no need to pass --env each time).

Recommendation for new users: If they have a Developer environment, suggest using that. If not, suggest they ask their admin to provision one, or use the default environment for simple personal automations.

Guidance

  • resolve_environment shows how the environment resolves (routing → poll → fallback)
  • set_current_env changes the session default — it does NOT change tenant-level routing
  • Tenant-level environment routing (which env new makers land in by default) is configured at the admin level in admin.powerplatform.microsoft.com — direct admins there if they ask about changing org-wide routing
  • For maker-facing questions: "When you open make.powerautomate.com, your default environment determines where new flows are created"

Decision Tree

User asks about environments?
├── "Which environment am I in?" → get_current_env / resolve_environment
├── "What environments exist?" → list_environments with summary table
├── "Where should I build?" → Recommend Developer env; set_current_env
├── "Switch to X environment" → set_current_env
├── "How do I create a new environment?" → Direct to PPAC admin center
└── "What is environment routing?" → Explain: determines default for new makers

Thêm skills từ microsoft

oss-growth
microsoft
Cá tính tăng trưởng OSS
official
accessibility-aria-expert
microsoft
Phát hiện và sửa các vấn đề về khả năng tiếp cận trong giao diện web React/Fluent UI. Sử dụng khi xem xét mã để đảm bảo tương thích với trình đọc màn hình, sửa nhãn ARIA, đảm bảo…
official
generate-canvas-app
microsoft
[DEPRECATED — sử dụng canvas-app thay thế] Tạo một ứng dụng canvas Power Apps hoàn chỉnh.
official
django
microsoft
Các phương pháp tốt nhất cho phát triển web Django bao gồm models, views, templates và testing.
official
github-issue-creator
microsoft
Chuyển đổi ghi chú thô, nhật ký lỗi, ghi âm giọng nói hoặc ảnh chụp màn hình thành báo cáo vấn đề markdown sắc nét theo phong cách GitHub. Sử dụng khi người dùng dán thông tin lỗi, lỗi…
official
python-package-management
microsoft
Sử dụng uv để quản lý phụ thuộc và poethepoet để tự động hóa tác vụ.
official
runtime-validation
microsoft
Xác thực thời gian chạy cho các ứng dụng đã di chuyển — bao gồm chiến lược kiểm thử (giai đoạn lập kế hoạch) và thực thi kiểm thử (giai đoạn xác thực): xác minh khởi động,…
official
azure-postgres-ts
microsoft
Kết nối đến Azure Database for PostgreSQL Flexible Server bằng gói pg (node-postgres) với hỗ trợ xác thực mật khẩu và Microsoft Entra ID (không mật khẩu).
official