---
title: Handoff 365 — MIS-DataCenter setup
url: https://www.malachis.eu/en-US/setup/handoff365-datacenter
lang: en
products: Handoff 365
updated: 2026-11-24
verifiedBuild: 1.17.1.0
modified: 2026-11-25
---

# Handoff 365 — MIS-DataCenter setup

_Last updated: 24 November 2026. Verified against build 1.17.1.0 and provisioning script v1.4.9._

This guide is for tenants on **Handoff 365** or **Handoff 365 Enterprise**. If you are on
**Handoff 365 Free**, you do not need any of this — close the page and carry on with the
[subscription setup guide](/en-US/setup/handoff365-subscription).

## What MIS-DataCenter is and why the paid editions need it

MIS-DataCenter is a SharePoint **Communication Site in your own tenant**. It holds three things:
the audit trail of every handoff, the record of active handoffs, and the product configuration.
Files exchanged through Handoff 365 **never go there** — they stay in the document libraries you
enable. You set it up once; after that it needs no maintenance.

Without it, these features do not work:

- the **Audit Dashboard**
- managing active links — seeing, revoking and re-sending them
- reissuing or extending a link that is already out
- library-enablement approvals (a non-admin requests, an admin approves)
- sending one-time passcodes **from your own mailbox** with your own branding

What still works without it: creating and receiving handoffs, within the same limits as
Handoff 365 Free.

## Two ways to get it

Both are included in your subscription — neither costs extra.

- **Assisted.** You complete steps 2 to 4 below, then email us. We provision MIS-DataCenter
  remotely within one business day, using the consent you grant in step 3. Skip steps 5 to 7
  and go straight to step 8.
- **Self-service.** You run one PowerShell script yourself, following this page. Nothing we
  do remotely is hidden from you — the script is public and you can read every line of it.

Both paths are covered by the General Product Terms (assisted deployment under §2.2(b);
your right to deploy without assistance under §2.3).

The rest of this page is the self-service path. Allow about forty minutes.

## 1. Prerequisites

- **PowerShell 7.4 or later.** PnP.PowerShell 3.x requires it; Windows PowerShell 5.1 will not
  do. The **PnP.PowerShell** and **ExchangeOnlineManagement** modules are installed in steps 4
  and 6.
- **The SharePoint Administrator role**, to create the site in step 2.
- **A Global Administrator or Application Administrator**, for the consent in step 3 and the
  app registration in step 5.
- **Ownership of the site** you create in step 2. The script creates lists and sets their
  permissions; being able to create lists is not enough.
- **A shared mailbox** the product will send one-time passcodes from — prepared in step 4.
  It does **not** need a licence.

## 2. Create the Communication Site

The script does **not** create the site. Create it first, from the SharePoint admin center:

1. **SharePoint admin center → Sites → Active sites → + Create → Communication site.**
2. Choose the **Standard communication** template.
3. Name it **MIS-DataCenter**, set yourself as **Site owner**, and finish with the default
   language and time zone.

> Use the admin center rather than the **+ Create site** button on the SharePoint start page.
> Self-service site creation is a tenant setting many organisations switch off, and the button
> is then simply not there.

**Check the address the site actually got.** If `/sites/MIS-DataCenter` is already taken — even
by a site in the recycle bin — SharePoint appends a number and you end up with
`/sites/MIS-DataCenter2`. You need the real address in steps 6, 7 and 8, and the site name in
the admin center list does not tell you which one it is.

The name is a recommendation, not a requirement — but keeping it makes every later conversation
with our support shorter, because we never have to ask where your DataCenter lives.

Keep the site's membership small. The configuration list created in step 6 can be edited by
every member of the site, including the mailbox address your passcodes are sent from.

## 3. Grant consent to the Handoff 365 service

> **Came here from the [subscription setup guide](/en-US/setup/handoff365-subscription)?**
> You have already done this — skip to step 4.

Handoff 365 needs a service principal in your tenant before anything else can reference it —
including the mailbox restriction in step 4. A Global Administrator or Application Administrator
opens this URL:

```text
https://login.microsoftonline.com/<your-tenant-id>/adminconsent?client_id=58e7d956-12e2-491c-b0dc-69086277aaa0&redirect_uri=https://provisioning.malachis.eu/api/consent-callback&state=Handoff365-selfservice
```

(Your tenant ID is on the **Overview** page of the Microsoft Entra admin center.)

Review the permissions and accept. You are consenting to:

| Permission | Type | What it means |
|---|---|---|
| `Sites.Selected` | application | Access only to the specific SharePoint sites and lists we are granted individually. Consent alone grants access to nothing. |
| `Mail.Send` | application | Send one-time passcodes from your mailbox. **This one is unrestricted until you complete step 4.** |
| `AllSites.FullControl` | delegated | Only ever acts as the signed-in user, never on its own. |
| `User.Read` | delegated | Sign-in. |

After accepting you are redirected to a confirmation page on our site. You can revoke the
consent at any time: **Entra admin center → Enterprise applications → Malach IS Handoff 365 →
Properties → Delete**.

## 4. Prepare the sending mailbox

One-time passcodes and notifications are sent **from a mailbox in your tenant**, so partners
see your domain, not ours.

1. Create a **shared mailbox** (Microsoft 365 admin center → **Teams & groups → Shared
   mailboxes**), for example `notifications@<your-domain.com>`.

   The name matters less than whether **somebody reads it**. A monitored `noreply@` is fine; an
   unmonitored `notifications@` is not, because partners do reply and their replies will
   disappear.

   A shared mailbox needs **no licence** — 50 GB comes free, and Microsoft Graph sends through
   it without one.

2. Restrict Handoff 365 to **that one mailbox** with an application access policy. This is the
   **only** thing limiting the `Mail.Send` permission from step 3 — without it, the service is
   technically able to send as any mailbox in your tenant.

```powershell
Install-Module ExchangeOnlineManagement -Scope CurrentUser
Connect-ExchangeOnline

New-DistributionGroup -Name "Handoff 365 Send Allowed" -Type Security `
    -Members "notifications@<your-domain.com>"

New-ApplicationAccessPolicy -AppId 58e7d956-12e2-491c-b0dc-69086277aaa0 `
    -PolicyScopeGroupId "Handoff 365 Send Allowed" -AccessRight RestrictAccess `
    -Description "Handoff 365 may send only from the notifications mailbox"

Test-ApplicationAccessPolicy -AppId 58e7d956-12e2-491c-b0dc-69086277aaa0 `
    -Identity "notifications@<your-domain.com>"   # expect: AccessCheckResult Granted
```

`58e7d956-12e2-491c-b0dc-69086277aaa0` is the Handoff 365 service application from step 3. The
policy usually applies immediately; occasionally it takes up to 30 minutes. Rather than waiting,
run `Test-ApplicationAccessPolicy` — it must return `Granted`.

**If you skip this step entirely** — including leaving `MailFrom` empty in step 7 — passcodes
still arrive, but from **our** domain instead of yours. That is the behaviour of Handoff 365
Free (Product Terms §4.1); on a paid edition it means you are not getting a feature you pay for.

## 5. Register an application for the script

The script signs in to SharePoint interactively — you will see a normal Microsoft sign-in
window, MFA included. It needs an Entra ID application of your own to sign in **through**.
About five minutes:

1. **Microsoft Entra admin center → Identity → Applications → App registrations → New registration.**
2. Name: `MIS-DataCenter Provisioning`. Supported account types: **Accounts in this
   organizational directory only**. Redirect URI: select **Public client/native
   (mobile & desktop)** and enter `http://localhost`.
3. **Register**, then copy the **Application (client) ID** — you need it in step 6.
4. **API permissions → + Add a permission → SharePoint → Delegated permissions** → expand
   **AllSites** → tick **AllSites.FullControl** → **Add permissions**.
5. **+ Add a permission → Microsoft Graph → Delegated permissions** → search for
   **Sites.FullControl.All** → tick it → **Add permissions**.
6. **Grant admin consent**, once, for both.

> Two permissions with confusingly similar names, and you need both. The SharePoint API one is
> `AllSites.FullControl` — that is what `Connect-PnPOnline` signs in with. The Microsoft Graph
> one is `Sites.FullControl.All`, with dots, and the script uses it in the last step of the run
> to grant the Handoff 365 service access to the four lists it needs. Miss the Graph one and
> everything works except that grant, which the script then tells you about.

Delegated means the script can never do more than the signed-in user can — the permission
ceiling is your own account. **Consider running step 6 with an account that owns only the
MIS-DataCenter site**, rather than a tenant administrator: the token is the intersection of the
application's permission and the user's rights, so the script then physically cannot touch
anything else. This is a recommendation, not a requirement.

The new registration appears under **All applications** rather than **Owned applications** —
Entra does not set an owner automatically.

## 6. Download and run the script

The script is published on GitHub, one file, no dependencies:

**[provision-handoff.ps1 (v1.4.9)](https://github.com/Malach-IS/handoff365-provisioning/releases/download/v1.4.9/provision-handoff.ps1)**

Verify the download against the `SHA256` file published with the release, and unblock it —
Windows marks files downloaded from the internet and PowerShell may refuse to run them:

```powershell
Get-FileHash .\provision-handoff.ps1 -Algorithm SHA256
Unblock-File .\provision-handoff.ps1
```

Then, in PowerShell 7:

```powershell
Install-Module PnP.PowerShell -Scope CurrentUser

.\provision-handoff.ps1 -SiteUrl "https://<your-tenant>.sharepoint.com/sites/MIS-DataCenter" `
    -ClientId "<client-id from step 5>"
```

Use the **full site address from step 2**, including any number SharePoint appended, and sign in
with the account that owns it.

What to expect:

- The run takes about MEASURED_TIME and prints one line per step. The lines that matter start
  with `Created list`, `Permissions set`, `Schema … stamped`, `Granted` and, at the end,
  `=== Handoff 365 provisioning complete ===`.
- It creates exactly five lists and nothing else: `MIS_Config`, `MIS_SchemaVersion`,
  `MIS_HandoffAuditLog`, `MIS_HandoffActivity` and `MIS_HandoffEnabledLibraries`.
- **A Hub-site registration warning** may appear if you are not a SharePoint Administrator.
  Safe to ignore — Handoff 365 does not require the site to be a Hub site.
- The script is **idempotent**: running it again is safe and only fills in whatever is missing.
  If a run is interrupted, just run it again.

## 7. Fill in the configuration

Open the configuration list:

```text
https://<your-tenant>.sharepoint.com/sites/MIS-DataCenter/Lists/MIS_Config
```

Filter the **ProductScope** column to `Handoff365`. The script created every entry with sensible
defaults where a default makes sense; the following it left empty for you.

### MailFrom — the one that matters

Set **MailFrom** to the shared mailbox from step 4 (`notifications@<your-domain.com>`).

This is the only configuration value whose absence silently downgrades a paid feature: with
`MailFrom` empty, passcodes are sent from our domain, exactly as on Handoff 365 Free. Nothing
errors and nothing warns — the emails just carry the wrong sender. If you fill in only one value
on this page, fill in this one.

### The rest

| Key | What it does | Required | Example |
|---|---|---|---|
| `DisplayName` | Your organisation's name, shown in partner emails. Left empty, partners see "Unknown". | **Yes** | `Contoso Ltd.` |
| `NotifyEmail` | Where upload notifications go. Empty = the user who created the handoff. | No | `handoffs@contoso.com` |
| `BrandCompanyName` | Company name in email templates. Empty = `DisplayName`. | Recommended | `Contoso` |
| `BrandLogoUrl` | Logo shown in email headers. Public URL. | Recommended | `https://contoso.com/logo.png` |
| `BrandFooterText` | Footer line in emails. | No | `© 2026 Contoso Ltd.` |
| `HandoffDefaultAllowedFileTypes` | Default allowed extensions, comma-separated. Empty = any. | No | `pdf,docx,xlsx` |
| `HandoffDefaultLang` | Default partner language. Empty = the sender's language. | No | `de-DE` |

One key is worth **adding as a new row** (the script does not create it yet):
**`BrandSupportEmail`** with `ProductScope` = `Handoff365` — a support address used as the
**Reply-To** of partner emails, so a partner who hits reply reaches a person. The same rule as
for the sending mailbox applies: only set it to something somebody reads.

Configuration changes take effect within five minutes.

## 8. Register your tenant with us

This step we do — honestly put, it cannot be self-service: the registration lives in the
Malach IS licensing system on our side, not in your tenant, because it is what ties your licence
to your DataCenter.

Email **support@malachis.eu** with:

- your **tenant ID** (Entra admin center → Overview), and
- your **MIS-DataCenter site URL** from step 2.

We register the tenant, tying your licence to your DataCenter site, and confirm back — normally
within one business day.

Until we confirm, the product keeps behaving as if the DataCenter did not exist — that is
expected.

The list permissions the service needs were already granted by the script in step 6 — the four
lines starting with `Granted` at the end of the run. Nothing else on the site, and nothing
anywhere else in your tenant: the `Sites.Selected` permission from step 3 grants access to
nothing on its own and each list must be granted individually.

## 9. Verify everything works

Checkable in a browser, in order:

- [ ] **Site contents** of the DataCenter site shows the lists, including
      `MIS_HandoffAuditLog`, `MIS_HandoffActivity` and `MIS_HandoffEnabledLibraries`.
- [ ] The `MIS_SchemaVersion` list has a `Core` row and a `Handoff365` row (1.4.9).
- [ ] `MIS_Config` has `MailFrom` and `DisplayName` filled in (step 7).
- [ ] `Test-ApplicationAccessPolicy` from step 4 returns `Granted`.
- [ ] You have our confirmation for step 8.

Once the Handoff 365 package is deployed and a library is enabled — that is the
[subscription setup guide](/en-US/setup/handoff365-subscription), not this page — two more checks close the loop:

- [ ] Create the **Audit Dashboard** page: **Site contents → Site pages → + New → Page →
      Template gallery → Handoff 365 Audit Dashboard**. In the **App page details** panel, set
      **MIS-DataCenter Site URL** to your site from step 2, name the page and publish. The
      dashboard loads without errors.
- [ ] Send a test handoff to your own private email address. The passcode email arrives **from
      your mailbox** — check the sender address, that is the proof steps 4 and 7 worked — and
      after verifying it, the handoff appears in the Audit Dashboard and in
      `MIS_HandoffActivity`.

## 10. If something does not work

- **The passcode arrives from `@malachis.eu` instead of your domain.** `MailFrom` is empty or
  misspelled in `MIS_Config` — step 7. Changes apply within five minutes.
- **The partner gets "Failed to send verification email".** `MailFrom` is set but the mailbox
  cannot send: the application access policy from step 4 does not cover it, or the address is
  wrong. Run `Test-ApplicationAccessPolicy` — it must return `Granted`. Note the sender of the
  handoff is **not** notified of this failure; only the partner sees it, so test it yourself
  rather than waiting for a partner to complain.
- **"Unauthorized" when creating a handoff.** Step 8 is not completed — the service has no
  access to the DataCenter lists yet. Check you have our confirmation.
- **A licensing error on every action.** Step 8 is not completed, or was completed minutes ago —
  registration changes take up to 10 minutes to propagate.
- **The Audit Dashboard is empty.** Check **MIS-DataCenter Site URL** in the page's **App page
  details** panel points at the right site, including any number appended in step 2. Note the
  dashboard shows handoffs created **after** the DataCenter went live; earlier ones were never
  recorded anywhere.
- **The script reports a permission error.** You are not an owner of the site (step 2), or the
  app registration from step 5 is missing its admin consent. The Hub-site registration warning
  is not an error — see step 6.
- **The script cannot be run at all.** `Unblock-File` was not run (step 6), or your
  `ExecutionPolicy` blocks unsigned scripts.

Anything else: **support@malachis.eu**.

## Would you rather we did this together?

The same **30-minute onboarding session** offered in the setup guide covers this page too —
provisioning MIS-DataCenter together over Microsoft Teams is well within its scope, and it is
part of your subscription at no extra cost.

[Book an onboarding session](https://bookings.cloud.microsoft/book/BKG-MalachISOnboarding@malachis.eu/)
