Create Channels in MS teams working with v1 Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-1725350%22%20slang%3D%22en-US%22%3ECreate%20Channels%20in%20MS%20teams%20working%20with%20v1%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1725350%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20use%20Graph%20Api%20to%20create%20channels%20in%20microsoft%20teams.%20From%20the%20documentation%20I%20understand%20that%20the%20create%20channels%20works%20for%20public%20channels%20with%20v1%20API%20but%20for%20private%20channels%2C%20we%20need%20to%20use%20the%20beta%20API.%20We%20have%20the%20api%20at%20both%20the%20places%20in%20the%20documentation%3A%3CBR%20%2F%3Ev1%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3Ebeta%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-post%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3EIn%20v1%20the%20examples%20are%20only%20for%20the%20public%20channel%20but%20in%20beta%20we%20have%20both%20private%20and%20public%20channels.%20However%20the%20v1%20api%20for%20private%20channels%20is%20also%20working%20fine.%3C%2FP%3E%3CP%3ESo%20have%20the%20private%20channels%20been%20moved%20to%20v1%20api%20as%20well.%20Is%20there%20some%20updated%20documentation%20for%20this%3F%20Any%20help%20is%20appreciated%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1725581%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20Channels%20in%20MS%20teams%20working%20with%20v1%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1725581%22%20slang%3D%22en-US%22%3EMicrosoft%20Teams%20community%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams%2Fct-p%2FMicrosoftTeams%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams%2Fct-p%2FMicrosoftTeams%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I am trying to use Graph Api to create channels in microsoft teams. From the documentation I understand that the create channels works for public channels with v1 API but for private channels, we need to use the beta API. We have the api at both the places in the documentation:
v1: https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0&tabs=http

beta: https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-beta&tabs=http

In v1 the examples are only for the public channel but in beta we have both private and public channels. However the v1 api for private channels is also working fine.

So have the private channels been moved to v1 api as well. Is there some updated documentation for this? Any help is appreciated

1 Reply
Highlighted