Concepts
To configure Outlook on the web policies in Microsoft 365 Messaging, you can follow these steps:
Step 1: Connect to Exchange Online
- Launch a Windows PowerShell session as an administrator.
- Run the following command to import the Exchange Online module:
Import-Module ExchangeOnlineManagement
Connect to your Exchange Online organization by running the following command and entering your admin credentials when prompted:
Connect-ExchangeOnline
Step 2: Create a New Outlook on the Web Mailbox Policy
Run the following command to create a new policy named “CustomOWAPolicy”:
New-OwaMailboxPolicy -Name "CustomOWAPolicy"
Step 3: Configure the Outlook on the Web Policy Settings
To enable or disable features, use the following commands:
Set-OwaMailboxPolicy -Identity "CustomOWAPolicy" -
Replace <FeatureName> with the specific feature you want to enable or disable. For example, to enable the option to display external images, use the following command:
Set-OwaMailboxPolicy -Identity "CustomOWAPolicy" -DisplayExternalImagesEnabled $true
You can also configure various other settings such as attachment policies, app integration, instant messaging, and more. Refer to the Microsoft documentation for a complete list of available settings.
Step 4: Assign the Policy to Specific Mailboxes
Run the following command to assign the created policy to a user’s mailbox:
Set-CASMailbox -Identity
Replace <UserPrincipalName> with the user’s UPN (User Principal Name).
Step 5: Verify the Policy Configuration
To view the applied policy settings for a mailbox, use the following command:
Get-CASMailbox -Identity
This command will display the Outlook on the web mailbox policy applied to the specified mailbox.
By following these steps, you can configure Outlook on the web policies for specific mailboxes in your Microsoft 365 Messaging environment. Remember to adapt the settings according to your organization’s requirements and refer to the Microsoft documentation for additional options and details.
Answer the Questions in Comment Section
Which type of policy in Microsoft 365 Messaging can be used to control the features available in Outlook on the web?
a. Exchange Online Protection policy
b. Microsoft Teams policy
c. Outlook on the web policy
d. SharePoint Online policy
Correct answer: c. Outlook on the web policy
True or False: Outlook on the web policies can be applied to individual users or groups of users.
a. True
b. False
Correct answer: a. True
Select the features that can be controlled using Outlook on the web policies. (Select all that apply)
a. Email signature settings
b. Calendar sharing permissions
c. Attachment handling options
d. Junk email folder settings
Correct answer: a. Email signature settings, c. Attachment handling options, d. Junk email folder settings
Which of the following policies can be used to specify the external sharing settings for Outlook on the web?
a. OneDrive for Business policy
b. SharePoint Online policy
c. Exchange Online Protection policy
d. Yammer policy
Correct answer: b. SharePoint Online policy
True or False: Outlook on the web policies can be modified using PowerShell commands.
a. True
b. False
Correct answer: a. True
Select the level at which Outlook on the web policies can be applied. (Select all that apply)
a. Organization-wide
b. User or group
c. Department-level
d. Domain-specific
Correct answer: a. Organization-wide, b. User or group
Which PowerShell cmdlet can be used to create a new Outlook on the web policy?
a. New-OfficeWebAppsFarm
b. New-MailboxAuditLogSearch
c. New-MailboxSearch
d. New-OwaMailboxPolicy
Correct answer: d. New-OwaMailboxPolicy
True or False: Outlook on the web policies can be assigned to users based on their membership in Active Directory groups.
a. True
b. False
Correct answer: a. True
Which of the following actions can be prohibited using Outlook on the web policies? (Select all that apply)
a. Reply to all
b. Forward email messages
c. Add attachments to emails
d. Create calendar events
Correct answer: b. Forward email messages, c. Add attachments to emails
True or False: Outlook on the web policies can be applied to mobile devices accessing emails through Outlook mobile app.
a. True
b. False
Correct answer: b. False
Can anyone explain how to configure Outlook on the web policies for a specific user group?
What’s the difference between OWA Mailbox Policies and OWA Virtual Directory?
Appreciate the blog post!
How do you prevent users from being able to change their display settings in OWA?
Is it possible to apply OWA policies globally to all users?
Negative comment- This blog lacks depth in covering how to monitor policy compliance.
Which PowerShell cmdlet is used to create a new OWA mailbox policy?
Can someone share the syntax for ‘Set-OWAMailboxPolicy’?