Microsoft 365 license assignment issues

When activating a Microsoft 365 account for a user and assigning licenses in the same action, you may encounter the following error: License assignment cannot be done for user with invalid usage location.

This appears to be caused by recent changes on the Microsoft side that may have introduced propagation delays for the usageLocation property value.

The issue was fixed in Adaxes 2026.1 Update 3. As a workaround for other versions, you can split the operation into three actions: first activate the account and set the usage location, then add a 1-minute delay using a PowerShell script, and finally assign the licenses.

We're going to be upgrading and Im wondering if there's any caveats we should be aware of in such a major version jump. We have 2 backend servers and 2 frontend servers.

asked 2 days ago by ZoomGhost (340 points)
0 votes
1 answer

When someone is using a Custom Command, can you detect (WIth PowerShell as Action) "who initiated" the Custom Command? I found that you can use e.g.: adm- ... that are available or are only the %Adm-InitiatorFullname%; ...EMail; ...Dn available?

asked 3 days ago by LorenzR (40 points)
0 votes
1 answer

When creating a scheduled task, you select Object type. e.g.: User but can you add an additional filter, eg. where deparment is a value (HR, IT, ...) or where an ... of the CC add an extra pop-up when e.g more information from the requestor is needed?

asked 4 days ago by LorenzR (40 points)
0 votes
1 answer

I found a URL that's being used and I am not sure where it's coming from. I've looked everywhere to see how it's even accessible. The url directs people to a reset ... instead the name of one of the Web Interfaces (I blacked it out in the image below)

asked May 4 by apruitt (470 points)
0 votes
1 answer

Adding support for -MemberTimeToLive would be benefitial.

asked Apr 28 by -Harry- (20 points)
0 votes
1 answer

Would it be best to use the standard Powershell to pull the user's group membership and can that be embedded in a notification email after a user is created? Or is there a variable that will do this that I seem to be missing.

asked Apr 27 by noahphex (40 points)
0 votes
1 answer

Hello, Thank you for the clarification. I understand that, as of today, Adaxes does not provide built-in functionality to create Microsoft Entra (Azure AD) guest ... insight you can share regarding roadmap status or long-term direction. Kind regards, Willem

asked Apr 24 by IwistIT (120 points)
0 votes
1 answer

I find it's a good idea to have backups of a user's group membership when they depart so I'd like to be able to do this.

asked Apr 23 by noahphex (40 points)
0 votes
1 answer

This issue may occur when activating a Microsoft 365 account for a user and assigning licenses in the same action. Symptoms The following error is returned: License assignment ... a program or PowerShell script action that adds a 1-minute delay between them.

asked Apr 23 by Adaxes (660 points)
0 votes
0 answers

Microsoft supports decommissioning your last on prem Exchange Server and managing receipients using Windows PowerShell. See: https://learn.microsoft.com/en-us/exchange/manage- ... . Can the Exchange Management Tools be installed safely on an Adaxes Server?

asked Apr 22 by RayBilyk (310 points)
0 votes
1 answer

we have a Request approval for user creation I need to change the body from the Email Notification. Between Header and Footer. Where can we change it?

asked Apr 22 by eww ag (160 points)
0 votes
1 answer

This issue can be encountered when restoring configuration from backups created in Adaxes 2025.1 Update 5 (build 3.17.24628) or earlier. Symptoms After restoring the configuration, ... top-level node. If any do, replace it with the appropriate Entra domain.

asked Apr 21 by Adaxes (660 points)
0 votes
0 answers

I want to query all pending approval Request to check if there's already an pending request for a specific object. I can create a security Role with the needed rights, but cannot assign it to the scheduled task. is there any otther possibility to check?

asked Apr 16 by Malex17 (20 points)
0 votes
1 answer

Since we are required to uninstall Adaxes in order to upgrade it to a newer version, what will be lost in the process? Does uninstalling it remove everything, or does it ... when I restore it on the new installation, everything will be the same as before?

asked Apr 15 by jmatthews (270 points)
0 votes
1 answer

Is there a script to remove all O365 licenses except the ones that are inherited? Currently the automation is working, it's removing the licenses (except the ones that are ... is not possible, is it possible to remove the error from the task report? tx

asked Apr 13 by aszabo (20 points)
0 votes
1 answer

Is there a report that will notify me or an auditor when a user has been added to the Domain Admin group or any other 365 Admin Role?

asked Apr 13 by nsahlgren (20 points)
0 votes
1 answer

https://techcommunity.microsoft.com/blog/coreinfrastructureandsecurityblog/what-changed-in-rc4-with-the-january-2026-windows-update-and-why-it-is-important/4504732 Have you guys created ... accounts in adaxes are going to be affected by this RC4 deprecation?

asked Apr 6 by ADuser (180 points)
0 votes
1 answer

We use Adaxes for our user LifeCyclemanagement Flows. This flows scheduled actions are running in user context. Recently, users have been receiving emails from severals flows ... is visible in Adaxes. The data in the daily overview reports is correct.

asked Apr 2 by IwistIT (120 points)
0 votes
0 answers

We have a certain amount of licenses. We recently integrated with EntraID and all the objects got auto-licensed. We only want user accounts (no mailboxes/no guests accounts etc) to ... object is created in Entra. Is there any way to specify a rule for this?

asked Apr 2 by tromanko (370 points)
0 votes
1 answer

I am attempting to reset the client secret for the Application Registration for Adaxes. I have copied the client secret value from the new secret and using the same App Registration ... client secret is wrong, now it complains: It couldn't be any more wrong

asked Mar 30 by AvenuesRecovery (110 points)
0 votes
1 answer