- 13 minutes to read

Migrate Azure DevOps Wiki Pages to Profile-Based Articles with AI

New 7.11

Your integration documentation already exists, spread across an Azure DevOps Wiki that nobody opens while an incident is going on. This scenario shows how an AI assistant in Visual Studio Code reads those wiki pages with a Personal Access Token (PAT), finds the structure they share, and builds Snippets, a Document Profile, and profile-based Articles in Nodinite through the MCP Endpoint, using the example prompts on this page. Once you've reviewed the result, you can retire the wiki.

  • ✅ Turn dozens of wiki pages into a structured Knowledge Base in an afternoon, not a quarter
  • ✅ Write shared text such as escalation contacts and support hours once, as a Snippet, instead of on every page
  • ✅ Show documentation in the Monitor View, Integration Landscape, and C4 diagram where operators already work
  • ✅ Run the whole Documentation Migration offline with a local LLM when your data can't leave the network

Why Move Documentation Out of the Wiki?

A wiki is easy to start and hard to keep right. After a few years, most integration wikis look the same:

  • Every page follows roughly the same standard, but each one has drifted a little
  • The escalation list is copied onto 40 pages, and 38 of them are out of date
  • Nobody can tell which page belongs to which integration, system, or resource
  • Operators never find the page during an incident, because it's in a different tool from the alert

Nodinite Knowledge base Articles solve this with a loosely coupled model. Shared text lives once, in a Snippet. The agreed page shape lives once, in a Document Profile. Each Article holds only its own content and is bound to the Integrations, Resources, and C4 nodes it describes. That model takes a few more steps than typing into one wiki page, and this scenario hands those steps to an AI assistant.

Understanding the Migration Workflow

The AI assistant runs in your editor and talks to two sides: Azure DevOps, through the PAT, and Nodinite, through the MCP Endpoint. You stay in control between every stage.

flowchart LR A[fab:fa-microsoft Azure DevOps Wiki pages] -->|PAT, read-only| B[fa:fa-robot AI assistant in Visual Studio Code] B --> C[fa:fa-magnifying-glass Analyze the shared page standard] C --> D[fa:fa-user-check You review the proposal] D --> E[fa:fa-puzzle-piece Create Snippets] E --> F[fa:fa-list-check Create Document Profile] F --> G[fa:fa-newspaper Create profile-based Articles] G --> H[fa:fa-user-check You review in the Web Client] H --> I[fa:fa-box-archive Retire the wiki pages] style A fill:#9E59BB style B fill:#2678BD style C fill:#E47528 style D fill:#FFD525 style E fill:#3F827B style F fill:#3F827B style G fill:#3F827B style H fill:#FFD525 style I fill:#93d16d

The migration workflow. Purple is the external source, blue is the AI assistant, orange is analysis, yellow marks the human review gates, teal marks what gets created in Nodinite, and green is the finished migration.

Key Components Explained

Component Role in this scenario Where it runs
Azure DevOps Wiki The source pages. A project wiki is a Git repository of Markdown files Azure DevOps Services or Azure DevOps Server
Personal Access Token (PAT) Gives the AI assistant read access to the wiki, and nothing else Created in Azure DevOps and stored as an environment variable on your machine
AI assistant (MCP client) Reads the pages, proposes the structure, and calls Nodinite tools Visual Studio Code agent mode, ORCA, Claude Desktop, Cline, or another MCP client
AI model Does the reasoning: a cloud model, or a local model such as Ollama Cloud provider, or your own server
Nodinite MCP Endpoint Creates and updates Snippets, Document Profiles, and Articles Your Nodinite environment
Nodinite Web Client Where you review, adjust, and bind the Articles to Integrations and Resources Your Nodinite environment

Important

The Web Client AI Assistant talks to Nodinite only, so it can't use a PAT to reach Azure DevOps. For this scenario, use an external MCP client such as Visual Studio Code or ORCA that can reach both sides.

The Work Order, Step by Step

sequenceDiagram actor User participant AI as AI assistant (VS Code) participant ADO as Azure DevOps Wiki participant N as Nodinite MCP Endpoint User->>AI: Prompt 1 - fetch the wiki AI->>ADO: Clone wiki with PAT (read-only) ADO-->>AI: Markdown pages User->>AI: Prompt 2 - analyze the page standard AI-->>User: Proposed Snippets, Document Profile, page mapping User->>AI: Approve, with corrections User->>AI: Prompt 3 - create Snippets and Document Profile AI->>N: Create Snippets AI->>N: Create Document Profile User->>AI: Prompt 4 - create a pilot of three Articles AI->>N: Create profile-based Articles User->>N: Review pilot in the Web Client User->>AI: Prompt 5 - create the rest and report AI->>N: Create remaining Articles AI-->>User: Migration report with gaps and source links User->>ADO: Replace or remove the migrated wiki pages

The order of work. The AI does the reading and the writing. You approve the structure, check a pilot, and decide when the wiki pages go.

Wiki Pages vs Profile-Based Articles

Concern Azure DevOps Wiki Nodinite profile-based Articles
Shared text such as contacts, support hours, or disclaimers ❌ Copied onto every page, and drifts ✅ One Snippet, included by reference, so an edit reaches every page
Page structure ⚠️ A convention people try to follow ✅ A Document Profile that every Article uses. Change the profile, and every Article follows
Link to what the page documents ⚠️ A hyperlink, if someone remembered to add one ✅ Bound to Integrations, Resources, Applications, Categories, and C4 nodes
Findable during an incident ❌ In another tool, behind another login ✅ Next to the alert in the Monitor View, and in the Integration Landscape
Context-aware text ❌ Static ✅ Macros such as {{ resource.name }} resolve where the Article is opened
Relationships and impact ❌ None ✅ Reading Articles and Mapify show Snippet, profile, and Template usage
Queryable by AI later ⚠️ Needs its own connector ✅ Already available to every MCP client through the same endpoint
Effort to enter by hand ✅ Low: one page, type and save ⚠️ Higher: Snippets, profile, and Article are separate steps. AI takes this away

The last row is the honest trade-off. A loosely coupled model means more objects to create, which is exactly the kind of repetitive, rule-based work an AI assistant with an MCP Endpoint does well. You design the structure once, and the AI fills it in.

What You Need Before Starting

Area Requirement
Nodinite Version 7.11 or later, with the MCP Endpoint registered in your MCP client (Set up AI Assistant and MCP Endpoint)
Nodinite permissions A user who can create Articles, Snippets, and Document Profiles. With OAuth, the mcp:repository.read and mcp:repository.write scopes, because the Document Profile tools need both (Documentation Tools)
Azure DevOps Read access to the project wiki, and a Personal Access Token scoped to Code (Read), which is enough to clone the wiki repository
MCP client Visual Studio Code in agent mode, ORCA, or a similar client that can run terminal commands and call MCP tools
AI model Any capable model. For an offline migration, a local model served by Ollama

Tip

Create the PAT with the shortest expiry that covers the migration, and revoke it when you're done. See Microsoft's guide to Personal Access Tokens.

Step-by-Step: From Wiki to Articles

Step 1: Store the PAT and Register Both Sides

Keep the PAT out of files and chat. Store it as an environment variable for the session:

$env:AZDO_PAT = Read-Host "Azure DevOps PAT" -MaskInput

Register Nodinite in .vscode/mcp.json, as described in MCP Endpoint External Access:

{
  "servers": {
    "nodinite": {
      "type": "http",
      "url": "https://mcp.example.com:44005/mcp"
    }
  }
}

Step 2: Fetch the Wiki Pages

Every Azure DevOps project wiki is a Git repository. A local clone is fast and works with any MCP client, and the AI then reads plain Markdown files.

Prompt 1 – Fetch the wiki
Clone the Azure DevOps wiki for project "Integrations" in organization "contoso"
into the folder ./wiki-export. The wiki repository is
https://dev.azure.com/contoso/Integrations/_git/Integrations.wiki.
Authenticate with the Personal Access Token in the environment variable AZDO_PAT,
passed as an HTTP basic auth header. Never print or store the token.
Then list every page with its path, heading count, and size.

Expected result: a table of wiki pages, for example 42 pages under /Integrations, /Runbooks, and /Systems.

Step 3: Let AI Identify the Page Standard

This is the key step. Most teams' wiki pages follow an unwritten standard, and the AI makes it explicit. Ask for a proposal only, with nothing written yet:

Prompt 2 – Analyze, don't write yet
Read all pages in ./wiki-export. Identify the heading structure most pages share.
For each recurring heading, classify it as:
  - SNIPPET: text that is identical or near-identical across pages
    (for example escalation contacts, support hours, disclaimers)
  - CONTENT: text that is specific to each page
    (for example message flow, error handling, restart procedure)
Propose:
  1. The Snippets to create, with title, slug, and the merged best version of the text
  2. One Document Profile: the ordered list of Snippet Parts and Content Parts,
     with exactly one Content Part marked as Main Body, and no two Content Parts adjacent
  3. A mapping table: wiki page -> Article title -> which headings go to which part
  4. Pages that don't fit the standard, and why
Check the Nodinite MCP Endpoint for existing Snippets and Document Profiles with
similar names, and reuse them instead of creating duplicates.
Do not create anything in Nodinite yet.

Review the proposal. Typical corrections:

  • Merge two near-identical escalation sections into one Snippet
  • Rename a Content Part to match the words your operators use
  • Split off pages that are really a different kind of document, such as architecture decisions, and give them their own Document Profile

Example: A Typical Integration Wiki Page Mapped to a Profile

flowchart LR subgraph Wiki[fab:fa-microsoft Wiki page: INT-042 Orders to ERP] W1[Header and ownership notice] W2[Overview] W3[Message flow] W4[Error handling and restart] W5[Escalation contacts] W6[Support hours] end subgraph Profile[fa:fa-list-check Document Profile: Integration Runbook] P1[fa:fa-lock Snippet Part: Standard Header] P2[fa:fa-pen Content Part: Overview - Main Body] P3[fa:fa-lock Snippet Part: Runbook Conventions] P4[fa:fa-pen Content Part: Message Flow and Error Handling] P5[fa:fa-lock Snippet Part: Escalation and Support Hours] end W1 --> P1 W2 --> P2 W3 --> P4 W4 --> P4 W5 --> P5 W6 --> P5 style P1 fill:#3F827B style P3 fill:#3F827B style P5 fill:#3F827B style P2 fill:#2678BD style P4 fill:#2678BD

Teal Snippet Parts hold shared text that's written once. Blue Content Parts hold each integration's own text. The designer rules hold: Content Parts are never adjacent, and exactly one is the Main Body.

Step 4: Create the Snippets and the Document Profile

Prompt 3 – Create the structure
Using the approved proposal, create the Snippets in Nodinite through the MCP
Endpoint. Tag each one "Migrated" and "Azure DevOps Wiki".
Then create the Document Profile "Integration Runbook" with the approved Parts in
order, referencing the new Snippets. Report every id and slug you created.

Open Document Profiles in the Web Client and check the result in the designer before you continue. This is also the moment to adjust wording in a Snippet, because every Article created afterwards inherits it.

Document Profile open in the Document Profile designer, with Snippet Parts around the Main Body (7.11)
Example of a Document Profile in the designer, here the seeded Standard Technical Article; the profile the AI assistant creates looks the same, with its own Snippet Parts around the Main Body.

Step 5: Create a Pilot, Then the Rest

Start small. Three Articles are enough to see whether the mapping is right.

Prompt 4 – Pilot
Create profile-based Articles for these three wiki pages only:
INT-042 Orders to ERP, INT-017 Invoices to Bank, INT-101 Customer Master Sync.
Use the Document Profile "Integration Runbook". Put each page's text into the mapped
Content Parts. Convert the wiki Markdown to Nodinite Markdown, keep tables and code
blocks, and replace text that duplicates a Snippet with nothing (the Snippet Part
already shows it). Add Custom Metadata "Source" with the original wiki page URL.
Tag each Article "Migrated" and "Azure DevOps Wiki".

Open the pilot Articles in the Web Client, check the composite workspace and the live preview (Writing a Profile-Based Article), and correct the prompt if needed. Then:

Prompt 5 – Complete and report
Create the remaining Articles the same way. When done, report:
- Articles created, with title and Nodinite id
- Wiki pages skipped or only partly mapped, and why
- Images and attachments that were referenced but not migrated
- Wiki text that contradicts itself between pages, for a human to resolve

Profile-based Article in the Web Client reader, with the shared header from the Document Profile above the Main Body (7.11)
Example of a profile-based Article in the reader. In a migrated Article, shared sections such as escalation come from Snippets the same way, so they match on every Article.

A migrated Article is useful. A bound one is found. Associate each Article with its Integrations, Resources, Applications, or Categories, or attach it to a C4 diagram node (C4 Article Links), so it shows up next to the alert in the Monitor View. See Add or manage Article.

Tip

If your wiki page names match the Integration names in Nodinite, ask the AI assistant to list the matches through the MCP Endpoint first. It can look up Integrations by name, so you only bind the pairs you've confirmed.

Step 7: Retire the Wiki Pages

When the Articles are reviewed and bound, the wiki pages have done their job:

  1. Replace each migrated page with a one-line pointer to the new Nodinite Article, and leave it for a grace period
  2. Delete the pages afterwards. The wiki's Git history keeps every earlier version, so nothing is lost
  3. Revoke the Personal Access Token

Do this step yourself, or give the AI assistant a separate PAT with write scope for this step only. Don't widen the read-only PAT you used for the migration.

No Wiki? Start From Code, or Anything Else

The same pattern works when there's no Azure DevOps Wiki at all. The input changes, but the Snippets, Document Profile, and Articles stay the same:

Prompt – Document integrations from source code
Read the integration projects in ./src. For each integration, describe its purpose,
message flow, endpoints, error handling, and configuration settings.
Use the existing Nodinite Document Profile "Integration Runbook", and create one
profile-based Article per integration, tagged "Generated from code".
List anything you had to guess, so a developer can confirm it.

This also works fully offline. With the Nodinite MCP Endpoint running inside your network and a local model served by Ollama, neither the source code nor the documentation leaves your infrastructure. Use an MCP client that supports local models, and see the AI Overview for the supported providers.

Other Sources Worth Migrating

The Documentation Migration pattern (read, find the standard, propose, create, review) applies to most stale documentation:

Source Typical content
Confluence spaces Runbooks and design pages following a page template
SharePoint and OneNote Operator instructions and contact lists
Word and PDF documents on file shares Integration design documents and system descriptions
GitHub and GitLab wikis, and README.md files Developer-oriented integration notes
BizTalk, Boomi, or Logic Apps solution folders Undocumented integrations, described from their artifacts
ServiceNow or other ITSM knowledge articles Incident procedures that belong next to the monitored Resource

Anything the AI assistant can read, it can map to Snippets and a Document Profile.

Common Objections, Answered

We Already Have a Wiki, and It Works

If it worked, operators would open it during incidents. The wiki isn't the problem, the distance is. Articles show up where the alert shows up, bound to the Resource that failed.

Snippets, Profiles, and Articles Are Too Many Steps

For a person typing by hand, yes. For an AI assistant with an MCP Endpoint, it's one prompt per stage. You spend your time on the two review gates, not on data entry.

AI Makes Things Up

The AI copies and restructures your existing text, and it doesn't invent the content. The workflow keeps it honest: a proposal before any write, a pilot before the bulk run, a Source link on every Article, and a report of everything it couldn't map.

Our Documentation Can't Leave the Network

Then keep it in the network: local model, local MCP Endpoint, and a local clone of the wiki.

It's a Big Project

It usually isn't. Indicative effort for a wiki of about 40 pages:

Activity Who Indicative time
Create PAT, register MCP Endpoint, clone wiki You 30 minutes
Review the proposed Snippets and Document Profile You 30–60 minutes
Create structure and pilot Articles AI Minutes
Review the pilot, adjust the prompt You 30 minutes
Create remaining Articles AI Minutes
Spot-check Articles, bind to Integrations and Resources You 2–5 minutes per Article

🚀 That's one working day or less for a wiki that took years to write, and the result stays consistent because the structure is enforced instead of remembered.

Next Steps