en-US

OwaMailboxPolicy

Applies to : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online

This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings might be exclusive to one environment or the other.

Use the Set-OwaMailboxPolicy cmdlet to configure existing Outlook on the web mailbox policies.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

In on-premises Exchange, the default Outlook on the web mailbox policy is named Default. In Exchange Online, the default Outlook on the web mailbox policy is named OwaMailboxPolicy-Default.

Changes to Outlook on the web mailbox policies might take up to 60 minutes to take effect. In on-premises Exchange, you can force an update by restarting IIS (Stop-Service WAS -Force and Start-Service W3SVC).

You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Available cmdlets

Parameters

Name Type Default value Accepted values
AccountTransferEnabled Boolean
ActionForUnknownFileAndMIMETypes AttachmentBlockingActions
AdditionalStorageProvidersAvailable Boolean True
ActiveSyncIntegrationEnabled Boolean
AdditionalAccountsEnabled System.Boolean
AllAddressListsEnabled Boolean
AllowCopyContactsToDeviceAddressBook Boolean
AllowedFileTypes MultiValuedProperty
AllowedMimeTypes MultiValuedProperty
AllowedOrganizationAccountDomains String[]
AllowOfflineOn AllowOfflineOnEnum
AttachmentsOfflineEnabledWin Boolean
BizBarEnabled Boolean
BlockedFileTypes MultiValuedProperty
BlockedMimeTypes MultiValuedProperty
BookingsMailboxCreationEnabled Boolean
BookingsMailboxDomain String
BulkImportEMLEnabled BulkImportEMLEnabledProperty
CalendarEnabled Boolean
ChangePasswordEnabled Boolean
ChangeSettingsAccountEnabled System.Boolean
ClassicAttachmentsEnabled Boolean
ConditionalAccessPolicy PolicyEnum
ContactsEnabled Boolean
DefaultClientLanguage Int32
DefaultTheme String
DelegateAccessEnabled Boolean
DirectFileAccessOnPrivateComputersEnabled Boolean
DirectFileAccessOnPublicComputersEnabled Boolean
DisableFacebook SwitchParameter
DisplayPhotosEnabled Boolean
EmptyStateEnabled Boolean
ExplicitLogonEnabled Boolean
ExternalImageProxyEnabled Boolean
ExternalSPMySiteHostURL String
FeedbackEnabled Boolean
ForceSaveAttachmentFilteringEnabled Boolean
ForceSaveFileTypes MultiValuedProperty
ForceSaveMimeTypes MultiValuedProperty
ForceWacViewingFirstOnPrivateComputers Boolean
ForceWacViewingFirstOnPublicComputers Boolean
FreCardsEnabled Boolean
GlobalAddressListEnabled Boolean
GroupCreationEnabled Boolean
HideClassicOutlookToggleOut System.Boolean
InstantMessagingEnabled Boolean
InstantMessagingType InstantMessagingTypeOptions
InterestingCalendarsEnabled Boolean
InternalSPMySiteHostURL String
IRMEnabled Boolean
IsDefault SwitchParameter
ItemsToOtherAccountsEnabled System.Boolean
JournalEnabled Boolean
LinkedInEnabled Boolean
LocalEventsEnabled Boolean
LogonAndErrorLanguage Int32
MessagePreviewsDisabled Boolean
MonthlyUpdatesEnabled Boolean
Name String
NotesEnabled Boolean
NpsSurveysEnabled Boolean
OfflineEnabledWeb Boolean
OfflineEnabledWin Boolean
OneDriveAttachmentsEnabled Boolean
OneWinNativeOutlookEnabled System.Boolean
OnSendAddinsEnabled Boolean
OrganizationEnabled Boolean
OutboundCharset OutboundCharsetOptions
OutlookBetaToggleEnabled Boolean
OutlookNewslettersAccessLevel OutlookNewslettersAccessLevel
OutlookDataFile OutlookDataFileFeatureState Allow
OutlookNewslettersReactions OutlookNewslettersFeatureState
OutlookNewslettersShowMore OutlookNewslettersFeatureState
OWALightEnabled Boolean
PersonalAccountCalendarsEnabled Boolean
PersonalAccountsEnabled System.Boolean
PersonalBookingsDisabled Boolean
PhoneticSupportEnabled Boolean
PlacesEnabled Boolean
PremiumClientEnabled Boolean
PrintWithoutDownloadEnabled Boolean
ProjectMocaEnabled Boolean
PublicFoldersEnabled Boolean
RecoverDeletedItemsEnabled Boolean
ReferenceAttachmentsEnabled Boolean
RemindersAndNotificationsEnabled Boolean
ReportJunkEmailEnabled Boolean
RulesEnabled Boolean
SatisfactionEnabled Boolean
SaveAttachmentsToCloudEnabled Boolean
SearchFoldersEnabled Boolean
SetPhotoEnabled Boolean
SetPhotoURL String
ShowOnlineArchiveEnabled Boolean
SignaturesEnabled Boolean
SilverlightEnabled Boolean
SkipCreateUnifiedGroupCustomSharepointClassification Boolean
SMimeSuppressNameChecksEnabled Boolean
SpellCheckerEnabled Boolean
TasksEnabled Boolean
TeamSnapCalendarsEnabled Boolean
TextMessagingEnabled Boolean
ThemeSelectionEnabled Boolean
UMIntegrationEnabled Boolean
UseGB18030 Boolean
UseISO885915 Boolean
UserVoiceEnabled Boolean
WacEditingEnabled Boolean
WacExternalServicesEnabled Boolean
WacOMEXEnabled Boolean
WacViewingOnPrivateComputersEnabled Boolean
WacViewingOnPublicComputersEnabled Boolean
WeatherEnabled Boolean
WebPartsFrameOptionsType WebPartsFrameOptions
WSSAccessOnPrivateComputersEnabled Boolean
WSSAccessOnPublicComputersEnabled Boolean

Examples

Example 1

Set-OwaMailboxPolicy -Identity EMEA\Contoso\Corporate -CalendarEnabled $false

This example disables access to the calendar for the mailbox policy named Corporate for the tenant Contoso in the organization EMEA.

Example 2

Set-OwaMailboxPolicy -Identity Default -TasksEnabled $false

This example disables access to the Tasks folder for the default mailbox policy in an on-premises Exchange organization.

Example 3

Set-OwaMailboxPolicy -Identity OwaMailboxPolicy-Default -AllowedFileTypes '.doc', '.pdf'

This example sets the allowed file type extensions to .doc and .pdf for the default mailbox policy in an Exchange Online organization, allowing users to save files with those extensions locally or view them from a web browser.

Example 4

Set-OwaMailboxPolicy -Identity OwaMailboxPolicy-Default -UserVoiceEnabled $false

This example disables Outlook UserVoice for the default mailbox policy in Microsoft 365.

Example 5

Set-OwaMailboxPolicy -Identity "Default-OwaMailboxPolicy" -AllowedOrganizationAccountDomains $null

This example sets the allowed organizational accounts to $null for the default mailbox policy in an Exchange Online Organization, allowing users to add any other Exchange account to Outlook.

Example 6

Set-OwaMailboxPolicy -Identity "Default-OwaMailboxPolicy" -AllowedOrganizationAccountDomains "fabrikam.com","contoso.com"

This example sets the allowed organizational accounts to allow @fabrikam.com and @contoso.com accounts for the default mailbox policy in an Exchange Online Organization, allowing users to add accounts from those domains to Outlook, blocking all other domains.

Microsoft Learn documentation