Password policies are configured on a per-domain basis, so make sure you've covered all domains, or make sure you create the user with a UPN value associated with one of the domains with the correct policy. Otherwise, the "default" policy will apply, which is now "never expire".
Password Policy of Newly created users are setting to Null value
Hello , We have a password policy set to expire in 90 days , when a new user is created via 365 admin center the user password policy is showing as null . But from microsoft documentation when the password policy of a user is NULL then organization password policy doesnt apply to that user and their password is set to neverexpire . We are manually going to each user or group of users and running a powershell script to set their password policy to None . Why is this happening and what configuration should be set so that any newly created user will pick up organization password policy and their password policy is set to None.