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 have a custom command, copied from the buit-in deprovisioning script, that revokes all licenses and blocks sign in; however, I get an insufficient permissions error on the ... be happening. I can assign licenses with no issues. Any help would be appreciated.

asked Apr 12, 2023 by Michael Long (80 points)
0 votes
1 answer

I have created a template user account for each job role in my company. I copy these users to create users so that all new users are assigned all required groups. I want to ... want to then add or remove all users with a matching job role from the same group.

asked Apr 11, 2023 by scohen (20 points)
0 votes
1 answer

Is there a report, or a way to make a custom report, to show when a custom command was run and who it was run against? The Operation in the log is "Execute Deprovision User Account"

asked Apr 11, 2023 by stlouischiefs (20 points)
0 votes
1 answer

I am trying to customize the enrollment pop up page to specify the number format need, but I cannot for the life of me find the file or location where I can edit the html code needed to say this on the enrollment page, is this even possible?

asked Apr 10, 2023 by gwadmin (80 points)
0 votes
1 answer

I have a web view set up where the user is locked down to only seeing thier approvals. When they get a email notification, and click on the approve or deny link, ... that would grant this access but I am wondering if there is something I am missing.

asked Apr 7, 2023 by mightycabal (1.2k points)
0 votes
1 answer

I have a multiple seperate forests / domains in sepertae environments. Is it possibelt to deply an Adxes service into each domain and only have it have access ... and Adaxes service; there is no information for Adaxes service to Adaxes service communication?

asked Apr 6, 2023 by sam.webster (370 points)
0 votes
1 answer

Hello, I am scripting user creation. I have created a custom command where an end user will submit info for the user to be created from: Here is the scirpt: # Import the ... Schema. I have tried using "Employee Type" as in the screen shot above but same error.

asked Apr 6, 2023 by mightycabal (1.2k points)
0 votes
1 answer

what its trying to do? GET, POST..etc...?

asked Apr 6, 2023 by scotthoffman (60 points)
0 votes
1 answer

This is more a general question to the community not a support request - What tools or products have you integrated into your Adaxes workflows? One example that I did was ... calling a custom command to pass user properties to Adaxes. What are your ideas? :)

asked Apr 4, 2023 by GronTron (330 points)
0 votes
1 answer

Hello, Please advise how to extract objects from two locations to create a report I am thinking something like SQL join operation Thank you.

asked Apr 4, 2023 by hhsmith (180 points)
0 votes
0 answers

Hello All, is is possible via Adaxes deprovisioning to remove all his Azure and M365 roles besides custom Powershell script? Regards Ivaylo

asked Mar 31, 2023 by ivaylo.valkov (100 points)
0 votes
1 answer

We have a business rule that will update an AD attribute when a new member is added to a group. This business rule works when we use powershell commands or the admin console ... set to trigger "After adding a member to a group". Thank you for your support!

asked Mar 29, 2023 by mark.it.admin (2.3k points)
0 votes
1 answer

Can Self service client tool work on macbooks with local account setup. Our macbooks are managed by Kandji MDM, which have local accounts setup on each machine and not ... will sync local accounts with their AD password on macbooks setup with local accounts.

asked Mar 29, 2023 by Vish539 (500 points)
0 votes
1 answer

Would like to know if we can remove the forget password link on Self-service login page or remove the ability for users to reset their password. We only want users to ... be able to change their password but not reset their password if they have forgotten it.

asked Mar 29, 2023 by Vish539 (500 points)
0 votes
1 answer

Currently thought we have enabled MFA on self service policy, the MFA is only prompted for self-service login, but not for 'forget password link' Is there a way when users ... link and try to reset their password, can we have mandatory MFA for this section.

asked Mar 29, 2023 by Vish539 (500 points)
0 votes
1 answer

In a custom command where an approval is added in Powershell code ($Context.SubmitForApproval) or as an action Send this operation for approval' how can you run specific ... is denied a mail is sent to requestors manager and requestors account is disabled.

asked Mar 28, 2023 by Pihl (20 points)
0 votes
1 answer

Whether I try to run a script or manually run the commands to enroll users, users remain unenrolled. Example of a basic script: Import-Module ... ` -QuestionsAndAnswers @{$question1=$answer1;$question2=$answer2} -AdaxesService localhost Adaxes version 2021

asked Mar 27, 2023 by gwadmin (80 points)
0 votes
0 answers

Do you have an OpenAPI or Swagger defintion file? Would save me having to enter every parameter responce etc. into my APIM/Proxy.

asked Mar 27, 2023 by Moodie007 (70 points)
0 votes
1 answer

I have a Rule-Based group with users. Every time a users gets added or removed from this group I want to trigger a Business Rule for "Atter adding or removing a member ... Rules be triggered by a Rule-Based group adding or removing a user? Morten A. Steien

asked Mar 27, 2023 by Morten A. Steien (300 points)
0 votes
1 answer

During a copy user action, I have a business rule to send an email which will contain the account password. Which property would I use to send it to recipient/requestor? Would %mail% look at the source user of the copy action or the newly created account?

asked Mar 24, 2023 by GronTron (330 points)
0 votes
1 answer