cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft Graph for Teams integration now available on the DX

ewilson
Staff
Staff
Announcement from:03-26-2021

I'm pleased to announce there is now an integration available on the Digital Exchange for Microsoft Teams. The new integration leverages the Microsoft Graph API for Teams to provide access to a subset of the available functionality.


You can find the new integration here.

Cheers,

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

Neel1
MVP

Hey @ewilson  Thanks for moving the announcement, The notification remind me of asking for solution for my issue which i was facing while integrating Teams Graph API this week. Below are steps i have done.

1. Created APP in Entra ID and have chat.Read write, ChatMessage.Send, user.read and chat.create permission approved as delegated Type.

2. I am using below action of Authentication VBO to get access token. Not passing client secret as this is not required for getting a delegated token.

Neel1_0-1765365292231.png

3. i am getting the error that User does not exist in Tenant but when i look up my user in Azure i can see my user name and User Principal Name.

and MFA is not enabled as well. What else i am missing here.

 

naveed_raza
Level 8

@Neel1 - able to call using postman application ? i always try first in postman to see if everything is working fine or not 

Hi @Neel1 - Apologies for the delay. The client ID is a required input even for a delegated access token as it indicates the specific application definition you're trying to authenticate against. You can see an example in Microsoft's documentation here:

https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http 

Cheers,
Eric

@ewilson  - Thanks for your reply. i mentioned for client secret not for client ID.

also,Below are the some of input and error i am getting from Blue Prism and from BRUNO.

  1. Input passed are – Client ID, Client secret, username as User ID , Tenant ID and Network Password.             Error is :- {"error":"invalid_grant","error_description":"AADSTS50034: The user account  does not exist in the "Tenant ID " directory. To sign into this application, the account must be added to the directory. "error_uri":https://login.microsoftonline.com/error?code=50034}
  2. Input passed as – Client ID, Client secret, username as my mail ID, Tenant ID and Network Password. Error coming as  {"error":"invalid_grant","error_description":"AADSTS50126: Error validating credentials due to invalid username or password. ,"error_uri":https://login.microsoftonline.com/error?code=50126}
  3. Input passed as – Client ID, Username as mail ID, Tenant ID and Network Password. Error coming as {"error":"invalid_grant","error_description":"AADSTS50126: Error validating credentials due to invalid username or password. "error_uri":https://login.microsoftonline.com/error?code=50126}