Hello! Both options will always be available, but they do not necessarily signal that Multi-Factor Authentication (MFA) applies to the account. To ensure MFA enrollment, you must enforce it through one of the following methods:
- Security Defaults: Enabling security defaults in Azure AD ensures that MFA is required for all users in your organization. It's a simple way to enhance security without complex configurations.
- Per-User MFA: With per-user MFA policies, you can selectively enforce MFA for specific users. This approach allows more flexibility and customization.
- Conditional Access: Use conditional access policies to define specific conditions under which MFA is required. For example, you can enforce MFA based on location, device type, or risk level.
Regarding password information, it's all stored in the passwordProfile property. This property contains details related to password management, including password change history and expiration policies.
Let me know if you need additional or more detailed guidance. If this answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution. 🌟