Has anyone Integrated Microsoft Teams with Graph API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-07-23 07:36 PM
Hi Team,
I have a scenario where BP BOT needs receive the Input and send the Output back to a particular teams channel.
So the BOT requires to send messages and read messages from a particular channel.
We are thinking to leverage Microsoft Graph APIs for the same.
Has anyone already done this integration already?
I am thinking of using Application Access for API permissions, but I can't see any mechanism to send messages to a particular channel for the same.
We can use Delegated access but unfortunately out system will need us to do MFAs to provide consent for the same.
So if anyone can provide some insights as to how we can Integrate MS Teams with Graph APIs for application access permissions, to send and receive messages to a channel would be rally helpful.
------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-07-23 02:46 AM
Are you using the Microsoft Graph API connector for Teams from the Digital Exchange? I think the connector has methods to get a list of Teams channels, and get the channel ID from there.
We're currently attempting this, but waiting on Application security from our admins.
------------------------------
Brian Clayton
Applications Consultant
The Auto Club Group
America/Dearborn MI
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-07-23 02:31 PM
In my experience, Graph requires that you use Delegated access tokens if you want to send messages via Teams. That's the way we have the Teams connector on the DX working.
For MFA, there is also a connector (actually two) for dealing with 2FA with TOTP and HOTP algorithms.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-07-23 08:45 AM
Hi Manish,
As per the Graph API documentation, looks like we can use only the delegated permission to post a message in the channel.
Send chatMessage in a channel or a chat - Microsoft Graph v1.0 | Microsoft Learn
------------------------------
Athiban Mahamathi - https://www.linkedin.com/in/athiban-mahamathi-544a008b/
Technical Consultant,
SimplifyNext,
Singapore
------------------------------
