Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
auth_smtp_office_365.png 44.1 kB 1 05-Dec-2023 05:32 krivacsz
png
client_id.png 92.7 kB 1 05-Dec-2023 05:32 krivacsz
png
enable_access_token.png 50.3 kB 1 05-Dec-2023 05:32 krivacsz
png
microsoft_app_password.png 39.9 kB 2 06-Jun-2025 09:13 krivacsz
png
microsoft_enable_app_password.... 150.5 kB 1 06-Jun-2025 09:13 krivacsz
png
ms_client_secet.png 88.6 kB 2 03-May-2025 02:37 krivacsz
png
new_registration.png 86.9 kB 1 05-Dec-2023 05:32 krivacsz
png
new_secret.png 138.7 kB 1 05-Dec-2023 05:32 krivacsz
png
permission_final.png 209.0 kB 1 05-Dec-2023 05:32 krivacsz
png
permission_microsoft_graph.png 182.9 kB 1 05-Dec-2023 05:32 krivacsz
png
pop_imap_task.png 141.8 kB 3 14-May-2025 02:49 krivacsz
png
register_app.png 230.6 kB 1 05-Dec-2023 05:32 krivacsz
png
smtp_from_email.png 50.3 kB 1 05-Dec-2023 05:32 krivacsz
png
smtp_get_refresh_token.png 44.7 kB 2 05-Dec-2023 05:32 krivacsz
png
tenant_security_defaults.png 74.0 kB 1 06-Jun-2025 09:30 krivacsz

This page (revision-196) was last changed on 06-Jun-2025 09:45 by krivacsz

This page was created on 05-Dec-2023 05:32 by krivacsz

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added one line
!Microsoft Mail integration\\
At line 2 changed one line
!1. Microsoft Mail via OAuth 2.0 \\
!1. Microsoft App Passwords\\
\\
__⚠️ Constraints__: __It is only supported for accounts with 2-Step Verification enabled.__\\
\\
Microsoft App Passwords are special 16-character passwords used for apps that don’t support two-factor authentication (2FA). They are required when 2FA is enabled on your Microsoft account and you’re using legacy applications (like old email clients). You can generate and manage them from your Microsoft security settings at __account.microsoft.com/security__.\\
\\
Service can use __App Passwords__:\\
__SMTP__: smtp.office365.com\\
__IMAP__: imap-mail.outlook.com\\
__POP3__: pop-mail.outlook.com\\
\\
__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.\\
\\
__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.\\
\\
!2. Microsoft Mail via OAuth 2.0 \\
At line 40 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 44 changed one line
!2. SMTP settings\\
!3. SMTP settings\\
At line 52 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 63 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 70 changed one line
!3. PopImapTask\\
!4. PopImapTask\\
At line 81 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]\\
\\
Version Date Modified Size Author Changes ... Change note
196 06-Jun-2025 09:45 12.635 kB krivacsz to previous
195 06-Jun-2025 09:44 12.637 kB krivacsz to previous | to last
194 06-Jun-2025 09:33 12.586 kB krivacsz to previous | to last
193 06-Jun-2025 09:32 12.547 kB krivacsz to previous | to last
192 06-Jun-2025 09:31 12.531 kB krivacsz to previous | to last
191 06-Jun-2025 09:27 12.455 kB krivacsz to previous | to last
190 06-Jun-2025 09:26 12.427 kB krivacsz to previous | to last
189 06-Jun-2025 09:25 12.409 kB krivacsz to previous | to last
188 06-Jun-2025 09:21 11.999 kB krivacsz to previous | to last
187 06-Jun-2025 09:20 11.991 kB krivacsz to previous | to last
186 06-Jun-2025 09:19 11.978 kB krivacsz to previous | to last
185 06-Jun-2025 09:18 12.395 kB krivacsz to previous | to last
184 06-Jun-2025 09:18 12.391 kB krivacsz to previous | to last
183 06-Jun-2025 09:16 12.383 kB krivacsz to previous | to last
182 06-Jun-2025 09:16 12.379 kB krivacsz to previous | to last
181 06-Jun-2025 09:15 12.366 kB krivacsz to previous | to last
« This page (revision-196) was last changed on 06-Jun-2025 09:45 by krivacsz
G’day (anonymous guest)
CrushFTP11 | What's New
JSPWiki