Official agent skill

Force Link Environment

by microsoft in microsoft/power-platform-skills

Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host.

OfficialMITAuto-check: notesDevOps & Cloud

Install Force Link Environment

skills CLI
$ npx skills add microsoft/power-platform-skills --skill force-link-environment -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/power-platform-skills force-link-environment --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/power-pages/skills/force-link-environment .claude/skills/force-link-environment && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
force-link-environment
GitHub stars
972
Token cost
~4k tokens
SKILL.md length
1,704 words
Files
2 (incl. scripts)
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host.

  • Works in 8 steps: 5 — Microsoft Learn grounding (required) → Prerequisites → 5 — MCP Learn grounding → …
  • Creating a deploymentenvironments record fails with this environment is already associated with another pipelines host
  • SKILL.md covers What this skill changes, Phase 1.5 — Microsoft Learn…, Phases and Phase 1 — Prerequisites, plus 9 more sections
  • Runs JavaScript scripts from its folder; calls node and az; reaches learn.microsoft.com

What it does

Force Link Environment is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host. Use when creating a deploymentenvironments record fails with "this environment is already associated with another pipelines host", or when intentionally migrating an environment from one host to another (e.g., Platform Host → Custom Host, or between two Custom Hosts). Calls the documented ManageEnvironmentStamp Dataverse action (the API behind the "Force Link" button in the…

Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/validate-force-link.js`).

It sits in DevOps & Cloud, covering CI/CD. It works with Power Automate, Microsoft Azure and Model Context Protocol. The repository describes itself as: A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and… The licence is MIT.

When your agent uses it

  • Creating a deploymentenvironments record fails with this environment is already associated with another pipelines host
  • Intentionally migrating an environment from one host to another (e.g.
  • Platform Host → Custom Host
  • Between two Custom Hosts)

Example prompts

  • “this environment is already associated with another pipelines host”
  • “Force Link”
  • “force link environment”
  • “/force-link-environment”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, AskUserQuestion, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_search, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_fetch

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. 5 — Microsoft Learn grounding (required)
  2. Prerequisites
  3. 5 — MCP Learn grounding
  4. Identify host + dev env
  5. Resolve deploymentenvironments record on the new host
  6. Confirm destructive action
  7. Execute Force Link
  8. Write marker + summary

What it can do on your machine

Read from SKILL.md and the folder at commit 0d044b8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep
    • TaskCreate
    • TaskUpdate
    • TaskList
    • AskUserQuestion

    …and 2 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • az

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • learn.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Force Link Environment loads about 4k tokens when it runs. Until then it costs about 241 tokens; SKILL.md has 1,704 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~241
When it runs · the whole SKILL.md, loaded when a task matches
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, AskUserQuestion, mcp__plugin_

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from microsoft/power-platform-skills at commit 0d044b8, republished under its MIT licence (© microsoft). 1,704 words, ~3,987 tokens.

Download SKILL.mdSave it as .claude/skills/force-link-environment/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
force-link-environment
description
Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host. Use when creating a deploymentenvironments record fails with "this environment is already associated with another pipelines host", or when intentionally migrating an environment from one host to another (e.g., Platform Host → Custom Host, or between two Custom Hosts). Calls the documented `ManageEnvironmentStamp` Dataverse action (the API behind the "Force Link" button in the Deployment Pipeline Configuration app). DESTRUCTIVE to the previous host: makers lose access to any pipelines in that host that used this environment. Reversible by running Force Link from the previous host. Use when asked to: "force link environment", "force-link to new host", "switch pipelines host", "environment already associated with another host", "take over pipelines association", "relink environment to host".
allowed-tools
Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, AskUserQuestion, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_search, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_fetch
user-invocable
true
argument-hint
Optional: '--host <url>' to skip the host resolution step; '--dev-env <bapEnvId>' to skip the dev env prompt. With both flags supplied, the skill still pauses…
model
opus

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" — if it outputs a message, show it to the user before proceeding.

Move a dev or target environment's Power Platform Pipelines host association from one host to another. This is the documented remediation when deploymentenvironments create fails with "this environment is already associated with another pipelines host", and also the right tool when intentionally migrating environments between hosts.

Microsoft Learn (ground truth): Using Force Link to associate an environment with a new host

What this skill changes

In the target host (the new host the user wants to use):

  • Marks the existing deploymentenvironments record as the active stamp for the BAP environment.
  • Re-runs validation; on success, validationstatus flips to Succeeded (200000001).

In the previous host (the host the env was previously linked to):

  • The corresponding deploymentenvironments row is delinked. Its validationstatus is left stale until refreshed in the previous host's UI.
  • Makers who could run pipelines through that environment in the previous host lose access to those pipelines via this environment.

The action is reversible by running Force Link again from the previous host.

Phase 1.5 — Microsoft Learn grounding (required)

Before any Dataverse call, refresh the agent's grounding by fetching the doc above via mcp__plugin_power-pages_microsoft-learn__microsoft_docs_fetch. If the doc has updated behaviors (e.g., new permission requirements, new warning text), surface them to the user before continuing. See ${PLUGIN_ROOT}/references/alm-docs-grounding.md for the shared pattern.

Phases

#PhaseOutput
1PrerequisitesAzure CLI token for the host environment; PAC CLI authenticated
1.5MCP Learn groundingConfirmed current behavior of Force Link / ManageEnvironmentStamp
2Identify host + dev envhostEnvUrl, target host's deploymentEnvironmentId, source BAP env GUID
3Resolve deploymentenvironments recordEither an existing record on the new host, or a freshly created one
4Confirm destructive actionExplicit user consent via AskUserQuestion
5Execute Force Link204 from ManageEnvironmentStamp + post-validation Succeeded
6Write marker + summarydocs/alm/last-force-link.json + human-readable summary

Create all tasks at Phase 1 start with TaskCreate. Mark each in_progress when starting and completed when done.


Phase 1 — Prerequisites

Reuse the shared verifier:

bash
node "${PLUGIN_ROOT}/scripts/lib/verify-alm-prerequisites.js"

Specifically required:

  • PAC CLI auth — pac env who must report an authenticated environment (for --dev-env auto-discovery).
  • Azure CLI auth — az account show succeeds.
  • Host-scoped token — the caller must have Deployment Pipeline Administrator on the target host (the host the env is being linked TO). Without it, ManageEnvironmentStamp returns 403.

Fetch the host token from Azure CLI using the host's Dataverse URL as the resource. Reuse getAuthToken from scripts/lib/validation-helpers.js.

Phase 1.5 — MCP Learn grounding

Call:

mcp__plugin_power-pages_microsoft-learn__microsoft_docs_fetch(url=
  "https://learn.microsoft.com/en-us/power-platform/alm/custom-host-pipelines")

Confirm the "Using Force Link…" section's current warnings before proceeding. If the section now mentions new prerequisites or rollback constraints not covered in this skill, surface them to the user.

Phase 2 — Identify host + dev env

<!-- gate: force-link-environment:2.host-url | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · force-link-environment:2.host-url): Pick the target host environment URL when arg / marker resolution paths all came up empty. Fires only on the "no --host arg, no last-host-check.json, no last-pipeline.json" branch (step 4 below).

Trigger: Phase 2 resolution order steps 1–3 all returned no value. Why we ask: Auto-picking the wrong host runs ManageEnvironmentStamp against the wrong tenant and moves the stamp irreversibly without consent. Cancel leaves: Nothing — no API call yet.

<!-- gate: force-link-environment:2.dev-env | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · force-link-environment:2.dev-env): Pick (or paste) the source dev env's BAP env GUID when --dev-env arg is absent and pac env who didn't confirm. Fires only on the "no arg + no confirmation" branch (step 3 below).

Trigger: Phase 2 BAP-GUID resolution steps 1–2 all returned no value. Why we ask: Auto-picking the wrong dev env relinks a different env to the new host — makers of the wrong env lose pipeline access. Cancel leaves: Nothing — no API call yet.

Resolution order for hostEnvUrl:

  1. --host <url> argument, if supplied.
  2. docs/alm/last-host-check.json (written by ensure-pipelines-host) — read finalHostEnvUrl.
  3. docs/alm/last-pipeline.json — read hostEnvUrl.
  4. Prompt user via AskUserQuestion.

Resolution order for the source dev env's BAP env GUID:

  1. --dev-env <guid> argument, if supplied.
  2. pac env who (current PAC CLI env) — but ONLY if the user confirms this is the env to relink.
  3. Prompt user via AskUserQuestion.

Phase 3 — Resolve deploymentenvironments record on the new host

Goal of this phase: obtain the deploymentEnvironmentId (the new host's record ID) regardless of whether it already exists, just got created, or got created in a Failed state. Force Link in Phase 5 cannot run without that GUID.

Step 3.1 — Look up by BAP env GUID
bash
GET {hostEnvUrl}/api/data/v9.1/deploymentenvironments?$filter=environmentid eq '{bapEnvId}'&$select=deploymentenvironmentid,name,environmenttype,validationstatus,errormessage
ResultAction
One hit, validationstatus = 200000001 (Succeeded)Already linked to this host. Skip to Phase 6 with a no-op summary; no Force Link needed.
One hit, validationstatus = 200000002 (Failed)This is the "already associated with another pipelines host" state. Capture deploymentenvironmentid + errormessage. Skip to Phase 4 with those values.
One hit, validationstatus = 200000000 (Pending)Wait briefly (3–5 s) and re-query. If still Pending after ~20 s, abort with a "validation still in progress; retry later" message.
Zero hitsContinue to Step 3.2 — the record needs to be created first.
Step 3.2 — Create the record on the new host (when Step 3.1 returned zero hits)
bash
node "${PLUGIN_ROOT}/scripts/lib/create-deployment-environment.js" \
  --hostEnvUrl <hostEnvUrl> \
  --token <hostToken> \
  --name "<display name>" \
  --bapEnvId <bapEnvId> \
  --environmentType <200000000|200000001>

The helper polls validationstatus and throws on Failed without returning the new record's GUID in the error payload. Three outcomes to handle:

Helper outcomeAction
Resolves with validationStatus = SucceededRecord is fully linked. Skip to Phase 6 — no Force Link needed.
Throws with message containing "already associated with another pipelines host" (or similar host-claim wording)The record was created in Failed state but the helper's error doesn't surface the new GUID. Re-run Step 3.1's GET to recover the just-created record's deploymentenvironmentid, then proceed to Phase 4 with that ID + the captured errormessage. Do NOT retry the create — it would log a duplicate name.
Throws with any other messageSurface the error verbatim and abort. Force Link is not the right tool — this is a different failure (e.g., 403 on create = caller lacks role on host; 400 = bad bapEnvId).

Why the re-query is necessary: create-deployment-environment.js is idempotent on subsequent calls (it short-circuits via findExistingByBapId), but on the first call that lands in Failed validation it raises before the return path runs. Re-querying by environmentid eq '{bapEnvId}' is the canonical recovery — the same query Step 3.1 already uses.

After this phase ends, you must hold a non-null deploymentEnvironmentId. If you don't, abort Phase 4 with a clear "could not resolve record on new host" message.

Show full SKILL.md (677 more words)Show less

Phase 4 — Confirm destructive action

<!-- gate: force-link-environment:4.destructive | category=consent | cancel-leaves=nothing -->

🚦 Gate (consent · force-link-environment:4.destructive): Mandatory consent before ManageEnvironmentStamp cross-host stamp move. Previous host loses pipeline access for this env. Reversible only by re-running Force Link from the previous host. Fires fresh on every skill invocation. Each invocation force-links exactly one env to one host. If a maker needs to migrate multiple envs across hosts, they invoke this skill once per env — each invocation requires its own consent prompt with its own env identity echoed back. No --yes flag, no batch mode, no consent carry-over.

This is the mandatory gate. Use AskUserQuestion with both options and a clear destructive-action warning in the question text. Required fields to display before asking:

  • Target host (the new host)
  • Source environment name + BAP env GUID
  • The error message from the previous host's stamp (from Phase 3), if any
  • Documented side effects:
    • "Makers in the previous host lose pipeline access for this environment"
    • "The previous host's environment record is left with a stale validation status"
    • "Reversible by running Force Link from the previous host"

Question structure:

question: "Force-link this environment to <host name>? This will remove its association with the previous host."
options:
  - "Yes — force link" (Recommended only if user is intentionally migrating)
  - "Cancel"

If the user picks Cancel, exit cleanly (no marker file written) and recommend /power-pages:ensure-pipelines-host detect-only for further diagnosis.

bash
node "${PLUGIN_ROOT}/scripts/lib/force-link-environment.js" \
  --hostEnvUrl <hostEnvUrl> \
  --token <hostToken> \
  --deploymentEnvironmentId <guid>

The helper:

  1. Calls ManageEnvironmentStamp (returns 204 No Content on success).
  2. Re-polls validationstatus on the same record every 3s up to 20 attempts.
  3. Resolves on Succeeded (200000001), throws on Failed (200000002) with the captured errormessage.

If the helper throws with status 403, the caller lacks Deployment Pipeline Administrator on the target host — surface that as the remediation message.

If the helper throws with status 404, the deploymentenvironments record doesn't exist on the target host — Phase 3 must have failed silently; loop back.

Phase 6 — Write marker + summary

Ensure the docs/alm/ directory exists (node -e "require('fs').mkdirSync('docs/alm',{recursive:true})"), then write docs/alm/last-force-link.json:

json
{
  "schemaVersion": 1,
  "hostEnvUrl": "https://...",
  "deploymentEnvironmentId": "...",
  "bapEnvId": "...",
  "previousHostEnvUrl": "https://...",
  "validationStatus": 200000001,
  "forcedAt": "2026-05-11T..."
}

previousHostEnvUrl is best-effort. Derive in this order; leave null if none of these yield a value:

  1. From docs/alm/last-host-check.json (written by ensure-pipelines-host): if finalHostEnvUrl is set AND differs from the current hostEnvUrl, the discovery flow had already bound this env to that previous host — record it.
  2. From Phase 3's errormessage: scan the captured errormessage for the pattern https?://[^\s'"]+\.(crm\d*\.dynamics\.com|dynamics-int\.com|crm\.microsoftdynamics\.us) and pick the first match that is not the current hostEnvUrl. Microsoft's error wording on the "already associated" path sometimes includes the prior host's URL, sometimes only its display name; treat the regex as opportunistic, not authoritative.
  3. Otherwise: leave null. The marker schema permits this — validator does not require the field.

Do NOT prompt the user to fill previousHostEnvUrl; it's informational only for the post-run summary.

Present a summary table with:

  • Environment force-linked
  • Old host → new host
  • Validation status
  • Reminder: "You can undo this by running /power-pages:force-link-environment from the previous host."

Record skill usage per ${PLUGIN_ROOT}/references/skill-tracking-reference.md.


Failure modes & remediation

FailureSurface to userNext step
403 Forbidden on ManageEnvironmentStamp"You need Deployment Pipeline Administrator role on <hostName>."Ask host admin to grant the role; documented in share with pipeline administrators.
404 Not Found on the deployment env record"No deploymentenvironments record exists yet on this host."Re-run Phase 3's create step.
Post-link validation status flips to FailedShow the errormessage verbatim.If the message mentions the env is still associated with a host, the previous host may have an immediate-reapply policy — check with the previous host's admin.
User cancels at Phase 4"Force Link not performed; previous association preserved."Suggest /power-pages:ensure-pipelines-host detect-only for a wider diagnosis.

What this skill does NOT do

  • It does not install the Pipelines application on the new host — use /power-pages:ensure-pipelines-host for that.
  • It does not create the new host environment itself.
  • It does not re-link pipeline definitions; only the env↔host stamp is moved. Pipelines that referenced this env in the previous host stay there and lose this env as a participant.
  • It does not modify the user's solution. No .solution-manifest.json updates; no AddSolutionComponent calls.

Progress tracking

PhaseStatus
1 — Prerequisites⏳
1.5 — MCP Learn grounding⏳
2 — Identify host + dev env⏳
3 — Resolve deploymentenvironments record⏳
4 — Confirm destructive action⏳
5 — Execute Force Link⏳
6 — Write marker + summary⏳

Update this table as phases complete.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in plugins/power-pages/skills/force-link-environment of microsoft/power-platform-skills.

  • SKILL.md
  • scripts/validate-force-link.js

Open the folder on GitHubat commit 0d044b8

Compare with similar skills

Force Link Environment next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Force Link Environment compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Force Link Environment this skillmicrosoft/power-platform-skills972—~4kAutomated safety check: NotesMIT
Azsdk Common Generate SDK LocallyAzure/azure-sdk-for-android121—~1.5kAutomated safety check: PassMIT
Azsdk Common Pipeline AnalysisAzure/azure-sdk-tools134—~1.2kAutomated safety check: PassMIT
Azsdk Common Pipeline FixerAzure/azure-sdk-tools134—~831Automated safety check: PassMIT
Terravision Cloud Diagramspatrickchugh/terravision1.6k—~5.6kAutomated safety check: NotesAGPL-3.0-only
Microsoft DocsMicrosoftDocs/mcp1.9k1 repos~723Automated safety check: PassCC-BY-4.0

Similar skills

  • Azsdk Common Generate SDK Locally

    Azure/azure-sdk-for-android

    Official

    Generate, build, and test Azure SDKs locally from TypeSpec with automatic customization.

    121 GitHub stars~1.5k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Azsdk Common Pipeline Analysis

    Azure/azure-sdk-tools

    Official

    Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format.

    134 GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Azsdk Common Pipeline Fixer

    Azure/azure-sdk-tools

    Official

    Automatically fix Azure SDK CI/CD pipeline failures by applying code changes and verifying locally.

    134 GitHub stars~831 tokensUpdated today
    Backend & APIsAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Microsoft Docs

    MicrosoftDocs/mcp

    Official

    Understand Microsoft technologies by querying official documentation.

    1.9k GitHub starsUsed in 1 repo~723 tokens
    Agent WorkflowsAuto-check passed
  • Spotinfo

    alexei-led/spotinfo

    Query Spot/preemptible VM prices, savings and interruption risk across AWS, GCP and Azure with the spotinfo CLI.

    164 GitHub stars~1.8k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed

More from microsoft/power-platform-skills

All 87 skills in this repo
  • Manage Firewall

    microsoft/power-platform-skills

    Official

    Inspects and configures the web application firewall (WAF) in front of a Power Pages production site.

    972 GitHub stars~4.5k tokensUpdated today
    Auto-check: notes
  • Manage Headers

    microsoft/power-platform-skills

    Official

    Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection, cross-origin sharing, cookie behavior, and related…

    972 GitHub stars~3k tokensUpdated today
    Auto-check: notes
  • Scan Code

    microsoft/power-platform-skills

    Official

    Scans a Power Pages site project for security issues in source code and dependencies.

    972 GitHub stars~3.4k tokensUpdated today
    Auto-check: notes
  • Scan Site

    microsoft/power-platform-skills

    Official

    Runs a security scan on a deployed Power Pages site, fetches the latest scan report, and produces a plain-language summary.

    972 GitHub stars~3.2k tokensUpdated today
    Auto-check: notes
  • Setup Datamodel

    microsoft/power-platform-skills

    Official

    Creates Dataverse tables, columns, and relationships for a Power Pages site based on a data model proposal.

    972 GitHub stars~4k tokensUpdated today
    Auto-check: notes
  • Add Server Logic

    microsoft/power-platform-skills

    Official

    Creates, edits, and manages Power Pages Server Logic files — server-side JavaScript that runs securely on the Power Pages runtime.

    972 GitHub stars~18k tokensUpdated today
    Auto-check: notes

Categories

Questions about Force Link Environment

What does Force Link Environment do?

Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host. Force Link Environment is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Force-links a development or target environment to a Power Platform Pipelines host, overriding any existing association with a previous host.

When should I use Force Link Environment?

Force Link Environment fits situations like: creating a deploymentenvironments record fails with this environment is already associated with another pipelines host; intentionally migrating an environment from one host to another (e.g; platform Host → Custom Host; between two Custom Hosts).

How do I install Force Link Environment in Claude Code?

Run `npx skills add microsoft/power-platform-skills --skill force-link-environment -a claude-code`. Or copy the skill folder (plugins/power-pages/skills/force-link-environment in microsoft/power-platform-skills) into .claude/skills/force-link-environment in your project. Claude Code loads it when a task matches its description.

How do I install Force Link Environment in Codex?

Run `npx skills add microsoft/power-platform-skills --skill force-link-environment -a codex`. Or copy the skill folder (plugins/power-pages/skills/force-link-environment in microsoft/power-platform-skills) into .agents/skills/force-link-environment in your project. Codex loads it when a task matches its description.

Can I use Force Link Environment in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/power-platform-skills --skill force-link-environment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/force-link-environment, .gemini/skills/force-link-environment, .github/skills/force-link-environment and .opencode/skills/force-link-environment in your project.

What does Force Link Environment need to run?

Going by SKILL.md and its folder, Force Link Environment needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and az). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, AskUserQuestion, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_search, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_fetch.

Does Force Link Environment access the network?

SKILL.md names 1 domain. In commands or code: learn.microsoft.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Force Link Environment safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Force Link Environment use?

Force Link Environment is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Force Link Environment use?

About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Force Link Environment?

Skills that share tags, products or a category with Force Link Environment: Azsdk Common Generate SDK Locally (Azure/azure-sdk-for-android, 121 stars), Azsdk Common Pipeline Analysis (Azure/azure-sdk-tools, 134 stars), Azsdk Common Pipeline Fixer (Azure/azure-sdk-tools, 134 stars) and Terravision Cloud Diagrams (patrickchugh/terravision, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Force Link Environment?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/power-platform-skills, which has 972 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on October 7, 2026.

Source: microsoft/power-platform-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.