Link to home
Start Free TrialLog in
Avatar of Se Lai
Se Lai

asked on

Outlook Web App Policies

I can apply Outlook app policies on single user or we can select multiple users to apply. If we create a new user we have to add them manually again. so is there any way to automate and run it on everyone in organization.

Exchange 2016
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

What's your specific goal? Do you have an Outlook Web App policy that you want to apply to all users in the organization or do you have multiple policies that you want to apply to certain users at creation?

If you want to have a different Outlook Web App policy to apply to all users, you would need to modify the default Outlook Web App policy, rather than creating a new one. That's the policy that is applied to all users at creation, and there isn't really a way to change that.

You can, however, assign OWA policies at mailbox creation in powershell by creating a provisioning script that creates the mailbox and then assign the necessary policy based on options selected when running the script.
Avatar of Se Lai
Se Lai

ASKER

I have an Outlook Web App policy that I want to apply to all users...
Avatar of Se Lai

ASKER

Is there any updates?
command would be:

Get-CasMailbox | Set-CasMailbox -OwaMailboxPolicy:<PolicyName>
Avatar of Se Lai

ASKER

Mahesh I ran the command but it return with below message:
WARNING: By default, only the first 1000 items are returned. Use the ResultSize parameter to specify the number of items returned. To
return all items, specify "-ResultSize Unlimited". Be aware that, depending on the actual number of items, returning all items can take a
 long time and consume a large amount of memory. Also, we don't recommend storing the results in a variable. Instead, pipe the results to
 another task or script to perform batch changes.

Regards
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial