0 votes

Currently have a new user form that automatically sets a password, by Property Pattern, to be reset by the user after. I seem to be having an issue when I enable that user for Microsoft 365, it says: Failed to reset password in Microsoft 365. Property userPrincipalName is invalid. It then assigns it a different temporary password instead.

I have a Property Pattern to set the UPN to %sAMAccountName%@company.com, which shows correctly in the admin portal afterwards for the user.

Am i missing something? I would like the user to be created with the password that was defined in the Property Pattern.

by (60 points)
reshown by


For troubleshooting purposes, enable tracing of requests sent to Microsoft 365, reproduce the issue and send us (support@adaxes.com) the log file. For information on how to enable the tracing, have a look at the following help article: https://www.adaxes.com/help/Microsoft365RequestLogging.

Please log in or register to answer this question.

Related questions

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

Hello, I am having trouble updating adaxes custom attributes when creating a new user with the powershell module, would running the New-AdmUser also ... -EmployeeID $EmployeeID -MobilePhone $MobilePhone -OtherAttributes @{adm-CustomAttributeText1 = $title }

asked May 11, 2020 by bbartlett (20 points)
0 votes
1 answer

Is there a way to grey out the 'Password never expires' option when a admin creates a new user in the Adaxes admin portal? I'm in a closed environment and need to make sure that accounts are not created with this option set. Thanks for any information! -Chad

asked Apr 16, 2015 by chad156 (50 points)
0 votes
1 answer

Good Afternoon, Currently as far as I can tell when defining a new user we are forced to select a location for a newly created user before defining information like the ... If not, is there a better way of applying this sort of functionality? Regards Josh

asked Apr 21, 2014 by jtop (680 points)
0 votes
1 answer

I have a business rule to create a user in our AD, and then have it create a new O365 account and assign it a license. How can I have it create a temporary password that I specify during that business rule?

asked Jun 17, 2020 by keecit (40 points)
2,779 questions
2,512 answers
26,506 users