Fix Cannot Create Office 365 App Password After Conditional Access
Question details
Users are unable to generate app passwords or authenticate IMAP/SMTP clients after enabling Conditional Access and multifactor authentication.

- Product
- Microsoft 365 / Office 365
- Device & OS
- not provided
- Scenario
- Configuring legacy email client access after enabling multifactor authentication and Conditional Access policies.
- Observed behavior
- The option to create an app password is not available or fails, and email clients using legacy IMAP or SMTP protocols cannot authenticate successfully.
Ensure you have global administrator privileges in your Microsoft 365 tenant and use a secondary admin account to make changes, as administrators cannot reset their own active MFA settings while signed in.
Enable App Password Creation in MFA Service Settings
Administrators must explicitly allow users to create app passwords for legacy non-browser applications within the multifactor authentication portal.
When multifactor authentication is enforced, legacy applications that do not support modern authentication require an app password. This feature must be globally enabled by an administrator before individual users can generate them.
Sign in to the Microsoft 365 admin center using a secondary global administrator account.
Go to Users > Active users, and click on 'Multifactor authentication' in the top navigation menu.
Select 'Service settings' at the top of the MFA portal, then check the box for 'Allow users to create app passwords to sign into non-browser apps'.
Return to the Users tab, select the affected user, and click 'Manage user settings'. Check 'Require selected users to provide contact methods again' and 'Delete all existing app passwords generated by the selected users', then click Save.
Instruct the user to log in and generate a new app password, ensuring they do not use special characters such as an ampersand (&) in the app password name.

Disable Restrictive Conditional Access Policies
If modern authentication is required and app passwords are blocked by a specific policy, you may need to temporarily disable the Conditional Access policy blocking legacy authentication.
Experience a Simpler Office Solution with WPS Office
Managing Microsoft 365 administrative settings like Conditional Access and Azure AD multifactor authentication can be highly complex. If you are looking for a powerful, user-friendly, and lightweight alternative for your daily document needs, WPS Office provides comprehensive tools without the administrative overhead.

Frequently Asked Questions
Why can't I see the Conditional Access section in Azure Active Directory?
You may not have the required Azure AD Premium P1 or P2 license assigned to your tenant, or you might be looking in the classic portal instead of the modern Security blade. Ensure your organization is properly licensed for Conditional Access features.
Why won't my IMAP or SMTP client accept the newly generated app password?
Legacy authentication protocols like IMAP and SMTP might be blocked tenant-wide by Microsoft's 'Security Defaults' or specific Exchange Online settings. It is highly recommended to upgrade to email clients that support Modern Authentication (OAuth2) instead of relying on app passwords.
Can an administrator reset their own multifactor authentication settings?
No, an active administrator account cannot reset or modify its own MFA requirements while the session is in use. A different global administrator must log in to perform the reset for that account.




