Commands › Exchange Online

Set-FocusedInbox

Exchange Online ExchangeOnlineManagement Set-*

Enable or disable Focused Inbox for mailboxes in your organization.

Quick start script

# Set-FocusedInbox — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-FocusedInbox
$before | Format-List

# 3. Make the change
Set-FocusedInbox -Identity <MailboxIdParameter>

# 4. Verify and diff
$after = Get-FocusedInbox
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-FocusedInbox -Identity <MailboxIdParameter>
 [-FocusedInboxOn <Boolean>]
 [-UseCustomRouting]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity MailboxIdParameter yes The Identity parameter specifies the mailbox that you want to modify. You can use any value that uniquely identifies the mailbox. For example:
-FocusedInboxOn Boolean The FocusedInboxOn parameter enables or disables Focused Inbox for the mailbox. Valid values are:
-UseCustomRouting SwitchParameter {{ Fill UseCustomRouting Description }}

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.