Disable eac jump force
Until recently that is, as now, with the addition of the – PermanentlyDisable switch, we can use it to (permanently!) disable the primary mailbox as well.
Disable eac jump force archive#
So while the cmdlet was useful for disabling Archive mailboxes for users, it didn’t work against the primary mailbox. The following error occurred during validation in agent 'Archive ParameterSet Enforcement Agent': 'This operation only works with archive parameters.' That is, if you tried to use the cmdlet against any mailbox, you had to specify the – Archive parameter, otherwise an error was thrown: Get-Mailbox testuser | Disable-Mailbox OK, it is actually available, but only worked against Archive mailboxes until recently. We can summarize the mailbox deprovisioning process by simply stating that the Disable-Mailbox cmdlet is not available in Exchange Online. And there are other “edge cases” too, for example using the – MicrosoftOnlineServicesID parameter, which allows you to provision a user mailbox directly, but the general rule is that you should govern the user mailbox creation and removal process via the licensing workflow. Shared mailboxes for example do have a corresponding user object in Azure AD, yet we can provision them directly via the Exchange tools, such as the New-Mailbox cmdlet. Well technically this is only true for user mailboxes. You remove the license, the mailbox is gone. You grant the user any of the Exchange Online plans, he gets a mailbox. Instead, you need to provision the user object in Azure AD first, and the process of enabling a mailbox for this user is governed by the licensing workflow. In Office 365 however, user objects are authored in Azure AD and there are no Exchange endpoints that allow you to provision a user. Alternatively, you can first create the user object in AD and “mailbox-enable” it later on. In the on-premises world, this is of course dependent on the underlying AD, but as long as you have the necessary permissions you can provision a new user, along with a mailbox, directly via the EAC or the EMS. One of the differences between on-premises Exchange and Exchange Online is the way user mailbox objects are provisioned, or de-provisioned.