0 votes

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

0 votes
by (289k points)
selected by
Best answer

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

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 by Cas (200 points)
0 votes
1 answer

Pretty easy to replicate. On the Adaxes server, you can use Powershell to send to that SMTP server so we know it's not a firewall issue: $myCredential = Get- ... packet capture shows the Adaxes server doesn't issue either an EHLO or a STARTTLS command.

asked Jun 28 by ngb (290 points)
0 votes
1 answer

Hello, currently we have an Exchange 2019 Server in Hybrid configuration with Exchange Online. During our user onboarding a mailbox for the user is being created by a ... Remote-Mailboxes in this scenario for newly created AD-Users? Thanks and KR Christian

asked Apr 18 by User0815 (50 points)
0 votes
1 answer

Hello, we are in a migration phase from Exchange onPrem to Exchange Online. Since not all of our sites will be migrated at one time we are looking into a way to migrate ... an alerting / sending out a mail if the batch is not succesful? Thanks and KR Christian

asked Mar 21 by User0815 (50 points)
0 votes
1 answer

Howdy - Has anyone run into this message before? The changes never make their way through, I just have to manually do them. WIll I just need to create custom powershell scripts to achieve these items?

asked Feb 27 by ajblevins (20 points)
3,552 questions
3,242 answers
8,243 comments
547,828 users