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.

We are currently investigating the exact cause and working on a permanent fix. As a workaround, 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.

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.

answered 4 hours ago by Support2 (309k 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 10 hours ago 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?

answered 1 day ago by Support2 (309k 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?

answered 1 day ago by Support2 (309k 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 2 days ago 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?

answered Apr 16 by Support3 (16.5k 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?

answered Apr 15 by Support3 (16.5k 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

answered Apr 13 by Support2 (309k 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?

answered Apr 13 by Support3 (16.5k 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?

answered Apr 6 by Support2 (309k 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 (100 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?

answered Apr 2 by Support2 (309k 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

answered Mar 30 by Support2 (309k points)
0 votes
1 answer

I am running the following PowerShell script that moves an object from one OU to another in our Entra tenant. Note this is an Entra id guest account that ... $($user.objectGUID)", "Information") Move-AdmObject -Identity $user -TargetPath "%distinguishedName%"

answered Mar 27 by Support2 (309k points)
0 votes
1 answer

Hello, We are currently rolling out a deployment for Windows Hello. For this, we have created a custom automation in Adaxes for users to have to reset their passwords on ... this group? Or, do you have another recommendation for getting this done? Thank you.

answered Mar 26 by Support2 (309k points)
0 votes
1 answer

This is from within a custom task. Account has proper RBAC permissions and I can do this from a normal powershell window.

answered Mar 26 by Support2 (309k points)
0 votes
1 answer

The csv I am using contains firstname,lastname,fullname,pass I will use fullname for both fullname and log on name and pass for the password.

answered Mar 26 by Support2 (309k points)
0 votes
1 answer

I have a user that is looking to have a user calendar be shared on onboarding with all other users with reviewer permissions. We are exploring options to accomplish this task and are wondering if this is a good solution.

answered Mar 18 by Support2 (309k points)
0 votes
1 answer

First off, thank you for not shoving AI into Adaxes and for continuing to improve it. I'm trying to set property pattern validation for new user creation and I'm a little stuck. ... zA-Z0-9\'\-]+)*$ See bottom for more details or run it through regex101.com

answered Mar 11 by Support2 (309k points)
0 votes
1 answer

We would like the membership in a distribution group to be based on a particular M365 license a user has (for example, Microsoft Copilot for Microsoft 365 (SKU part number ... the group. Is there way to do that by making it a rule-based group?

answered Mar 11 by Support2 (309k points)
0 votes
1 answer
To see more, click for the full list of questions.