@J.Aeby, Thanks for posting in Q&A. Based on my researching, the Microsoft Entra password policies set is for org. If you want to change it for a set of users, you can use Update-MgUser to configure password expire for users. Here is a link with more details:
https://learn.microsoft.com/en-us/entra/identity/authentication/concept-sspr-policy
Hope the above information can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.