Skip to main content
Question

Microsoft 365 Outlook connect action

  • October 11, 2023
  • 1 reply
  • 142 views

Forum|alt.badge.img+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

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • October 11, 2023

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.

 

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings