jyoung127
asked on
enable or disable exchange activesync for all shared mailbox
Is there a way to change ActiveSyncEnabled -eq 'Tru e 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)
I know how to do individual shared mailboxes but have 100's to do them.
(Set-CASMailbox -Identity <mailbox> -ActiveSyncEnabled $false)
Maybe I'm missing something, but to my knowledge Shared Mailboxes don't have direct logons, so therefore ActiveSync wouldn't apply.
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 { $_.Active SyncEnable d -eq 'Tru e'} | ft n ame, activ esyncenabl ed –autosi ze > D:\Ac tiveSyncEn abled.csv
It includes all shared mailboxes, I was thinking if they are shared mailboxes it would equal false but nope. weird huh?
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
It includes all shared mailboxes, I was thinking if they are shared mailboxes it would equal false but nope. weird huh?
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,recipienttyped etails
Thanks,
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,recipienttyped
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks works for me