Categories
Exchange Microsoft Office 365 PowerShell

How to convert a User Mailbox to a Shared Mailbox in Exchange 2016

So I discovered that there is the right way and the wrong way to create a Shared Mailbox when using Office 365 Exchange Hosted and Exchange 2016 in a Hybrid configuration. So the way I would normally do it would be to migrate the mailbox to Office 365 and then click that pretty little button to convert to a Shared Mailbox.

It turns out that when you do that it will create the mailbox as a shared mailbox, however the Active Directory (AD) Components are non-existent. Which means you cannot assign permissions to users who are synced by AD.

Well…. you can…. but it doesn’t actually work.

So what can we do to make it work when you have a user who is complaining that they need to send out a file at 4:45 PM on a Friday???

Well there is not much that you can do, but I would start with converting the mailbox back to a normal user mailbox and then migrate the mailbox back to your Local Exchange Environment.

Once the migration is complete you can then run the following command to convert a normal user account to a Shared Mailbox on Exchange.

Set-Mailbox AJones -Type shared

Once the command is complete (which is really freaky fast) you will then be able to see the mailbox under the “Shared Mailbox” section in Exchange.

I would then Migrate the mailbox back to Office 365 the way that it is and once it is done you should be good to go.

In the event that you would want to switch the Shared Mailbox back to a normal mailbox, here is the command to switch it back.

Set-Mailbox AJones -Type regular

I hope you found this guide helpful, and if did, please share it with your friends.

How to get rid of Certificate Errors on ESXi hosts

Recently I have been spending a lot of time on the VMware Community forums just reading posts and helping out where I can. One of the threads that I helped out with had to do with how you can get rid of the pesky SSL Certificate error message you get every time connect to an ESXi host. 
To resolve this issue you will need to add the Root Certificate for the ESXi host (the Certificate of the server who issued the certificate for the ESXi host) into the Trusted Certificate Authority Folder on your machine. 
To start you need to go to the web page for the ESXi host 
You will notice a few thing, first of all, I used an ESXi 6.0 host that I had in my lab and secondly you will see the RED background color in the address bar. You will need to click on the Certificate Error message as seen in the next picture.
From there you will get this pop up message
Click on View certificates to see the Client Certificate which is assigned to the host. You will then this the Certificate popup.

You will need to click on Certificate Path to see the CA

From here you will see all the Certificates in the Chain, in this case there are only 2

Click on the root certificate ( the one on the top of the chain) and click the View Certificates button to be able to see the certificate attributes. 

A new Certificate window will open and you can click the Install Certificate Button to install it on your machine

This will open the Certificate Import Wizard.

You will need to click the Local Machine radio button and click next.

Select the Place all certificates in the following store

 Click the Browse button to select where the certificate should be saved.

Select Trusted Root Certification Authorities and click OK

Click Next to Continue

Click Finish to exit the Wizard

You will then get this pop-up message, click OK to continue.

Click OK again

and click OK one more time

 Then close out your Web Browser, reopen it and go back to the web page and you will no longer have red bar going across the screen.

 I hope you find this helpful, I have a few more articles in the pipeline and I am working on getting out soon.