Skip to main content

Notifications

Power Automate - AI Builder
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"
}
  • samiak Profile Picture
    samiak on at
    401 Unauthorized Error on existing flow
    Hi,
     
    It should help you fixed your issue.
     
    Thank you,
    Samia

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

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,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard