{"id":1418,"date":"2025-04-04T15:11:21","date_gmt":"2025-04-04T13:11:21","guid":{"rendered":"https:\/\/itblog.wildi.dk\/?p=1418"},"modified":"2025-04-04T15:11:37","modified_gmt":"2025-04-04T13:11:37","slug":"exchange-hybrid-user-has-mailbox-onprem-and-online","status":"publish","type":"post","link":"https:\/\/itblog.wildi.dk\/?p=1418","title":{"rendered":"Exchange Hybrid: User has Mailbox onPrem AND online!"},"content":{"rendered":"\n<p>The User is still inPrem, but has already a (empty) Mailbox in Exchange Online.<\/p>\n\n\n\n<p>To delete the Mailbox in Exchange Online, run this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-User &#91;UPN] | Select name,*Recipient*\nName                                 PreviousRecipientTypeDetails RecipientType RecipientTypeDetails\n----                                 ---------------------------- ------------- --------------------\n00ea000a-0d00-0000-bd00-00b0000aae0d UserMailbox                  MailUser      MailUser\n\nSet-User &#91;UPN] -PermanentlyClearPreviousMailboxInfo\n\nGet-User &#91;UPN] | Select name,*Recipient*\nName                                 PreviousRecipientTypeDetails RecipientType RecipientTypeDetails\n----                                 ---------------------------- ------------- --------------------\n00ea000a-0d00-0000-bd00-00b0000aae0d None                         MailUser      MailUser<\/code><\/pre>\n\n\n\n<p>&#171;PreviousRecipientTypeDetails&#187; should be &#171;None&#187; after this. Now you can assign a Exchange Online Lizense to the User.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The User is still inPrem, but has already a (empty) Mailbox in Exchange Online. To delete the Mailbox in Exchange&#8230; <a class=\"read-more\" href=\"https:\/\/itblog.wildi.dk\/?p=1418\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[57,110],"class_list":["post-1418","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-exchange","tag-exchange-online"],"_links":{"self":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/1418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1418"}],"version-history":[{"count":1,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/1418\/revisions"}],"predecessor-version":[{"id":1419,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/1418\/revisions\/1419"}],"wp:attachment":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}