Avatar of jyoung127
jyoung127

asked on 

enable or disable exchange activesync for all shared mailbox

Is there a way to change  ActiveSyncEnabled -eq 'True to false for all shared Mailboxes only?.

 
I know how to do  individual shared mailboxes but  have 100's to do them.
(Set-CASMailbox -Identity <mailbox> -ActiveSyncEnabled $false)
ExchangePowershell

Avatar of undefined
Last Comment
jyoung127
Avatar of footech
footech
Flag of United States of America image

Maybe I'm missing something, but to my knowledge Shared Mailboxes don't have direct logons, so therefore ActiveSync wouldn't apply.
Avatar of jyoung127
jyoung127

ASKER

Understood Footech but if I run a report to figure out what user mailbox that have the attribute ActiveSyncEnabled equal to true it would include Shared Mailboxes.

Maybe I should have ask how can I get a report for all mailboxes that have active synced enabled but does not include Shared mailboxes.

If I run this:
Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} | ft name, activesyncenabled –autosize > D:\ActiveSyncEnabled.csv

It includes all shared mailboxes, I was thinking if they are shared mailboxes it would equal false but nope.  weird huh?
Avatar of Dinesh Babu
Dinesh Babu
Flag of India image

Hello,

Yes I agree with Footech, we cant enable activesync for sharedmailboxes, did you unlock AD account and set password for shared mailboxes in your environment?
Please try to run the below cmldet to verify the recipienttypedetails.
Get-Mailbox "shared mailbox alias" |fl alias, displayname,recipienttypedetails

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of jyoung127
jyoung127

ASKER

Thanks works for me
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo