SOLVED

Post message to new channel - ChannelID does not exist

%3CLINGO-SUB%20id%3D%22lingo-sub-142718%22%20slang%3D%22en-US%22%3EPost%20message%20to%20new%20channel%20-%20ChannelID%20does%20not%20exist%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142718%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20a%20requirement%20to%20create%20a%20channel%20at%20runtime%20dynamically%20and%20then%20once%20it%20is%20successful%2C%20post%20a%20message%20to%20the%20newly%20created%20channel%20using%20the%20Flow.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20added%20two%20steps%20to%20handle%20this%20scenario%20and%26nbsp%3Bin%20second%20step%20i%26nbsp%3Bconfigured%20it%20to%20be%20executed%20after%20the%20success%20of%20channel%20creation%20%26amp%3B%20also%20set%20it%20to%20be%20synchronous%20operation.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStill%2C%20i%20get%20the%20below%20error%20-%20Can%20anyone%20suggest%20the%20possible%20solution%20for%20this%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3E%7B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23a31515%3B%22%3E%22error%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23a31515%3B%22%3E%22code%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230451a5%3B%22%3E%22InvalidRequest%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23a31515%3B%22%3E%22message%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230451a5%3B%22%3E%22channelId%26nbsp%3Bneeds%26nbsp%3Bto%26nbsp%3Bbe%26nbsp%3Ba%26nbsp%3Bvalid%26nbsp%3BGUID.%5Cr%5CnParameter%26nbsp%3Bname%3A%26nbsp%3BchannelId%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23a31515%3B%22%3E%22innerError%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23a31515%3B%22%3E%22request-id%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230451a5%3B%22%3E%220831b19e-99d0-4102-835d-f0b186ec62d3%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23a31515%3B%22%3E%22date%22%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230451a5%3B%22%3E%222018-01-08T18%3A46%3A17%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3E%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3E%7D%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%209.75pt%3B%20color%3A%20black%3B%22%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-142718%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142885%22%20slang%3D%22en-US%22%3ERe%3A%20Post%20message%20to%20new%20channel%20-%20ChannelID%20does%20not%20exist%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142885%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20able%20to%20take%20the%20ID%20of%20newly%20created%20channel.%20Thanks%20a%20lot%20for%20your%20suggestion.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%0A%3CP%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142881%22%20slang%3D%22en-US%22%3ERe%3A%20Post%20message%20to%20new%20channel%20-%20ChannelID%20does%20not%20exist%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142881%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Jeffrey%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20the%20quick%20reply.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMay%20i%20know%20how%20the%20Id%20of%20the%20new%20channel%20is%20being%20captured%20and%20used%20in%20the%20second%20step.%20I%20am%20taking%20the%20name%20of%20the%20channel%20from%20PowerApp%20form%20as%20shown%20below%20(attached)%20-%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%0A%3CP%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142868%22%20slang%3D%22en-US%22%3ERe%3A%20Post%20message%20to%20new%20channel%20-%20ChannelID%20does%20not%20exist%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142868%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20test%20Flow%20to%20try%20this%20out%20and%20it%20worked%20fine%20for%20me.%20My%20Flow%20created%20a%20channel%20called%20%22TestJeff%22%20and%20then%20posted%20the%20msg%20%22Test%20Channel%20Creation%22%20in%20the%20newly%20created%20%22TestJeff%22%20channel.%20Here%20is%20how%20my%20Flow%20was%20set-up.%20I%20hope%20this%20helps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20628px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26551iF3E60C2D8587B2DF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Flow-Teams-Test.png%22%20title%3D%22Flow-Teams-Test.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

Hello Everyone,

 

I have a requirement to create a channel at runtime dynamically and then once it is successful, post a message to the newly created channel using the Flow.

 

I have added two steps to handle this scenario and in second step i configured it to be executed after the success of channel creation & also set it to be synchronous operation.

 

Still, i get the below error - Can anyone suggest the possible solution for this issue.

 

{

  "error": {

    "code""InvalidRequest",

    "message""channelId needs to be a valid GUID.\r\nParameter name: channelId",

    "innerError": {

      "request-id""0831b19e-99d0-4102-835d-f0b186ec62d3",

      "date""2018-01-08T18:46:17"

    }

  }

}

 

 

Thanks & Regards,

Bhanu

3 Replies
best response confirmed by bhanu chintha (Regular Contributor)
Solution

I created test Flow to try this out and it worked fine for me. My Flow created a channel called "TestJeff" and then posted the msg "Test Channel Creation" in the newly created "TestJeff" channel. Here is how my Flow was set-up. I hope this helps.

 

Flow-Teams-Test.png

Hello Jeffrey,

 

Thanks for the quick reply.

 

May i know how the Id of the new channel is being captured and used in the second step. I am taking the name of the channel from PowerApp form as shown below (attached) - 

 

 

 

 

Thanks & Regards,

Bhanu

I am able to take the ID of newly created channel. Thanks a lot for your suggestion.

 

 

Thanks & Regards,

Bhanu