Hi @Nearly New Crew
As Amberg mentioned in his comment, the error message you’re seeing is due to a mismatch between the redirect URI specified in your request and the one configured for your application in the Azure portal.
The redirect URI in your request is ‘https://nearlynewcrew.com/wp-admin/options-general.php’, but the authorized redirect URI for your YaySMTP plugin on your WordPress site is ‘https://nearlynewcrew.com/wp-admin/admin.php?page=yaysmtp’.
Here’s are some detailed steps to help you fix this:
- Go to the Azure portal and sign in with your account.
- In the left-hand menu, click on “Azure Active Directory”, then select “App registrations”.
- Find and select your application (with the ID ‘be8d9a7b-5d8a-47e8-aed1-f852d8ee6fe2’) in the list.
- In your application’s page, click on “Authentication”. Under the “Redirect URIs” section, update the URI to match the one specified in your YaySMTP settings (‘https://nearlynewcrew.com/wp-admin/admin.php?page=yaysmtp’).
- Click on “Save” at the top of the page to apply the changes.
After updating the redirect URI in the Azure portal, try authorizing the connection again on your WordPress site. If you’re still encountering issues, please let me know! Best, -Grace