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
%sAMAccountNamefirstname.lastname@example.org, 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.