cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
minniep
Advocate II
Advocate II

Getting Unauthorized error on flow bot Post a reply to a message V2

I had created a recurrence Flow to reply to an announcement message so it can bring the announcement to the front at the set time.

It worked perfectly this morning when I set it to happen every 2 hours.

However, after I change it to every 30 min, it stopped working.

The Run report shows that the Recurrence is okay, but the Post a reply to a message is giving the Unauthorized error Status code 401

Please help

 

 

{
  "error": {
    "code""Unauthorized",
    "message""Unauthorized",
    "innerError": {
      "request-id""c32b5900-c88b-4172-9496-3709345ca5e2",
      "date""2020-04-22T20:18:50"
    }
  }
}
2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @minniep 

 

There might be a chance that the Teams Administrator settings does not allow the bot to post messages. Can you check that in the teams admin center and confirm? 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

I doubt ... as the reply was working in the morning until I changed the word in the reply from "Push" to "Bump"

and I am not 100% sure if it is the word that caused it as I deleted the original Flow that I set up and test on the new one with "Bump" didn't work ..... then before I gave up I just thought whatsoever .... and put the reply msg back to "Push" ...... then the magic happened... the flow worked again.........................

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,382)