Question

Microsoft 365 Outlook connect action

  • 11 October 2023
  • 1 reply
  • 60 views

Badge +2

Can the connect action in Microsoft 365 Outlook package with PKCE authentication mode be used for unattended bot runs or is it only for attended mode. The ews connect using PKCE only works for attended mode as mentioned in a KB article.


1 reply

Userlevel 6
Badge +15

Hi @Reshma.S3 ,

 

Please find the below,

 

  • Authorization Code with PKCE

    For more information, see Microsoft identity platform and OAuth 2.0 authorization code flow

    Use the following fields to enter the information that is provided for your Azure portal:
    • Client ID: enter the Office 365 client or insert it from the Credential Vault.
    • Tenant ID: enter the unique ID for your Office 365 subscription or insert it from the Credential Vault.
    • Redirect URL: enter the URL address.

      The bot must run in an attended mode by providing a login form for the first time where you can enter your login credentials. I believe after that you can run on unattended mode.

    • Username: enter the email address of the mailbox you want to access within Microsoft 365 Outlook server.

      OAuth2 credentials configured in the Microsoft Azure portal must be used to access this mailbox.

    Note: If you have selected the Authorization Code with PKCE option, a browser is displayed that implies the connection to the Microsoft 365 Outlook server was established successfully. Ensure that you close this browser to continue.

 

Reply