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.
Question regarding multiple logins when using Outlook extension
Collapse
X
-
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.
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. -
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
-
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.
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.suggestions for creating the email account records quickly or automatically for each user?
Maybe someone will advise a faster way, but not me.Comment

Comment