How to enable organization customization manually?

How to enable organization customization manually?

Problem:


When you wish to backup mailboxes in an  Exchange Online tenant  using  RecoveryManager Plus, the global administrator  account  used to configure the tenant with RecoveryManager Plus must be provided with impersonation rights . For impersonation rights to be assigned, organization customization must be enabled When  organization customization is not enabled,  RecoveryManager Plus will automatically try to enable it . I unsuccessful you’ll have to manually enable organization customization for your Exchange Online tenant. 


Solution:

This post explains how you can manually enable organization customization. 

  • Open an elevated PowerShell prompt.
  • Modify the execution policy to remote-signed using the following cmdlet.

C:\Windows\system32> Set-ExecutionPolicy RemoteSigned

  • Connect PowerShell to the Exchange Online tenant using the following cmdlet.

C:\Windows\system32>$O365Cred = Get-Credential

                   Provide the credentials of the global administrator when prompted. 
  • Create a PSSession to Office 365.

C:\Windows\system32> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $O365cred -Authentication Basic AllowRedirection

Provide the credentials of the global administrator when prompted. 

  • To import PSSession, execute the following cmdlets.

C:\Windows\system32> Import-PSSession $Session

C:\Windows\system32> Enable-OrganizationCustomization

  • Disconnect the PSSession by running the following cmdlet.

C:\Windows\system32> Remove-PSSession $Session

Organization customization has now been enabled. Open RecoveryManager Plus and retry configuring the Exchange Online tenant for backup. 

      New to ADSelfService Plus?

        Resources

                Related Products