Add channel email to Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-390020%22%20slang%3D%22en-US%22%3EAdd%20channel%20email%20to%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-390020%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ewe%20know%20you%20can%20fetch%20the%20email%20address%20from%20a%20Teams%20channel%20through%20the%20three%20dots%20in%20Teams.%3C%2FP%3E%3CP%3EWould%20it%20be%20possible%20to%20add%20this%20information%20in%20the%20PowerApps%20function%26nbsp%3BMicrosoftTeams.GetChannelsForGroup%20or%20in%20Graph%3F%3C%2FP%3E%3CP%3EWe%20have%20a%20lot%20of%20channels%20and%20they%20are%20created%20daily.%20It%20would%20be%20great%20if%20grabbing%20the%20email%20address%20can%20be%20automated.%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-390020%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-391697%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20channel%20email%20to%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-391697%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F309753%22%20target%3D%22_blank%22%3E%40ArnoHendrikx1803%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20should%20be%20available%20via%20the%20Graph%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EChannel%20Properties%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Fapi%2Fresources%2Fchannel%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Fapi%2Fresources%2Fchannel%3Fview%3Dgraph-rest-beta%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EList%20Channels%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Fapi%2Fchannel-list%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Fapi%2Fchannel-list%3Fview%3Dgraph-rest-beta%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EGet%20Channel%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Fapi%2Fchannel-get%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Fapi%2Fchannel-get%3Fview%3Dgraph-rest-beta%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20about%20halfway%20down%20in%20the%20first%20article%2C%20Property%20%3D%20Email.%20As%20it%20shows%20in%20Get%20Channel%20article%20all%20properties%2C%20including%20the%20email%20should%20be%20returned%20in%20the%20call.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20answers%20your%20question%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%2C%20Chris%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-722871%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20channel%20email%20to%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-722871%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20Flow%2FGraph%20API%20to%20create%20my%20Teams%2C%20I%20can%20get%20the%20group%20email%20address%20but%20not%20the%20Channel%20email%20address%2C%20it%20is%20empty.%20Sending%20emails%20to%20group%20email%20address%20does%20not%20show%20up%20in%20Teams%20as%20it%20is%20part%20of%20the%20distribution%20list.%20Hence%20I%20would%20like%20to%20retrieve%20General%20Channel%20email%20address%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2FXXX%2Fchannels%2F19%3A6a89b5246XXXXXXXX%40thread.skype%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2FXXX%2Fchannels%2F19%3A6a89b5246XXXXXXXX%40thread.skype%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F120774i59FB632AC8E4C219%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1744448%22%20slang%3D%22de-DE%22%3ERe%3A%20Add%20channel%20email%20to%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1744448%22%20slang%3D%22de-DE%22%3E%3CP%3ESorry%20for%20digging%20up%20this%20old%20topic%2C%20but%20unfortunately%20it%20is%20still%20recent%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F367352%22%20target%3D%22_blank%22%3E%40ksivanandan%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20update%20on%20that%20matter%3F%20I%20found%20out%20that%20the%20channel's%20email%20address%20is%20only%20generated%20when%20it%20is%20retrieved%20via%20teams.%20Only%20then%20it%20can%20be%20pulled%20via%20Graph.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anybody%20know%20how%20to%20automatically%20generate%20channel%20email%20addresses%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi,

we know you can fetch the email address from a Teams channel through the three dots in Teams.

Would it be possible to add this information in the PowerApps function MicrosoftTeams.GetChannelsForGroup or in Graph?

We have a lot of channels and they are created daily. It would be great if grabbing the email address can be automated.

Thanks!

3 Replies
Highlighted

@ArnoHendrikx1803 

 

It should be available via the Graph

 

Channel Properties

https://docs.microsoft.com/en-gb/graph/api/resources/channel?view=graph-rest-beta

List Channels

https://docs.microsoft.com/en-gb/graph/api/channel-list?view=graph-rest-beta

Get Channel

https://docs.microsoft.com/en-gb/graph/api/channel-get?view=graph-rest-beta

 

See about halfway down in the first article, Property = Email. As it shows in Get Channel article all properties, including the email should be returned in the call.

 

Hope that answers your question

 

Best, Chris

@Christopher Hoard 

I am using Flow/Graph API to create my Teams, I can get the group email address but not the Channel email address, it is empty. Sending emails to group email address does not show up in Teams as it is part of the distribution list. Hence I would like to retrieve General Channel email address

https://graph.microsoft.com/v1.0/teams/XXX/channels/19:6a89b5246XXXXXXXX@thread.skype

 

Capture.PNG

Highlighted

Sorry for digging up this old topic, but unfortunately it is still recent

 

@ksivanandan @Christopher Hoard 

Is there any update on that matter? I found out that the channel's email address is only generated when it is retrieved via Teams. Only then it can be pulled via Graph.

 

Does anybody know how to automatically generate channel email addresses?