When I try to set-user mailto:xx@example.com -PermanentlyClearPreviousMailboxInfo there is an error:
A parameter cannot be found that matches parameter name 'PermanentlyClearPreviousMailboxInfo'.
+ CategoryInfo : InvalidArgument: (:) [Set-User], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-User
+ PSComputerName : outlook.office365.com
Just using set-user mailto:xx@example.com gives a warning that no setting has been changed. When I use get-user I can see the user has an UserMailbox in PreviousRecipientTypeDetails.
How can I get rid of this old mailbox. The User is still On-Premises and everytime I try to setup outlook the user gets connected to the empty online mailbox 