Set Azure AD user Password Profile

$PasswordProfile = New-Object -TypeName Microsoft.Open.AzureAD.Model.PasswordProfile
$PasswordProfile.EnforceChangePasswordPolicy = $false
Get-AzureADUser -SearchString $username | Set-AzureADUser -PasswordProfile $PasswordProfile