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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / After changing Ownersh...
Power Automate
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.

Categories:
I have the same question (0)
  • Verified answer
    SueA Profile Picture
    555 on at

    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.

     

  • JustRhonda Profile Picture
    225 on at

    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 ? 

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard