question

PrakashModak-0346 avatar image
0 Votes"
PrakashModak-0346 asked PrakashModak-0346 commented

Exchange 2013 Hybrid removal

Hello,
i've exchange 2013 Hybrid environment, which I want to decommission ( all mbx moved to Online)
i've removed hybrid connector from o365 and on-prem ( exchange is not yet removed) ,

I want to keep AD connector syncing users and groups as it is.

my question is
how will the user tasks related to exchange like "hide from the address book will be performed".? at present I'm getting error while performing this task in exchange online.
if I uninstall the on-prem exchange will o365 allow me to modify users exchange properties "hide from the address book" ?

Thanks
Balchandra Modak

office-exchange-online-itprooffice-exchange-hybrid-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered PrakashModak-0346 commented

No, removing Exchange will NOT remove any Exch schema changes or mail enabled properties.
If you remove Exchange, you you can hide from the Address Book using this ADUser module powershell command. Exchange is not required.

 Set-ADUser <Username> -Add @{msExchHideFromAddressLists="TRUE"}

However, as mentioned you will not be supported.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you Andy for your help , Much Appretiated

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered

To be supported you must have at least one Exchange Server on-prem for mgmt, so do not remove it! :)

You can then make those changes on-prem using that Exchange Server and they will be synced to Azure

https://docs.microsoft.com/en-us/exchange/decommission-on-premises-exchange

168346-image.png



image.png (48.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethWH avatar image
0 Votes"
SethWH answered

As Andy pointed out, do not remove your Exchange server. It's needed and useful for things like SMTP relay for service email alerts, copiers, etc. As for your mailbox commands, I use Exchange Management Shell commands like Get-RemoteMailbox or Set-RemoteMailbox to make changes like hide email from GAL.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PrakashModak-0346 avatar image
0 Votes"
PrakashModak-0346 answered SethWH edited

Thank you @AndyDavid & @SethWH

is there any way to remove on prem exchange and fully migrate to O365 keeping AD sync for password?

if I try to hide user from addressbook from exchange online admin console I get following error
168308-err.png



Thanks
Balchandra Modak


err.png (17.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

These are the commands I would use in Exchange Management Shell:

To view email accounts hidden from GAL:

Get-RemoteMailbox -ResultSize Unlimited | Where {$_.HiddenFromAddressListsEnabled -eq $True}

To hide email account from GAL:

Set-RemoteMailbox -Identity seth@contoso.com -HiddenFromAddressListsEnabled $True

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered

No, you can remove the on-prem Exchange Server, but as mentioned its not supported.
To make the change you want, it MUST be done on-prem right now, One day that may change, but for now, keep the Exchange Server on-prem and make the change there so it syncs

From that same article I linked above:

168407-image.png



image.png (34.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PrakashModak-0346 avatar image
0 Votes"
PrakashModak-0346 answered

Thank you @AndyDavid ,

if i uninstall the exchange servers then it will remove exchange related schema (msExch* attributes) from local AD right ?

if that's the case then updated schema will get synced with AD-Sync , will clear off any lock or binding with on-prem?

i saw some article that shows with specific to Hidefromaddressbook attribute I can change from AD users and computers as well ,
no exchange shell or admin center is required.

your thoughts

I really want to get rid of on-prem exchange server but don't want to lose this type of functions

Thanks & Regards
Balchandra Modak

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.