Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

After changing Ownership to a Service Account, I am getting Error 404 with the OUTLOOK Step in my Automated Flow.

(0) ShareShare
ReportReport
Posted on by 555

Hi:

I have a Flow related to a Canvas App with SharePoint lists as the data sources. It worked perfectly. However,                                                                                                                                                                                                                         

When a Status changes to "Reassigned" in a canvas App and thus in a SP List., the Flow sends an Email to the new re-assignee that the Task is assigned to him/her.

This Flow worked perfectly.

However, after we changed the ownership of all the components in the solution to a Service Account, the OITLOOK step fails and gives below error:

{
"status": 404,
"message": "The specified object was not found in the store., The process failed to get the correct properties.\r\nclientRequestId: 07cf9695-c812-47fa-9c1e-0a2a73952406\r\nserviceRequestId: bb119fcb-4f29-888f-b1ed-80b07668ab6c",
"error": {
"message": "The specified object was not found in the store., The process failed to get the correct properties.",
"code": "ErrorItemNotFound",
"originalMessage": "The specified object was not found in the store., The process failed to get the correct properties."
},
"source": "office365-usgt.azconn-gcc-usgt-001.p.azurewebsites.us"
}


{
"Cache-Control": "no-store, no-cache",
"Pragma": "no-cache",
"Set-Cookie": "ARRAffinity=a9735332e98c1583cedfa27018b5682e019cc4bde6ec373a9c9a90890725137d;Path=/;HttpOnly;Secure;Domain=office365-usgt.azconn-gcc-usgt-001.p.azurewebsites.us,ARRAffinitySameSite=a9735332e98c1583cedfa27018b5682e019cc4bde6ec373a9c9a90890725137d;Path=/;HttpOnly;SameSite=None;Secure;Domain=office365-usgt.azconn-gcc-usgt-001.p.azurewebsites.us",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"x-ms-request-id": "bb119fcb-4f29-888f-b1ed-80b07668ab6c",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"x-ms-environment-id": "086b4c63-911a-4af4-abb8-35dda6d5ae2f",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"x-ms-apihub-obo": "false",
"Date": "Fri, 12 Jan 2024 19:33:50 GMT",
"Content-Length": "622",
"Content-Type": "application/json",
"Expires": "-1"
}


404

 

Any suggestion, how to fix this please?

Thanks,
SueA.

  • JustRhonda Profile Picture
    225 on at
    Re: After changing Ownership to a Service Account, I am getting Error 404 with the OUTLOOK Step in my Automated Flow.

    I have a flow that gets records from Dataverse and sends an email. I was able to change the connection to our Service Principal Account but do not have the option to change the connection for the Send email action. How did you change the connection reference for the Send email to a SPN, @SueA ? 

  • Verified answer
    SueA Profile Picture
    555 on at
    Re: After changing Ownership to a Service Account, I am getting Error 404 with the OUTLOOK Step in my Automated Flow.

    Hi:

    It was a permission related issue. I was sending the email using OUTLOOK from a shared Account step. My share account did not have the same permissions as the Service Account. Using step Send Email(v2) instead and using the Service Account (also owner of the Flow) worked and resolved this Issue.

    Posting this here incase anyone else has similar issue can be benefitted.

    SueA.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1