Question regarding multiple logins when using Outlook extension

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Azuo
    Junior Member
    • Sep 2025
    • 4

    #1

    Question regarding multiple logins when using Outlook extension

    Hello, I have a question about signing in to Microsoft after installing the Outlook extension. Is there a way for my users to sign in only once and be connected to their email accounts and calendars? I'm using Graph API so each user has two Espo email account records (one for sending and one for IMAP receiving), which makes a total of three logins including the calendar. I have Microsoft Entra set up so ideally I want them to have access to their emails and calendars when they log in to Espo.
  • victor
    Active Community Member
    • Aug 2022
    • 1075

    #2
    If your User is logged out for IMAP > Graph API, SMTP > Graph API and Calendar, then he remains logged out until the token expires or until the User disconnects.
    Additionally, specify "select_account" in Authorization Prompt.

    Click image for larger version  Name:	image.png Views:	0 Size:	27.9 KB ID:	123473
    Also note that the documentation states that using the Graph API is not recommended:

    We recommended to use the standard SMTP for email sending. Use Graph API only if necessary.

    Comment

    • Azuo
      Junior Member
      • Sep 2025
      • 4

      #3
      But the user still has to click Connect separately for Calendar and email account, instead of just once to connect both?

      Unfortunately, due to unavoidable circumstances we are left with no choice but to use Graph API. This leads me to another question: do you have any suggestions for creating the email account records quickly or automatically for each user? It would be very helpful when there are a lot of users.

      Comment

      • victor
        Active Community Member
        • Aug 2022
        • 1075

        #4
        Originally posted by Azuo
        But the user still has to click Connect separately for Calendar and email account, instead of just once to connect both?
        Of course, that's how it should be. It connects separately to the first Personal Email Account (with IMAP), separately to one second Personal Email Account (with SMTP), separately to Calendar (External Account).
        Disabling the Graph API will allow your user to make 2 connections instead of one, because instead of two Personal Email Accounts (separate for IMAP and SMTP), he will have one.

        suggestions for creating the email account records quickly or automatically for each user?
        Personally, I can only advise making a duplicate for each Personal Email Account, changing only the email address in it, and saving time on filling in other fields, which will be filled in identically in your copy.

        Click image for larger version  Name:	image.png Views:	0 Size:	19.7 KB ID:	123512

        Maybe someone will advise a faster way, but not me.​

        Comment

        Working...