We help IT Professionals succeed at work.

Decommission Exchange 2010 on Premise server

Simon Leung
Simon Leung asked
on
Try to run the following powershell on premise server and Exchange online. Both of them doesn't work and it says 'Remove-Organization' is not recognized as the name of a cmdlet...  Can I remove it in the  console and web interface. I see it under Exchange Console > Organization Configuration.  Do I also need to remove Federation Trust ? Thx

onPremise :
Remove-Organization Relationship –Identity “ On Premises to Exchange Online Organization Relationship”
 
Exchange Online
Remove-Organization Relationship –Identity “ Exchange Online Organization Relationship to On Premises”
Comment
Watch Question

Server engineer
CERTIFIED EXPERT
Commented:
Run the get-Organization Relationship | fl *identity*

To see if it is there then only you can go ahead and run the remove command.

OR

you can also remove the hybrid setup manually if you are not comfortable in doing using powershell.

https://www.pelegit.co.il/remove-hybrid-configuration-step-by-step/
CERTIFIED EXPERT

Commented:
Seems you don't have the correct permissions.

May be add yourself to enterprise admin and schema admin and run it