How to notify Teams from external app?

%3CLINGO-SUB%20id%3D%22lingo-sub-1491267%22%20slang%3D%22ja-JP%22%3EHow%20to%20Notify%20Teams%20from%20External%20app%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1491267%22%20slang%3D%22ja-JP%22%3E%3CP%3EThe%20Following%20Flow%20Is%20Currently%20Being%20Implemented.%3C%2FP%3E%3CP%3E1.%20OAuth%20(Microsoft%20Graph%20API)%3C%2FP%3E%3CP%3E2.%26nbsp%3B%3CSPAN%3E%2Fteams%2F%7Bid%7D%2Fchannels%2F%7Bid%7D%2Fmessages%3C%2FSPAN%3E%20(Microsoft%20Graph%20API)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20Teams%20Will%20Be%20Notified%20of%20the%20Authenticated%20User%20as%20the%20Sender.%3C%2FP%3E%3CP%3EIf%20I%20Want%20the%20Sender%20to%20Be%20Another%20User%20or%20a%20Bot%2C%20Do%20I%20Have%20to%20Create%20a%20Bot%20or%20Authenticate%20as%20an%20admin%20user%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1491267%22%20slang%3D%22ja-JP%22%3E%3CLINGO-LABEL%3EBest%20Practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

The following flow is currently being implemented.

1. OAuth  (Microsoft Graph API)

2. /teams/{id}/channels/{id}/messages  (Microsoft Graph API)

 

However, Teams will be notified of the authenticated user as the sender.

If I want the sender to be another user or a bot, do I have to create a bot or authenticate as an admin user?

0 Replies