Hi all,

We have an error in our 365 licenses that wont let the ECAL_SERVICES license pack be activated with our ENTERPRISEPACK. The error occurs in adaxes and in the 365 admin centre when you try to enable them together.

I have been instructed to enable them so am doing so but it is causing extra overhead on myself now having to set them manually and disable the EXCHANGE_S_ARCHIVE which is causing the conflict with the ENTERPRISEPACK.

I wrote a script to enable the ECAL_SERVICES pack using New-MsolLicenseOptions cmdlet and the -DisabledPlans EXCHANGE_S_ARCHIVE switch however this does not work in adaxes. Presumably because it can't use the exchange online module? Is there a way in Adaxes where I could get this working. Below is my script so you can see what Im trying to do.

Id like to be able to use this as part of user creation or as a custom command to execute on %username% for instance.

Thanks for all your help

##############################################################################################################################

$exchangeAdminName = "a_user@somedomain.com" # TODO: modify me
$exchangeAdminPassword = "Password" # TODO: modify me

$Credential = New-Object -type System.Management.Automation.PSCredential `
-argumentlist $exchangeAdminName,(ConvertTo-SecureString -AsPlainText $exchangeAdminPassword -Force)

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Credential -Authentication Basic -AllowRedirection
Import-PSSession $session -AllowClobber

$EcalLicense = New-MsolLicenseOptions -AccountSkuId "somedomain:ECAL_SERVICES" -DisabledPlans EXCHANGE_S_ARCHIVE
Set-MsolUserLicense -UserPrincipalName a_user@somedomain.com -AddLicenses "somedomain:ECAL_SERVICES" -LicenseOptions $EcalLicense

Remove-PSSession $Session

##################################################################################################################################

by (350 points)

1 Answer

by (307k points)
Best answer
0 votes

Hello,

When registering a tenant, you can specify services provided by each plan to avoid conflicts. For information on how to do so, have a look at the following tutorial: http://www.adaxes.com/tutorials_ActiveD ... htm#tenant. Defining services of a plan is described on step 5 of the guide.

Related questions

Hi, when I enable a license for Exchange Online for a user I get the following warning: Here are the current settings for creating a remote ... : InvalidOperation: (:) [], RuntimeException     + FullyQualifiedErrorId : PropertyAssignmentException

asked 3 days ago by Allister (70 points)
0 votes
1 answer

I need to connect to Exchange Online using specific service principal, but I am getting error I am trying to authenticate via Connect-ExchangeOnline -AccessToken $token - ... btw aka 3.8.0 version of the ExchangeOnlineManagement module is used automatically.

asked 3 days ago by KIT (1.0k points)
0 votes
1 answer

Hello, We've previously had assistance in implementing a method to transfer email addresses to a specified user via a powershell script for our on-prem Exchange. This has ... $user.SetInfo() Please let me know if you require more clarification. Regards, Josh

asked Aug 25 by jtop (720 points)
0 votes
1 answer

Unable to select the option "Hide from exchange addres list" from shared mailbox that is being managed via Adaxes Getting this error The operation on mailbox "6e481282- ... . This action should be performed on the object in your on-premises organization.

asked Apr 17 by sctheva (20 points)
0 votes
1 answer

After creating a user, I want to create a mailbox that is visible both on-premises and in Exchange Online (remote mailbox). The presence in on-premises Exchange is required ... migration is completed. The groups the user is being added to are license groups.

asked Oct 21, 2024 by Cas (200 points)
0 votes
1 answer