Digital Exchange

 View Only
last person joined: yesterday 

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

  • 1.  Microsoft Graph - unable to get token

    Posted 10-01-2022 04:17
      |   view attached

    Hi team,

    anyone have the step by step guide on setup the graph and connect with BP? 

    I try to do so, but my token seem not valid, wondering is that some authority missing in Graph setup.

    When I called the Graph object, getting return of 400 bad request. ( as attached), anyone can share the thought on this?
     



    ------------------------------
    Chee Yew Thing
    ------------------------------


  • 2.  RE: Microsoft Graph - unable to get token

    Posted 10-03-2022 13:56
    Hello @Chee Yew Thing,

    We've just posted a new connector for Outlook which uses the Graph API. The user guide includes step-by-step instructions for defining your App Registration on Azure and creating a Client ID/Client Secret for an Application Access token.

    If you require a Delegated Access token, the steps are slightly different in that your administrator must grant delegated access, for the specific Graph APIs, upfront. Otherwise, Microsoft expects that you're "user" (the Digital Worker) will follow a User Auth flow requiring interacting with a human user. We don't support that.

    The new connector asset page is here.

    Cheers,


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



  • 3.  RE: Microsoft Graph - unable to get token

    Posted 10-03-2022 14:05
    Thanks Eric, I will look into it tomorrow.

    ------------------------------
    Chee Yew Thing
    ------------------------------



  • 4.  RE: Microsoft Graph - unable to get token

    Posted 10-03-2022 14:55
    Hi Eric,

    quick query: so the Mail Send and Mail.ReadWrite in step 17 must use "Application Permission" , and not "Delegate"?

    Thanks,
    Thing

    ------------------------------
    Chee Yew Thing
    ------------------------------



  • 5.  RE: Microsoft Graph - unable to get token

    Posted 10-03-2022 15:48
    Hi @Chee Yew Thing,

    Application Access is not required, but it is recommended as it's easier to configure and it provides greater flexibility to your Digital Workers to work across mailboxes. If your security policies require the use of Delegated Access, you can do that too. However, with Delegated Access, your administrator must grant the delegated access on the credential up-front when they configure the credentials. The reason for this is that the typical authorization flow for Delegated Access is that a human user would be prompted to login to a site where they would approve the applications access to their account. Our connector does not support that model as there's rarely a human user sitting around for this. Does that make sense?

    Cheers,

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



  • 6.  RE: Microsoft Graph - unable to get token

    Posted 10-04-2022 08:37
    Thanks Eric, I have submitted the request internally to approve the consent. Meanwhile, will continue explore and try on the VBO given. 
    I shall share the status once tested.

    ------------------------------
    Chee Yew Thing
    ------------------------------



  • 7.  RE: Microsoft Graph - unable to get token

    Posted 10-27-2022 00:40
    Hi @Eric Wilson, thank you, tested all good now with Application Access. We will continue the scope to SharePoint Integrations
    Thanks for your support.


    ------------------------------
    Chee Yew Thing
    ------------------------------



  • 8.  RE: Microsoft Graph - unable to get token

    Posted 12-22-2022 00:45
    Hi @Chew Yew Thing,

    We ran into the same issue in our organisation with trying to get a delegated access token. It turns out the account we were getting the token on behalf of had an ampersand character (&) in the password which was messing with the syntax of the HTTP request.

    Once the password was updated, we stopped getting the 400 error.

    Something to be mindful of :)

    ------------------------------
    Tom White
    Automation Analyst
    Department of Industry, Science, Energy and Resources
    Australia/Canberra
    ------------------------------



  • 9.  RE: Microsoft Graph - unable to get token

    Posted 12-27-2022 02:10
    Thanks for the tips, will take note on this.

    ------------------------------
    Chee Yew Thing
    ------------------------------



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.