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
Exchange 2016
ASKER
I have an Outlook Web App policy that I want to apply to all users...
ASKER
Is there any updates?
command would be:
Get-CasMailbox | Set-CasMailbox -OwaMailboxPolicy:<PolicyN ame>
Get-CasMailbox | Set-CasMailbox -OwaMailboxPolicy:<PolicyN
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.