Skip to content

Microsoft 365 Migration Guide 🟑 BETA

This guide describes what can and cannot move from Microsoft 365 to a self-hosted General Bots deployment.

The desktop guide map: Chat and Drive, the four engines, settings and help

Overview

Capability What ships
Surfaces Chat and Drive only in the government edition (apps=chat,drive)
Engines On this computer, own server or key, free model, subscription agent
Data Local engine keeps text on the machine; other engines are chosen explicitly
Install Offline installer with SHA-256 checked assets in botserver-installers/
Version 7.1.2 from the root Cargo.toml

Service Mapping

Microsoft 365 service General Bots counterpart
Exchange Online Stack mail server (Stalwart) in a self-hosted deployment
OneDrive / SharePoint .gbdrive/ and .gbkb/ in OtterIO buckets
Azure AD / Entra Zitadel in the full product; local administrator in the desktop edition
Word / Excel files Documents in Drive, used in chat

Migration Steps

  1. Export mail, files and directory data with provider tools.
  2. Classify each artifact into script, document, file or setting.
  3. Copy documents into the bot bucket with oc.
  4. Configure mail and identity outside the repository.
  5. Verify access and one answer from an imported document.

1. Email Migration (Exchange Online)

Export through the provider tooling. No mailbox converter ships in this repository.

2. File Migration (OneDrive/SharePoint)

Use oc with credentials from secret/gbo/drive; place answer sources under .gbkb/ and user files under .gbdrive/.

3. User Migration (Azure AD)

The full product uses Zitadel; the government desktop edition signs in with the administrator created by the wizard.

Common Challenges

Challenge Handling
API throttling Export in small batches
Data volume Verify each batch with a checksum
Feature parity Compare against Chat and Drive, not the whole Suite

API Throttling

Provider-side; batch the export and retry later rather than changing the local import.

Data Volume

Track transfer size locally and verify each bucket after copy.

Feature Parity

The desktop edition exposes Chat and Drive only; collaboration apps are out of scope.

Tools and Utilities

Provider export tools and oc. No Microsoft-specific utility is committed here.

PowerShell for Export

Run on the operator's machine against the source tenant; store credentials outside the repository.

Graph API

Provider-side export API; no token is documented in this book.

Third-Party Tools

Any third-party exporter is the operator's choice; it is not part of this codebase.

Post-Migration

  1. Update DNS and user instructions.
  2. Verify health on port 8080.
  3. Confirm one chat answer from an imported file.
  4. Keep the source tenant readable until validation passes.

DNS Changes

Handled by Caddy configuration on the proxy container; validate before reload.

User Communication

Explain the four engines and the privacy line in Settings.

Validation

Compare a fixed question set with the source documents.

Cost Considerations

Hardware plus any external engine; no subscription price is published here.

Subscription Overlap

Keep the source subscription until validation is complete.

Data Transfer Costs

Provider-side; keep the export local.

Timeline Estimates

No duration is promised; it depends on the data and the verification results.

Next Steps

Read Common Migration Concepts and Validation.

Limits

  • No automated Microsoft 365 migration tool exists in this repository.
  • No price, date or quota is asserted for the source platform.
  • The desktop edition cannot replace every Microsoft 365 service.