Hello Harris, David,
I understand you want users in that group to use a generic password without being forced to reset it the first time they log in.
Since Microsoft Entra ID automatically requires new users to change their password on first login, you’ll need to disable that setting manually.
You can make use of Microsoft Graph PowerShell commands as there's no direct way to do this in Microsoft Entra Admin Center GUI.
Initially, I created 2 new users with generic password and added them in group:
Now, run below Microsoft Graph PowerShell script to skip forced password reset for users present in that group by signing in with Admin account:
#Install-Module Microsoft.Graph -Scope CurrentUser -Force
Connect-MgGraph -Scopes "User-PasswordProfile.ReadWrite.All","GroupMember.Read.All"
$GroupID = "groupId"
$Users = Get-MgGroupMember -GroupId $GroupID | Select-Object -ExpandProperty Id
foreach ($UserId in $Users) {
$passwordProfile = @{
ForceChangePasswordNextSignIn = $false
}
Update-MgUser -UserId $UserId -PasswordProfile $passwordProfile
}
When I tried signing in with a user from that group, it worked with the assigned password without being prompted to reset it.
Hope this helps!
Please do not forget to click "Accept the answer” and Yes
wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.