Hello @JESUS MORENO DUEÑAS ,
For cloud users, it's not possible to modify the azure active directory (AAD) password policy.
You can view the password policy with the command listed in the below article, but it only lists validity period and notification days,
https://learn.microsoft.com/en-us/powershell/module/msonline/get-msolpasswordpolicy?view=azureadps-1.0
here's the article that gives you more details about the AAD password policy's,
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy#password-policies-that-only-apply-to-cloud-user-accounts
Hope this helps.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.