Home

get channel email address

%3CLINGO-SUB%20id%3D%22lingo-sub-270095%22%20slang%3D%22en-US%22%3Eget%20channel%20email%20address%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270095%22%20slang%3D%22en-US%22%3E%3CP%3Ewe%20need%20to%26nbsp%3Bimplement%20a%20flow%20rule%20to%20forward%20email%20message%20with%20tags%20to%20the%20correct%26nbsp%3Bchannel%20email%20address%20of%20MS%20Teams%3C%2FP%3E%3CP%3Eexample%3A%3C%2FP%3E%3CP%3E-%20create%20MS%20Team%20C12345%3C%2FP%3E%3CP%3E-%20(CHANNEL%20EMAIL%20ADDRESS)%3C%2FP%3E%3CP%3EGeneral%20-%20C12345%20%26lt%3B55d38fb6.bedeschigroup.onmicrosoft.com%40emea.teams.ms%26gt%3B%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20flow%20rule%20works%20in%20this%20way%3A%3C%2FP%3E%3CP%3Eme%40domain.com%20--%26gt%3B%20you%40domain.com%20subject%3A%20%23%23C12345%20or%20body%3A%26nbsp%3B%3CSPAN%3E%23%23C12345%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eflow%20detect%26nbsp%3B%23%23C12345%20and%20forward%20to%26nbsp%3B55d38fb6.bedeschigroup.onmicrosoft.com%40emea.teams.ms%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Ethe%20major%20issue%20encountered%20is%20to%20query%20and%20obtain%20the%20email%20address%20from%20the%20MS%20Teams%20name%20%22General%20-%20C12345%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ethank%20you%20in%20advance%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-270095%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270336%22%20slang%3D%22en-US%22%3ERe%3A%20get%20channel%20email%20address%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270336%22%20slang%3D%22en-US%22%3EYou-re%20right!%20could%20you%20write%20your%20test%20with%20graph%3F%20thank%20you%20for%20the%20workaround%20of%20the%20contacts%20%3B)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270168%22%20slang%3D%22en-US%22%3ERe%3A%20get%20channel%20email%20address%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270168%22%20slang%3D%22en-US%22%3EI'm%20not%20seeing%20anything%20returning%20via%20Graph%2C%20so%20not%20sure%20you%20can%20get%20this%20automatically%20yet.%20If%20you%20could%20setup%20contacts%20for%20the%20channels%20ahead%20of%20time%20you%20could%20just%20use%20those%20in%20your%20logic%2C%20but%20sometimes%20tells%20me%20this%20is%20something%20your%20trying%20to%20automate%20where%20the%20channels%20can%20be%20added%20%2F%20removed%20as%20time%20goes%3F%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

we need to implement a flow rule to forward email message with tags to the correct channel email address of MS Teams

example:

- create MS Team C12345

- (CHANNEL EMAIL ADDRESS)

General - C12345 <55d38fb6.bedeschigroup.onmicrosoft.com@emea.teams.ms> 

the flow rule works in this way:

me@domain.com --> you@domain.com subject: ##C12345 or body: ##C12345

flow detect ##C12345 and forward to 55d38fb6.bedeschigroup.onmicrosoft.com@emea.teams.ms

 

the major issue encountered is to query and obtain the email address from the MS Teams name "General - C12345"

thank you in advance

2 Replies
Highlighted
I'm not seeing anything returning via Graph, so not sure you can get this automatically yet. If you could setup contacts for the channels ahead of time you could just use those in your logic, but sometimes tells me this is something your trying to automate where the channels can be added / removed as time goes?
Highlighted
You-re right! could you write your test with graph? thank you for the workaround of the contacts ;)