Digital Exchange

 View Only
last person joined: 2 days ago 

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

  • 1.  Issues Implementing Microsoft Graph API for Outlook - Token Errors

    Posted 03-16-2021 20:39
    We are attempting to implement the Microsoft Graph API for accessing an outlook mailbox.  I am very new to Azure, so I don't know much about configuration in that tool, so I believe I need help configuring my setup in Azure to support calls to the API.  Currently I am attempting to just use the List Messages action, and am getting the following error message:

    Internal : Unexpected error Error during Web API HTTP Request
    HTTP Status Code: 401
    HTTP Response Content: {"error":{"code":"NoPermissionsInAccessToken","message":"The token contains no permissions, or permissions can not be understood.",

    Thanks for any help

    ------------------------------
    Kevin Babb
    ------------------------------


  • 2.  RE: Issues Implementing Microsoft Graph API for Outlook - Token Errors

    Posted 03-17-2021 03:35
    Hi Kevin,

    From the error message it looks like the the Azure app has no permission to access the mailbox. Under the azure app that you would have created, there is a section for API permissions where you can Add permissions.


    Look for application permissions and select the relevant permissions required based on the method that you are going to use. Example - For List messages , refer https://docs.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0&tabs=http  for the permissions required and add it for your app accordingly.

    ------------------------------
    Shashank Kumar
    DX Integrations Partner Consultant
    Blue Prism
    Singapore
    +6581326707
    ------------------------------



  • 3.  RE: Issues Implementing Microsoft Graph API for Outlook - Token Errors

    Posted 03-17-2021 13:09
    Thank you for that feedback.  Attached is a screenshot of my API permissions (there may be some I don't need, I'm mostly just throwing things at the wall to see what works).

    Picture of API Permissions Screen in Microsoft Azure


    ------------------------------
    Kevin Babb
    ------------------------------



  • 4.  RE: Issues Implementing Microsoft Graph API for Outlook - Token Errors

    Posted 05-26-2021 15:50
    We ended up resolving the issue by using Application Permissions rather than Delegated Permissions for anyone who is having the same problems

    ------------------------------
    Kevin Babb
    ------------------------------



Welcome to the Blue Prism Digital Exchange Community!

The Blue Prism Digital Exchange is a "shop window" for new and emerging technologies—a platform that puts powerful RPA and AI capabilities into the hands of business leaders. Users can find and apply pre-built AI capabilities, in the form of downloadable integrations and Visual Business Objects (VBOs), to automated processes. These assets connect and integrate Digital Workers, existing systems and processes to Blue Prism's technology partners, creating a solid foundation of AI-enabled Intelligent Automation that's scalable and sustainable.

Blue Prism Digital ExchangeDX Asset IdeasContact DX Support

FAQs

The Blue Prism Digital Exchange (DX) is an online marketplace where businesses can instantly access, apply and share pre-built AI, cognitive and advanced RPA technologies from best-in-class providers. These assets easily connect to existing digital workers, systems and processes to enhance automation capabilities.
The Digital Exchange is free to all users. Most of the content on the DX is free to download but there are some submissions that do have a cost associated. The submissions with a cost are advertised on the asset card and profile. No unwanted costs will be applied to any users.
You can visit and browse the Digital Exchange here. If you would like to consume or download any material it is necessary to create an account on the Blue Prism Portal first.
Everyone can access the Digital Exchange and consume the assets on it. If you would like to contribute to the marketplace it is necessary that you create an account and sign up as a partner.