SOLVED
Home

Flow "Send As" for sending to MS Teams channel?

%3CLINGO-SUB%20id%3D%22lingo-sub-262451%22%20slang%3D%22en-US%22%3EFlow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262451%22%20slang%3D%22en-US%22%3E%3CP%3ESending%20a%20message%20from%20a%20work%20flow%20to%20a%20Team%20channel%20works%20great%2C%20but%20it%20is%20there%20any%20way%20to%20have%20the%20from%20appear%20to%20be%20a%20different%20user%3F%20or%20from%20a%20flow%20bot%3F%26nbsp%3B%20%26nbsp%3BI%20have%20notices%20that%20get%20sent%20into%20a%20Team%20channel%20each%20time%20a%20new%20item%20is%20added%20to%20a%20certain%20custom%20list%20in%20SharePoint.%26nbsp%3B%20I%20would%20prefer%20that%20in%20the%20Teams%20channel%20the%20message%20did%20not%20appear%20to%20be%20from%20me.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20using%20a%20flow%20to%20send%20an%20email%2C%20we%20have%20a%20Send%20as%2FSend%20on%20Behalf%20option.%26nbsp%3B%20It%20would%20be%20great%20to%20have%20something%20similar%20for%20sending%20to%20a%20Team%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-262451%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-263050%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-263050%22%20slang%3D%22en-US%22%3ESo%20think%20of%20the%20webhook%20as%20just%20a%20message%20provider.%20It%20doesn%E2%80%99t%20require%20authentication.%20So%20you%20define%20that%20as%20the%20connector%20on%20a%20channel%20with%20the%20name%20etc.%20and%20then%20you%20just%20send%20your%20Json%20over%20from%20your%20flow%20itself.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-263001%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-263001%22%20slang%3D%22en-US%22%3EThis%20is%20a%20great%20option.%20The%20article%20mentions%3A%20%22It%20uses%20a%20%22service%20account%22%2C%20instead%20of%20the%20name%20of%20the%20person%20who%20created%20the%20Flow.%22%3CBR%20%2F%3E%3CBR%20%2F%3EDoes%20that%20mean%20I%20need%20to%20create%20a%20new%20user%20in%20Azure%20AD%20for%20the%20service%20account%3F%20I%20am%20hoping%20to%20avoid%20eating%20a%20user%20account%20license.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262988%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262988%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20an%20interesting%20suggestion.%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20I%20have%20multiple%20connections%20with%20Flow%3F%26nbsp%3B%20or%2C%20can%20one%20of%20my%20Flows%20use%20a%20specific%20connection%2Fuser%3F%26nbsp%3B%20and%20my%20other%20Flows%20continue%20to%20use%20my%20account%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20not%20an%20admin%2C%20so%20I%20would%20need%20to%20convince%20my%20IT%20team%20to%20create%20a%20service%20account%20user%20with%20all%20the%20rights%20and%20perms%20needed%20for%20what%20my%20flow%20needs%20to%20touch.%26nbsp%3B%20Would%20this%20also%20eat%20a%20use%20license%20for%20O365%3F%26nbsp%3B%20If%20so%20it%20makes%20justification%20harder%20if%20there%20is%20additional%20costs.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262696%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262696%22%20slang%3D%22en-US%22%3EI%20suggest%20using%20an%20incoming%20webhook.%20This%20way%20you%20can%20customize%20what%20it%E2%80%99s%20from%20and%20you%20also%20will%20get%20proper%20notifications.%3CBR%20%2F%3E%3CBR%20%2F%3EHere%20is%20a%20brief%20article%20about%20the%20differences%20but%20search%20around%20for%20creating%20them%2C%20should%20net%20you%20what%20you%20need.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community-Blog%2FPosting-to-Teams-with-Flow-Incoming-Webhook-verses-Teams-Post%2Fba-p%2F97095%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community-Blog%2FPosting-to-Teams-with-Flow-Incoming-Webhook-verses-Teams-Post%2Fba-p%2F97095%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262546%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262546%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20could%20also%20use%20a%20different%20user%20in%20the%20Connection%20in%20Flow%2C%20so%20that%20it%20appears%20as%20a%20service%20account%20for%20example.%20This%20way%20it%20won't%20show%20as%20you%20being%20the%20poster.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262530%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20%22Send%20As%22%20for%20sending%20to%20MS%20Teams%20channel%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262530%22%20slang%3D%22en-US%22%3EMmm...I%20guess%20this%20is%20something%20you%20will%20have%20to%20make%20by%20yourself%20by%20using%20the%20Graph%20and%20Teams%20APIs%20in%20your%20Flow%3C%2FLINGO-BODY%3E
Highlighted
Christopher J. Crocker
Contributor

Sending a message from a work flow to a Team channel works great, but it is there any way to have the from appear to be a different user? or from a flow bot?   I have notices that get sent into a Team channel each time a new item is added to a certain custom list in SharePoint.  I would prefer that in the Teams channel the message did not appear to be from me.  

When using a flow to send an email, we have a Send as/Send on Behalf option.  It would be great to have something similar for sending to a Team channel.

 

6 Replies
Mmm...I guess this is something you will have to make by yourself by using the Graph and Teams APIs in your Flow

You could also use a different user in the Connection in Flow, so that it appears as a service account for example. This way it won't show as you being the poster.

Solution
I suggest using an incoming webhook. This way you can customize what it’s from and you also will get proper notifications.

Here is a brief article about the differences but search around for creating them, should net you what you need.

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/Posting-to-Teams-with-Flow-Incomin...

This is an interesting suggestion.

Can I have multiple connections with Flow?  or, can one of my Flows use a specific connection/user?  and my other Flows continue to use my account?

I am not an admin, so I would need to convince my IT team to create a service account user with all the rights and perms needed for what my flow needs to touch.  Would this also eat a use license for O365?  If so it makes justification harder if there is additional costs.

This is a great option. The article mentions: "It uses a "service account", instead of the name of the person who created the Flow."

Does that mean I need to create a new user in Azure AD for the service account? I am hoping to avoid eating a user account license.
So think of the webhook as just a message provider. It doesn’t require authentication. So you define that as the connector on a channel with the name etc. and then you just send your Json over from your flow itself.



Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies