0 votes

Hi,

I am trying to create a mailbox during a business rule and setting the usageLocation of user to "UK".

However this is failing .... image.png

If I try to edit user via Adaxes and set "UK" or "United Kingdom" operation is failing as well. Setting value to "DE" is working well.

Based on my research usageLocation is using the 2-letter-ISO code

Valid values for “msExchUsageLocation” appear to be the same as those for the “Country” field (attribute name = “c”); basically it’s the 2-letter ISO code for the country.

https://blogs.perficient.com/2014/11/25/office-365-assign-licensing-user-location-via-active-directory/

Is this a known error?

We are running on version 3.16.21515.0 (64 bit)

by (1.5k points)

1 Answer

0 votes
by (294k points)

Hello,

The behavior is expected. The thing is that the AD property Country and Microsoft 365 location work differently in this case. UK will work fine for the Country. However, in the Active or modify Microsoft 365 account action the value will be invalid. You need to us GB instead.

Related questions

0 votes
1 answer

I am getting the following error within Adaxes when I try to connect to my Office 365 tenant or run any powershell scripts against it. Failed to create an Office ... .Runspaces.InitialSessionState' threw an exception. Does anybody have a solution for this :?:

asked Jun 17, 2015 by rmedeiros (380 points)
0 votes
0 answers

When attempting to assign licenses during the "after creating a user" rule we're reciving the following error. Failed to create a remote mailbox for the user. The address ' ... mail attribute to the proper format that isn't the onmicrosoft.com domain as well.

asked Sep 2, 2021 by zorps (20 points)
0 votes
1 answer

Hi, We encounter an error on one of our Adaxes service (Adaxes 2016 3.7.13430) when activating Licence for new user : Softerra.Adaxes.CommandPipeline.CommandProcessingException: The ... stack trace --- Any idea ? Thank you in advance for your help regards

asked Sep 20, 2017 by smasset (740 points)
0 votes
1 answer

Is there a way to add Microsoft Defender for Office 365 Plan 2 licenses from Adaxes? Currently it is not showing in the list of available licenses to modify. The endpoint ... the E3 license is showing up no problem, just not the standalone one for O365.

asked Aug 20 by Alex23 (50 points)
0 votes
1 answer

Is there a way for Adaxes to use a user's Microsoft 365 profile pictures instead of having to select a file on a per user basis?

asked Feb 1 by keneth.figueroa (20 points)
3,588 questions
3,277 answers
8,303 comments
548,090 users