Outlook Web App Policies

Hello All,

I apply default outlook web app policies on all Exchange 2016 users, but while creating a new user they are not getting policy restriction by default. I have to apply it manually.
Do we have any command to enable or make it true? which give us the ability to apply default web app policy on new user and old users.
How I can remove all those pictures from users who already added on their display images?Outlook display because we blocked with default web app policy, but how I can remove who already added.

Se LaiSystem Administrator Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aaron GuilmetteTechnology Solutions ProfessionalCommented:
You need to set the new Outlook Web App Policy by setting it to default (https://docs.microsoft.com/en-us/powershell/module/exchange/client-access/Set-OwaMailboxPolicy?view=exchange-ps):

Set-OwaMailboxPolicy <policy> -IsDefault $True

Open in new window

If you need to modify the OWA Mailbox Policy for a user, use the Set-CASMailbox cmdlet (https://docs.microsoft.com/en-us/powershell/module/exchange/client-access/set-casmailbox?view=exchange-ps):

Set-CasMailbox <identity> -OwaMailboxPolicy <policy>

Open in new window

If you need to remove a user photo, use the Remove-UserPhoto cmdlet (https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/remove-userphoto?view=exchange-ps):

Remove-UserPhoto <identity>

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.