web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 401 Unauthorized Error...
Power Automate
Unanswered

401 Unauthorized Error on existing flow

(0) ShareShare
ReportReport
Posted on by
I've got a power automate flow that has been running in production for some time now successfully. It uses the AI Builders "Extract Information from Documents" step to pull some data out of a PDF file. Today, despite no changes, it started failing with an authorized error. 
 
I've tried reauthenticating, even deleting and recreating the connection. nothing seems to work. 
 
Here's the output of the step: 

{
"Set-Cookie": "ARRAffinity=5d895aae1fd670346142fcdbf0a1ea3f841b68aaea46fe4393a5135146ec1b5e15134d20c556b0b34b9b6ae43ec3f5dcdad61788de889ffc592af7aca85fc1c508DD34E79BB4E4B5747413748; path=/; secure; HttpOnly,ReqClientId=ed278486-b1aa-425e-8512-8bc5f19e927f; expires=Mon, 14-Jan-2075 21:35:51 GMT; path=/; secure; HttpOnly,ARRAffinity=5d895aae1fd670346142fcdbf0a1ea3f841b68aaea46fe4393a5135146ec1b5e15134d20c556b0b34b9b6ae43ec3f5dcdad61788de889ffc592af7aca85fc1c508DD34E79BB4E4B5747413748; path=/; secure; HttpOnly",
"WWW-Authenticate": "Bearer authorization_uri=https://login.microsoftonline.com/b084c4a0-bb19-4142-b703-82ea65a5eeb2/oauth2/authorize, resource_id=https://doorwaydev.crm.dynamics.com/",
"x-ms-service-request-id": "c34dda18-3c62-4492-af5d-ab02a0bffb8b",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"REQ_ID": "c34dda18-3c62-4492-af5d-ab02a0bffb8b",
"CRM.ServiceId": "CRMAppPool",
"AuthActivityId": "a60820e9-dab5-423f-82d1-bc26860ec75e",
"401_Error_Reason": "Authorization header is missing.",
"NativeWebSession-Version": "2",
"X-Source": "1361812292819916760605614324710525511220824209150170881839234651527057220228135138168,251195150220281111791941286319825516701423014518481189186889625200205813011049196191",
"Public": "OPTIONS,GET,HEAD,POST",
"Date": "Tue, 14 Jan 2025 21:35:53 GMT",
"Allow": "OPTIONS,GET,HEAD,POST",
"Content-Type": "text/html; charset=utf-8",
"Content-Length": "0"
}
Categories:
I have the same question (0)
  • samiak Profile Picture
    Moderator on at
    401 Unauthorized Error on existing flow
    Hi,
     
    It should help you fixed your issue.
     
    Thank you,
    Samia
  • BaptisteW Profile Picture
    124 on at
    401 Unauthorized Error on existing flow
    Faced the same issue, I'm trying to use the "List rows" action on a Dataverse table with a pagination threshold of 11k. When I do that, the flow crashes with an "Unauthorized" error. However if I put 1k5 (for instance) as the threshold, the flow runs fine but only returns the first 5k items.

Under review

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

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard