Outlook Web App mailbox policy

Se Lai
Se Lai used Ask the Experts™
on
I applied the command to apply default Outlook Web App mailbox Policy to everyone with Get-Mailbox -ResultSize unlimited | Set-CasMailbox -OwaMailboxPolicy "Default" command and it worked. However, while i am creating a new user its not take default policy automatically, we have to add it manually. Is there any way to apply default policy one new accounts automatically while creating?

Regards
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Exchange Engineer
Distinguished Expert 2018
Commented:
If I'm not mistaking, the OWA default policy will have to be applied to each mailbox individually anytime a new mailbox is created. If you ran the cmdlets to apply it to all mailboxes, then just add the process to apply the policy anytime a new mailbox is provisioned. That will keep you from having to run that script against all mailboxes each time. Just apply it during the new mailbox setup.
Se LaiSystem Administrator

Author

Commented:
You mean, we have to apply default policy manually while creating new account?
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
yes
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Se LaiSystem Administrator

Author

Commented:
I am not sure, but there should be a way to automate the process..
timgreen7077Exchange Engineer
Distinguished Expert 2018
Commented:
There is a way using the powershell script you used and you can schedule the task to run nightly. that is the only way. Either add the policy when a new mailbox is created (very very simple), or create a script to run nightly to find all mailboxes that don't have the policy and to apply. those are your options.
Se LaiSystem Administrator

Author

Commented:
Can you please share that script?
timgreen7077Exchange Engineer
Distinguished Expert 2018
Commented:
The cmdlets you used to apply this to your mailboxes are all you need. Just schedule a windows task so that it will run when you see fit.
you will need to create a ps1 file for the powershell script.
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
Provided answer to author. closing question.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial