Title: Step 6 Failed.
Last modified: January 19, 2021

---

# Step 6 Failed.

 *  Resolved [chuck820](https://wordpress.org/support/users/chuck820/)
 * (@chuck820)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/)
 * When configuring the redirect URI in step 6. I pasted the url generated by your
   plugin into the Redirect URI field in Azure and got the following message.
 * Failed to update BaseTek Website application. Error detail: URL may not contain
   a query string. [N32myMmvXzEPhZYGSO+Vwy]

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [edwardcross](https://wordpress.org/support/users/edwardcross/)
 * (@edwardcross)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/#post-13929905)
 * Hi, so this usually occurs if you’re trying to connect a free version of Outlook,
   Hotmail etc. rather than a paid for subscription service such as Office 365 or
   Exchange. Unfortunately Microsoft don’t support the Graph API for free accounts.
 * If you’re not using a free account, the other thing that might be causing this
   is if you’ve chosen a different option to ‘Accounts in this organisational directory
   only’ under Step 3.
 * Ed
 *  Thread Starter [chuck820](https://wordpress.org/support/users/chuck820/)
 * (@chuck820)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/#post-13932952)
 * Thank you for your help, I entered the wrong option for Step 3.
 *  [edwardcross](https://wordpress.org/support/users/edwardcross/)
 * (@edwardcross)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/#post-13932966)
 * No worries, glad you’ve got it working!
 *  Thread Starter [chuck820](https://wordpress.org/support/users/chuck820/)
 * (@chuck820)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/#post-13933006)
 * That worked, but is there a way to change the from name? When I set the from 
   name in my contact form it doesn’t seem to recognize it.
 *  [edwardcross](https://wordpress.org/support/users/edwardcross/)
 * (@edwardcross)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/#post-13933980)
 * So given this plugin is about mail deliverability, I do not provide the facility
   to register an account, but change the from name to something different. This
   is to avoid issues with such emails going to spam, (depending on the receiving
   mail servers settings for SPF, DMARC and DKIM as explained here: [https://www.howtogeek.com/689267/how-to-send-an-email-with-a-different-from-address-in-outlook](https://www.howtogeek.com/689267/how-to-send-an-email-with-a-different-from-address-in-outlook)).
 * However, I do provide a plugin-wide setting to send as a different account to
   the one authorised with WordPress. This will mean the email is shown as coming
   from the another account (specified within the plugin settings page), rather 
   than the account you have linked to WordPress. This functionality is outlined
   in Step 8 of the setup guide.
 * Note however, that the chosen other account must allow the registration account
   access to be able to send email as this other account. The steps to do this within
   Office 365/Exchange are outlined here: [https://docs.microsoft.com/en-us/microsoft-365/admin/add-users/give-mailbox-permissions-to-another-user?view=o365-worldwide](https://docs.microsoft.com/en-us/microsoft-365/admin/add-users/give-mailbox-permissions-to-another-user?view=o365-worldwide)
 * This ensures email is not sent to Spam, as we are not spoofing the from name 
   to be different to the sent address! The email is generally coming from the other
   account to the one registered with WordPress.
    -  This reply was modified 5 years, 4 months ago by [edwardcross](https://wordpress.org/support/users/edwardcross/).
    -  This reply was modified 5 years, 4 months ago by [edwardcross](https://wordpress.org/support/users/edwardcross/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Step 6 Failed.’ is closed to new replies.

 * ![](https://ps.w.org/mail-integration-365/assets/icon-256x256.png?rev=2817704)
 * [WPO365 | Mail Integration for Office 365 / Outlook](https://wordpress.org/plugins/mail-integration-365/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mail-integration-365/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mail-integration-365/)
 * [Active Topics](https://wordpress.org/support/plugin/mail-integration-365/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mail-integration-365/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mail-integration-365/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [edwardcross](https://wordpress.org/support/users/edwardcross/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/step-6-failed/#post-13933980)
 * Status: resolved