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 :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Not able to save automated messages .

(0) ShareShare
ReportReport
Posted on by
I get an error when trying to change automated messages. Record unavailable: "The requested record was not found"
 
Under details I get the following. 
 
Exception Message: Entity 'msdyn_ocautomatedactionrule' With Id = d9353723-ca2c-4f45-89b1-16a9405e8d3a Does Not Exist
ErrorCode: -2147220969
HexErrorCode: 0x80040217
ErrorDetails: 
    ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService
    ApiStepKey: 8cf1b97b-95db-ef11-a731-002248090685
    ApiDepthKey: 1
    ApiActivityIdKey: f2f398ed-488a-40c4-8a77-775dc132d0aa
    ApiPluginSolutionNameKey: System
    ApiStepSolutionNameKey: System
    ApiExceptionCategory: ClientError
    ApiExceptionMessageName: ObjectDoesNotExist
    ApiExceptionHttpStatusCode: 404
HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040217&client=platform
Activity Id: 6c633975-b705-4523-8a73-ec1597f646fd
 
I have the same question (4)
  • Suggested answer
    MVP-Daniyal Khaleel Profile Picture
    534 on at
    Not able to save automated messages .
    Verify if the Record Exists
    Go to Advanced Find (or Dataverse tables view) → look for Automated Messages (msdyn_ocautomatedactionrule).
    Search for the ID: d9353723-ca2c-4f45-89b1-16a9405e8d3a.
    If it doesn’t exist, it was deleted.
    Check Related Configurations
    Go to your Workstreams and Session templates where Automated Messages are configured.
    Look for any broken references (empty or blank message slots).
    Update them to point to a valid Automated Message.
    Recreate the Missing Automated Message
    If you know what message it was supposed to be, recreate it in Customer Service Admin Center → Workstreams → Automated Messages.
    Update the workstream/session to use the new one.
    Security Check
    Ensure your user has access to Omnichannel Automated Messages (msdyn_ocautomatedactionrule) in security roles.
    Sometimes admins can see it, but agents cannot.
    Last Resort – Remove Broken Reference in Dataverse
    If a workstream is still pointing to a deleted record, you may need to edit the workstream record in Dataverse directly and clear the reference to the missing Automated Message.
    Do this carefully (backup first).

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 74

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 28 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 17 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans