PowerPlatformConnectors icon indicating copy to clipboard operation
PowerPlatformConnectors copied to clipboard

[BUG] 403 response using 'Update an adaptive card in a chat or channel'

Open Narizz28 opened this issue 2 years ago • 16 comments

Type of Connector

Certified Connector

Name of Connector

Update an adaptive card in a chat or channel

Describe the bug

Always get the error: The ID of the user attempting to edit the message, ID:<my_user_id_here> does not match the actual user ID of the original sender, ID:

There is nothing after the Second ID in the error, like it doesn't know what the FlowBot ID from the original Card post is.

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 1 - Connector is broken or there's a very serious issue

To Reproduce

Add Post_adaptive_card_and_wait_for_a_response to flow Add Update_an_adaptive_card_in_a_chat_or_channel to flow. Use Post card message ID in the Update action Match all other setting from Post action, changing the contents of the adaptive card in the Update. image

My result is always:
The ID of the user attempting to edit the message, ID:<my_user_id_here> does not match the actual user ID of the original sender, ID:

Expected behavior

New Adaptive card to take the place of the Update Message from the Post action

Environment summary

make.powerautomate.com editor via Chrome/Edge Power Automate App in MS Teams on Windows 10.

Additional context

2 other reporters in Community Forums: https://powerusers.microsoft.com/t5/Building-Flows/Update-an-Adaptive-card-in-a-chat-or-channel-works-only/m-p/1695210#M187923

Narizz28 avatar Aug 14 '22 15:08 Narizz28

Seems to actually be a bug in the "Post adaptive card and wait for a response" action not setting the sending user ID.

Narizz28 avatar Aug 22 '22 18:08 Narizz28

The same scenario and the same error on my end: "update adaptive card The ID xxxxxxxxxxxxxxx of the user attempting to edit the message, ID does not match the actual user ID of the original sender". The only difference is that I'm using Logic Apps not Power Automate. But I tested it using PA also and the result was exactly the same.

It's causing real issues with our business processes so I hope MS will fix it very soon...

truespinmice avatar Sep 11 '22 07:09 truespinmice

Got an update from Microsoft: It's a known issue at MS side as well and our senior team is working on it. Last update on internal ticket with engineering team states changes may take 3-4weeks time. Updated on - 2022-09-07 00:34:30 IST

So hopefully in the next 3-4 weeks it will be fixed. Will keep you posted.

truespinmice avatar Sep 15 '22 12:09 truespinmice

I just tested this and it's working as expected now!

waterskijubilant avatar Sep 19 '22 16:09 waterskijubilant

@waterskijubilant What exact actions did you test? I just tried again and I'm still getting the same error. "Post_adaptive_card_and_wait_for_a_response" -> Submit Button (Action.Submit) pressed -> "Update_an_adaptive_card_in_a_chat_or_channel" is what I'm testing. The "Update an adaptive card..." is the action that fails with the 403 "The ID of the user attempting to edit the message, ID:<my_user_id_here> does not match the actual user ID of the original sender, ID:"

Narizz28 avatar Sep 19 '22 18:09 Narizz28

@Narizz28 I used the "Post adaptive card and wait for a response" action then the "Update an adaptive card in a chat or channel" action to update the card.

I was trying to do this Friday and I was getting the same error as you, but I tried it again today and it's working now.

Here is a screenshot of what I have set up.

Screenshot 2022-09-19 150527

waterskijubilant avatar Sep 19 '22 19:09 waterskijubilant

I too just got it to work, but I had to create new flow.

Narizz28 avatar Sep 19 '22 20:09 Narizz28

Just adding some info. Using "Save as", nor replacing the action with the same action within a flow, does not fix this issue.

BongoEADGC6 avatar Sep 19 '22 20:09 BongoEADGC6

Good Context @BongoEADGC6. I think that's why my original wflow didn't work, but the new one I created did.

Narizz28 avatar Sep 19 '22 21:09 Narizz28

Thanks for the update guys. Unfortunately it doesn't work on my end. Did the same test as you all -> I've created a new flow with 2 actions only (Post adaptive card and wait for a response + Update an adaptive card in a chat or channel) but got the same error.

What regions are you in (O365/Power Platform)? I'm in the UK (O365 tenant). Dataverse version: 9.2.22084.00190 2022 release wave 2: OFF

image image

truespinmice avatar Sep 20 '22 07:09 truespinmice

also, I didn't get any update on my ticket in Microsoft (it is still open) so I'm considering this as not resolved...

truespinmice avatar Sep 20 '22 07:09 truespinmice

This still does not work for me either. Maybe it's changed for certain customers and is making it's way around.

BongoEADGC6 avatar Sep 20 '22 22:09 BongoEADGC6

Strange I got the same error even after building a new logic app with the same two actions. But when I did a test using power automate/flow it did work with the two actions.

Tim-Roe avatar Sep 21 '22 03:09 Tim-Roe

OMG! It's finally working on my end! Tested on 2 different tenant (but in the same region). Also last night got update from MS: As discussed on call, I informed you that this is a know issue and it will be resolved by our engineering team who is working on it. I would like to update you that the fix was rolled out on 16th Sept 2022, and it may have already been deployed to your region, otherwise it should hopefully replicate next week or the week after at the latest. You may check the status from your end and let us now if its still same or if it’s started working. Appreciate your time and patience.

@Tim-Roe will test it on Logic Apps too and will let you know (as this is my case too).

truespinmice avatar Sep 21 '22 07:09 truespinmice

@Tim-Roe , confirmed with Logic Apps too! @Narizz28 I think you can close/solve this bug.

truespinmice avatar Sep 21 '22 08:09 truespinmice

@Tim-Roe , confirmed with Logic Apps too!

Yes, confirmed working in both platforms for me now too.

Tim-Roe avatar Sep 22 '22 21:09 Tim-Roe

I'm experiencing this issue

djm228 avatar Apr 14 '23 15:04 djm228

I'm experiencing this issue

Try building the flow scratch or remove and re-add the actions in your flow. That's what a lot of people had to do, as "something" may have been left over in the actions from before the fix.

Narizz28 avatar Apr 14 '23 20:04 Narizz28