Skip to content

Commit df0e8b3

Browse files
Merge pull request #10690 from MicrosoftDocs/main
Auto Publish – main to live - 2026-02-09 22:00 UTC
2 parents 87efe07 + 45bf22f commit df0e8b3

4 files changed

Lines changed: 83 additions & 1 deletion

File tree

Exchange/ExchangeServer/servertoc/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@ items:
492492
href: ../setup/event-id-6010-after-cumulative-update-23.md
493493
- name: Exchange Server 2019 setup does not run correctly using PowerShell
494494
href: ../setup/ex2019-setup-does-not-run-correctly-started-powershell.md
495+
- name: Exchange Server Setup fails and returns “Database is mandatory on UserMailbox” error
496+
href: ../setup/database-mandatory-on-usermailbox.md
495497
- name: Instal PST Capture tool fails
496498
href: ../setup/pst-capture-setup-wizard-ended-prematurely.md
497499
- name: Install Exchange Server 2010 SP2 fails
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: Exchange Server Setup fails and returns "Database is mandatory on UserMailbox" error
3+
description: Explains how to identify and correct a blank homeMDB attribute on essential mailboxes to ensure that Exchange Server Setup finishes successfully.
4+
author: cloud-writer
5+
ms.author: meerak
6+
manager: dcscontentpm
7+
ms.reviewer: batre, arindamt, v-kccross
8+
audience: ITPro
9+
ms.topic: troubleshooting
10+
ms.custom:
11+
- sap:Setup Issues
12+
- Exchange Server
13+
- CSSTroubleshoot
14+
- CI 6980
15+
appliesto:
16+
- Exchange Server SE
17+
ms.date: 02/09/2026
18+
---
19+
20+
# "Database is mandatory on UserMailbox" error in Exchange Server Setup
21+
22+
## Summary
23+
24+
The article discusses a Microsoft Exchange Server Setup failure that occurs when essential mailboxes, such as arbitration or discovery mailboxes, have blank `homeMDB` attributes. You can resolve the Exchange Server Setup error by fixing the missing mailbox database assignment.
25+
26+
## Symptoms
27+
28+
When you run Exchange Server Setup, the application fails with an error message that resembles the following message:
29+
30+
 > [ERROR] Database is mandatory on `UserMailbox`
31+
32+
##  Cause
33+
34+
You receive this error message if the `homeMDB` attribute is blank on essential mailboxes such as the arbitration mailbox or the discovery mailbox. This problem can occur, for example, if the mailbox host server is incorrectly deleted.
35+
36+
## Resolution
37+
38+
Use the SetupAssist script to identify affected mailboxes. Then configure the `homeMDB` attribute for each mailbox.
39+
40+
### Identify affected mailboxes
41+
42+
On the server on which Setup failed, download and then run the [SetupAssist](https://microsoft.github.io/CSS-Exchange/Setup/SetupAssist/) script. The script returns information about mailboxes as shown in the following example.
43+
44+
:::image type="content" source="media/database-mandatory-on-usermailbox/setup-assist-result.png" alt-text="Screenshot of SetupAssist script output showing mailboxes with blank homeMDB attributes."
45+
46+
 In the example, the `homeMDB` attribute is blank for `DiscoverySearchMailbox`.
47+
48+
### Fix affected mailboxes
49+
50+
To set the `homeMDB` attribute for each mailbox in the output from the SetupAssist script, complete these steps:
51+
52+
1. [Open the Exchange Management Shell](/powershell/exchange/open-the-exchange-management-shell) or [connect to your Exchange server by using remote PowerShell](/powershell/exchange/connect-to-exchange-servers-using-remote-powershell).
53+
54+
1. Run the `[Get-MailboxDatabase](/powershell/module/exchangepowershell/get-mailboxdatabase)` cmdlet to get a list of available mailbox databases.
55+
56+
```powershell
57+
58+
Get-MailboxDatabase
59+
60+
```
61+
62+
1. Run the `[Set-Mailbox](/powershell/module/exchangepowershell/set-mailbox)` cmdlet to set the `homeMDB` attribute one time for each mailbox in the output from the SetupAssist script. For each confirmation message that displays, select **Yes**. When you run the cmdlet, use a value that uniquely identifies the database, such as the distinguished name (DN), the GUID, or its name.
63+
64+
```powershell
65+
66+
Set-Mailbox “\<*mailbox DN*\>” -Database “\<*database name*\> “
67+
68+
```
69+
70+
Example:
71+
72+
```powershell
73+
74+
Set-Mailbox "CN=DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852},CN=Users,DC=contoso,DC=lab" -Database "Mailbox Database 1923094126" 
75+
76+
```
77+
78+
1. Close the Exchange Management Shell or PowerShell session.
79+
80+
1. Run Exchange Server Setup again.
129 KB
Loading

support/entra/entra-id/app-integration/error-code-aadsts7000112-application-is-disabled.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Work together with the resource tenant owners to determine why the service princ
3232

3333
| Scenario | Action |
3434
|--|--|
35-
| The service principal is supposed to be disabled. | Don't do anything. Access is intentionally blocked. We don't expect or recommend that resource tenant administrators of first-party applications disable the respective service principal. Microsoft Services automatically provisions and manages the service principals. |
35+
| The service principal is supposed to be disabled. | Don't do anything. Access is intentionally blocked. We don't expect or recommend that resource tenant admins of first-party applications disable the respective service principal. Microsoft Services automatically provisions and manages the service principals. It's possible that the backing application associated with this service principal was intentionally disabled globally by the home tenant admin, the app owner, or by Microsoft. For more information, see [Deactivate an enterprise application](/entra/identity/enterprise-apps/deactivate-application-portal). |
3636
| The service principal isn't supposed to be disabled, or it was disabled mistakenly. | Ask the resource tenant owners to re-enable the service principal. One method to re-enable the service principal is to use PowerShell to set the `-AccountEnabled` parameter to `$true`. For more information, see the [Set-AzureADServicePrincipal](/powershell/module/azuread/set-azureadserviceprincipal#example-1-disable-the-account-of-a-service-principal) cmdlet reference. |
3737

3838
## More information

0 commit comments

Comments
 (0)