At line 5 added 2 lines |
__⚠️ Constraints__: __It is only supported for accounts with 2-Step Verification enabled.__\\ |
\\ |
At line 7 removed 2 lines |
__⚠️ Note__: It requires __2 Factor__ to be enabled on the Microsoft Account.\\ |
\\ |
At line 14 changed one line |
Go to: [Microsoft Account Security Link|https://account.microsoft.com/security]\\ |
__1.1 Personal account__:\\ |
Go to: [Microsoft Account Security Link|https://account.microsoft.com/security]:\\ |
• Scroll down to __App passwords__\\ |
• Click __Create a new app password__\\ |
• Microsoft will generate a 16-character password — copy it and use it in the app.\\ |
At line 20 added 24 lines |
__1.2 Microsoft 365 (work or school) accounts__:\\ |
\\ |
For Microsoft 365 (work or school) accounts, App Passwords and 2FA (MFA) are managed centrally by your organization through Microsoft Entra ID (formerly Azure AD) — not through the personal Microsoft account portal.\\ |
\\ |
How to Set Up __2FA for Microsoft 365 Work Account__:\\ |
a. Go to: [Microsoft Security Admin Link|https://aka.ms/mfasetup]\\ |
b. Sign in with your work email.\\ |
c. Follow the wizard to configure:\\ |
• Microsoft Authenticator (preferred)\\ |
• Phone call or SMS (if allowed by your org)\\ |
d. Click __App passwords__ (if available) in the menu to generate one.\\ |
\\ |
__App Passwords in Microsoft 365__:\\ |
• App passwords are only available if your admin allows it.\\ |
• Used for legacy apps that don’t support modern authentication (e.g. old Outlook clients, SMTP apps).\\ |
• If disabled by policy, you won’t see the __App passwords__ link at all.\\ |
\\ |
{{{ |
Username: your_email@outlook.com |
Password: [your generated app password] |
}}}\\ |
\\ |
__⚠️ Note__: Microsoft strongly recommends modern authentication (__OAuth 2.0__) instead of app passwords. Some tenants block app passwords entirely for security reasons.\\ |
\\ |
At line 54 changed one line |
__Note__: XOAUTH authentication requires user-delegated permissions, meaning the user must be a real, licensed user with authentication capabilities (i.e., they must have a valid product license and be able to sign in).\\ |
__Note__: OAuth 2.0 authentication requires user-delegated permissions, meaning the user must be a real, licensed user with authentication capabilities (i.e., they must have a valid product license and be able to sign in).\\ |
At line 66 changed one line |
__SMTP Server Username, Password__: If the SMTP server address contains __office365__ or __outlook__, the corresponding __Get Refresh Token__ button will appear. Click that button to proceed.\\ |
__SMTP Server Username, Password__:\\ |
__a.)__ __App passwords__: [Microsoft App Passwords Link|https://www.crushftp.com/crush11wiki/Wiki.jsp?page=SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration#section-SMTP+Microsoft+Graph+XOAUTH+2+Integration-1.MicrosoftAppPasswords]\\ |
{{{ |
SMTP Server Username: your_email@outlook.com |
SMTP Server Password: [your generated app password] |
}}}\\ |
__b.)__ __OAuth 2.0__: [Microsoft Mail via OAuth 2.0 Link|https://www.crushftp.com/crush11wiki/Wiki.jsp?page=SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration#section-SMTP+Microsoft+Graph+XOAUTH+2+Integration-2.MicrosoftMailViaOAuth2.0]\\ |
If the SMTP server address contains __office365__ or __outlook__, the corresponding __Get Refresh Token__ button will appear. Click that button to proceed.\\ |
At line 77 changed one line |
__From email address__: You must also specify the __From__ email address. __!!! Important__ The __From__ address must exactly match __the signed-in Microsoft user’s email address__ (i.e., the account used to obtain the refresh token). Otherwise, SMTP authentication will fail.\\ |
__From email address__: You must also specify the __From__ email address. __⚠️ Important__ The __From__ address must exactly match __the signed-in Microsoft user’s email address__ (i.e., the account used to obtain the refresh token) or the account associated with the App Password. Otherwise, SMTP authentication will fail.\\ |
At line 95 changed one line |
Configure the __App registration__. See at [Microsoft Mail via OAuth 2.0|https://www.crushftp.com/crush11wiki/Wiki.jsp?page=SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration#section-SMTP+Microsoft+Graph+XOAUTH+2+Integration-1.MicrosoftMailViaOAuth2.0]\\ |
__Mail Username, Password__:\\ |
__a.)__ __App passwords__: __⚠️ Constraints__: __It is only supported for accounts with 2-Step Verification enabled.__\\ [Microsoft App Passwords Link|https://www.crushftp.com/crush11wiki/Wiki.jsp?page=SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration#section-SMTP+Microsoft+Graph+XOAUTH+2+Integration-1.MicrosoftAppPasswords]\\ |
{{{ |
Mail Username: your_email@outlook.com |
Mail Password: [your generated app password] |
}}}\\ |
__b.)__ __OAuth 2.0__: Configure the __App registration__. See at [Microsoft Mail via OAuth 2.0|https://www.crushftp.com/crush11wiki/Wiki.jsp?page=SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration#section-SMTP+Microsoft+Graph+XOAUTH+2+Integration-1.MicrosoftMailViaOAuth2.0]\\ |
\\ |