Skip to main content

Notifications

Power Automate - General Discussion
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Error 401: Unauthorized when a specific condition is true

Posted on by
Hello. I have a flow that runs when an item is created in a SharePoint list. It posts a message in a specific team chat depending on a field that was filled in the list. The flow was running perfectly for the last few months. It has a condition where the clients name has to be the same as the Teams name in order to post the message. Recently it has given me some issues *i think* regarding the connections but I believe I've fixed them all.
 
Now, the flow runs with all client names except one. Every time the condition is true for this certain client it fails. The fail happens when it's going yo post the message. I'll attach a screenshot. I've been testing and trying to figure out what is happening but have no luck. Any help would be appreciated. Thank you!
 
This is the output: 
{"statusCode":401,"headers":{"Cache-Control":"no-store, no-cache","Strict-Transport-Security":"max-age=31536000; includeSubDomains","x-ms-islandgateway":"ga000005J","x-ms-request-id":"westus:84684ecf-b73d-482f-80a7-5ca7f56508cb","x-ms-correlation-request-id":"84684ecf-b73d-482f-80a7-5ca7f56508cb","x-ms-flow-mobile-ios-version":"3.0.421","x-ms-flow-routing-request-id":"WESTUS:20240727T170401Z:84684ecf-b73d-482f-80a7-5ca7f56508cb","Server-Timing":"x-ms-igw-upstream-headers;dur=234.0,x-ms-igw-req-overhead;dur=0.8","X-Content-Type-Options":"nosniff","x-ms-service-request-id":"b7a96c23-921e-42c7-bf86-e9fe3b30690d","x-ms-correlation-id":"260c2ddf-e448-40cc-bdff-a850a0ac22e0","x-ms-activity-vector":"00.01.IN.27.IN.1B.IN.1H.00","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"false","x-ms-apihub-obo":"false","Date":"Sat, 27 Jul 2024 17:04:01 GMT","Content-Length":"203","Content-Type":"application/json"},"body":{"error":{"code":"UnauthorizedSenderForChannelNotification","message":"The sender with objectId 'f3aac4ca-d391-457d-885f-30847a5ac64a' is not a member or an owner of the team."}}}
Categories:
Screenshot 2024-0...
Screenshot 2024-0...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard