Outlook Authorization issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DamienOD
    Junior Member
    • Mar 2022
    • 9

    Outlook Authorization issue

    Hi All
    I have installed the outlook extension and carried out Azure setup as per Instructions.
    Outlook Calendar is allowing users to log in via Microsoft and working fine but when I try to connect email I get an error stating the Redirect URI is incorrect.
    I've checked it and it is correct it must be also (I think) because the calendar is logging in ok.
    Nothing in logs except errors with cron job checking email. Excerpt from logs, as expected without authentiaction

    [2022-12-16 13:19:02] ERROR: JobManager: Failed job running, job '639c6fcda39549354'. Job CheckEmailAccounts 639b17755bebfcd5d: [0]
    cannot login, user or password wrong;

    I have attached screenshot below
    Thanks as always for your support
    Click image for larger version

Name:	image.png
Views:	261
Size:	117.9 KB
ID:	86423​​
    Attached Files
  • Kharg
    Senior Member
    • Jun 2021
    • 410

    #2
    Hello,
    I think the problem is the OAUTH Url,

    The callback url has double "//"

    You have to remove the ending "/" from your site url in Espo Settings (/#Admin/settings) so the callback url gets updated and then copy the new callback url in the Azure App.
    or just fix the redirect uri in Azure by removing the extra "/"

    Also remember that to connect email addresses you don't have to save the passwords in Espo https://docs.espocrm.com/extensions/...gration/email/
    Last edited by Kharg; 12-16-2022, 04:54 PM.

    Comment

    • DamienOD
      Junior Member
      • Mar 2022
      • 9

      #3
      Thank you so much @Kharg
      That worked a treat
      I am very grateful for your help

      Comment


      • Kharg
        Kharg commented
        Editing a comment
        Glad I could help you
    Working...