Skip to main content
Navigator | Tier 3
September 8, 2022
Question

Hi All, Need some help on replacing basic authentication with OAuth standard (modern authentication) to connect to EWS (Exchange Web Services) in A360

  • September 8, 2022
  • 29 replies
  • 646 views

In code, We are using one outlook account (ex: ssc-ppp-ttdd@companyname.com) to send emails for stakeholders after completion of bot execution at the end(Summary report).This basic auth will deprecate from OCt1. Our current codes will get affected. Now we need to replace with modern auth. Could you please let me know the steps /ways to achieve in A360.Looking for the inputs.

 

Additional Info: We have client id and Tenant ID..Not sure whether any other details required to use in A360.Looking for the steps to implement in code

    29 replies

    Navigator | Tier 3
    September 28, 2022

    can you share the steps of how you are sending an email with OAuth.

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    September 28, 2022

    Clear the Windows credentials. To perform this, please go to Control Panel > credential manager > Windows credential > remove Office 365 related accounts. 3. Restart your computer and re-open an Office application and sign in with the proper Office 365 account

    _Tamil_
    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    September 28, 2022

    To authoritze connection, enter credential or insecure string for client ID and tenant ID (variables are not supported). The connection will open in default browser tab. After successful connection you can close the browser tab and return here. EWS permission is required only once for an Azure client registration

    _Tamil_
    Navigator | Tier 3
    September 28, 2022

    No i didnt upgrade because it takes some time to get approvals to upgrade.

     

    As support team mentioned A360.18 also will work .So wanted to see difference between them.

    If you can provide some screenshot removing sensitive data it will be helpful.

     

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    September 28, 2022

    No need for DLL. Did you try to upgrade the package version only?

    _Tamil_
    Navigator | Tier 3
    September 28, 2022

    I will tell you my scenario.

     

    As mentioned in above mail , I have used email connect as my 1st step and able to authorize by click authorize option in connect action.But after that bot is not moving to send action.

     

    So do we need to click manually authorize in connect as well as send action.

     

    Also i dont see Control Panel > credential manager > Windows credential > remove Office 365 related accounts

     

    Reached out to Automation Anywhere support also they are saying working on it.

     

     

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    September 28, 2022

    i have used EWS client ID, EWS tenant ID, username, and password then, and I'm able to authorize

    Note : I'm using A360.25

    _Tamil_
    Navigator | Tier 3
    September 28, 2022

    Do we need to install any DLL's to execute in A360.

     

    Navigator | Tier 3
    September 28, 2022

    Hi Tamil Arasu,

     

    Is it possible to share the steps or let me know how you have used steps to send email using OAuth once Email connect action used.