Title: Access Token does not save
Last modified: April 28, 2026

---

# Access Token does not save

 *  Resolved [martinjstephens](https://wordpress.org/support/users/martinjstephens/)
 * (@martinjstephens)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/access-token-does-not-save/)
 * We have been able to obtain the Access Token from 365. We enter it into the field
   and save. The page reloads and claims to have saved the token, however when going
   back in to the settings, we still see the ‘Please authenticate with Office365
   to get Access Token’ when we should be seeing the ‘Your Outlook / Office365 Authentication
   has been enabled.No further action is needed.If you want to re-authenticate, 
   click here’ message.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ibrahim Sharif](https://wordpress.org/support/users/ibrahimsharif/)
 * (@ibrahimsharif)
 * [1 month ago](https://wordpress.org/support/topic/access-token-does-not-save/#post-18902769)
 * Hello [@martinjstephens](https://wordpress.org/support/users/martinjstephens/),
 * Thank you for reaching out to us! I am sorry to hear that you are encountering
   difficulties while trying to save your Office365 Access Token in FluentSMTP. 
   I understand how frustrating it is to have the settings fail to persist, and 
   I would be happy to help you get this resolved.
 * To get to the bottom of why the token is not being saved properly, I would like
   to investigate the server-side behavior during the save process. Often, there
   might be a silent conflict or a server-side error preventing the data from being
   written to the database.
 * Could you please enable the WordPress debug log and try saving the token again?
   This will allow us to capture any underlying errors that might be occurring during
   that action.
 * **Here is how you can enable the debug log:**
    1. **Access your files:** Open your `wp-config.php` file, which is located in the
       root directory of your WordPress installation.
    2. **Locate the debug line:** Find the line that says `define('WP_DEBUG', false);`.
    3. **Enable debugging:** Change that value to `true`.
    4. **Add the log directive:** Insert `define('WP_DEBUG_LOG', true);` on a new line
       right below it.
 * **Your code should look like this:**
 *     ```wp-block-code
       define('WP_DEBUG', true);
       define('WP_DEBUG_LOG', true);
       ```
   
    5. **Save the changes:** Once saved, please attempt to save your Office365 Access
       Token in the FluentSMTP settings once more.
 * After you have done this, WordPress will record any errors in a file located 
   at `/wp-content/debug.log`. Please check that file, and if you see any error 
   messages logged there, kindly copy and paste them into your reply.
 * _Note: Please remember to disable debugging (set these values back to `false`)
   once we have identified the issue, as this ensures your site remains secure and
   the log file doesn’t grow unnecessarily._
 * I look forward to hearing from you so we can get your Office365 integration working
   smoothly!

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Faccess-token-does-not-save%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/fluent-smtp/assets/icon.svg?rev=2458343)
 * [FluentSMTP - WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider](https://wordpress.org/plugins/fluent-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ibrahim Sharif](https://wordpress.org/support/users/ibrahimsharif/)
 * Last activity: [1 month ago](https://wordpress.org/support/topic/access-token-does-not-save/#post-18902769)
 * Status: resolved