Digital Exchange

 View Only
last person joined: 2 days ago 

This community is a place to discuss Blue Prism DX assets and development.

Expand all | Collapse all

New Connector for Microsoft Office 365 - Outlook Released!

  • 1.  New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-03-2022 13:46
    All,

    A new connector is available, on the Digital Exchange, for working with Microsoft Office 365 - Outlook. This is a complete design of the previous Microsoft Graph API - Outlook connector.

    The new connector is implemented as a traditional VBO (Visual Business Object), so there are no issues with being able to download and save attachments directly from the connector. This connector has similar actions to the legacy Outlook VBO, but since it leverages Microsoft Graph API, behind the scenes, it does not require Outlook to be installed locally on the runtime resource.

    Some things to be aware of:
    • The legacy Outlook VBO exposed multiple actions (i.e. Basic, Advanced, and Expert) for retrieving emails from the Inbox or Sent Items folders. The new VBO simplifies and consolidates these multiple actions into a single action that support OData $search and $filter options. Refer to the documentation for links to further Microsoft information about using these properties.
    • Microsoft limits the size of attachments when sending emails via the Graph API. Their documentation is a little confusing on what the actual max size is. The Graph API documentation implies that singular file attachments can be up to 150MB each, but Exchange Online limits the overall size of a Message (i.e. headers, body, attachments, etc all together) to no more that 150MB. In our testing, the latter appears to be the actual case. 

    You can find the new connector at the following link:

    Microsoft Office 365 - Outlook

    #BPTechTips #DigitalExchange #Outlook

    Cheers,
     ​​​

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------


  • 2.  RE: New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-21-2022 07:09
    Dear Eric,
    I am using this VBO to send email. Even my access token is valid, it throws exception as "Access token is empty". The same code works well using "Microsoft Graph - Outlook". Can you please help?

    ------------------------------
    Halid Mohamed Niyaz Abdul
    ------------------------------



  • 3.  RE: New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-21-2022 14:16
    Hello @Halid Mohamed Niyaz Abdul,

    When you use the Microsoft 365 - Outlook VBO are you calling the Authenticate action before any other actions? Similar to what I've shown below:


    Cheers,


    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



  • 4.  RE: New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-21-2022 15:19

    Hi Eric, yes I did the same. I feel the access token is not passed while invoking the sendMail action. 

    Because all other stages passed inside SendMail action also access token is not expired. 



    ------------------------------
    Halid Mohamed Niyaz Abdul
    ------------------------------



  • 5.  RE: New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-21-2022 16:03
    What version of the Utility - HTTP VBO are you using? If you look at the Post JSON action, do you see inputs titled Use Bearer Token and Bearer Token?

    Cheers,

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



  • 6.  RE: New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-26-2022 08:10
    Hi Eric, It works after updating the Utility - HTTP VBO. Somehow I missed to update the dependencies.
    Thanks for your support.

    ------------------------------
    Halid Mohamed Niyaz Abdul
    ------------------------------



  • 7.  RE: New Connector for Microsoft Office 365 - Outlook Released!

    Posted 10-31-2022 13:55
    Hi @Eric Wilson

    After installing and setting up the Azure authentication correctly - I am loving this vbo

    However having a little issue with the Move Mail action, when I try to run with all the config set up correctly eg folder id's and message id I get a fail message:

    The original message has this flagged as false not null:

    Although the action has failed effectively and I don't get any info about the success of the move nor a response message - the message does get moved into the desired destination folder. I can probably use an exception handler to pick up and resume the action, but this doesn't feel right?

    Using Blue Prism v6.10.1, downloaded all the suggested supporting vbo's from the DX as far as I know.

    Regards
    Kirk



    ------------------------------
    Kirk Russell Senior Robotics Developer
    NHS Dorset
    NHS Dorset
    ------------------------------

    </