• Resolved hairyhobo

    (@hairyhobo)


    Hello

    { “code”: 422, “message”: “Unauthorized”, “errors”: [ “Unauthorized” ] }

    { “code”: 422, “message”: “Not Found”, “errors”: [ “Not Found” ] }

    I am just trying to setup fluent SMTP with a 365 account. Everything on the Azure side gets a green tick, the token is accepted in Fluent, but when ever i send a test email the above error code appears.

    The from email is the same email address as the 365 account the app and token is generated from.

    A new error message appears, with “not found”, any ideas?

    How do i fix this?

    Thanks

    • This topic was modified 1 year, 2 months ago by hairyhobo.
    • This topic was modified 1 year, 2 months ago by hairyhobo.
    • This topic was modified 1 year, 2 months ago by hairyhobo.
Viewing 1 replies (of 1 total)
  • Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @hairyhobo,

    Based on the information you’ve provided and the common causes for these errors, here’s a breakdown of potential solutions to investigate:

    • 1. Incorrect App Callback URL: Please double-check the Callback URL you’ve configured in your Azure app registration and ensure it exactly matches the Callback URL provided in the Fluent SMTP settings within your WordPress dashboard. Even a small typo can cause authorization issues.
    • 2. Insufficient Permissions: It’s possible the Microsoft 365 account you’re using doesn’t have the necessary permissions or a valid mailbox. Please verify:
      • That the email address you are trying to use as the “From” email in Fluent SMTP actually has a mailbox created within Office 365.
      • That your Office 365 subscription is active and valid.
    • 3. Incorrect Account Type: This is a crucial step! When creating the Azure app registration, ensure you selected the correct account type. For Fluent SMTP to function correctly with various Microsoft accounts, you should select “Accounts in any organizational directory (Any Azure AD directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)“.
    • 4. Incorrect Logged-in Account: Double-check that when you click the “Authorize” button within Fluent SMTP, you’re logging in with the exact same Microsoft account that you used to create the Azure App registration. Using a different account can lead to authorization failures.
    • 5. Domain Verification: Ensure you have properly verified your domain within Microsoft Office 365. Unverified domains can cause issues with sending emails.

    If you’ve checked all of these areas and are still encountering the same issue, I recommend reviewing the official Fluent SMTP documentation for setting up Outlook: https://fluentsmtp.com/docs/setup-outlook-with-fluentsmtp/

    Thank you.

Viewing 1 replies (of 1 total)

The topic ‘422 unauthorized’ is closed to new replies.