Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Receiving Invalid Opportunity notice after deleting opportunities

Posted on by 4
I am taking over management of our company's Dynamics platform and learning the system and setup. The problem I'm having is that when an opportunity is deleted, the systems starts sending an email stating the opportunity is invalid. If I click on the link to the opportunity from the email I get the below error. How do I fix this, please?
 

Record Is Unavailable

 
The requested record was not found or you do not have sufficient permissions to view it.
  • Error Code: 2147746327
  • Session Id: 9829a0fb-45f8-40d0-bb5f-00f9610bb77c
  • Activity Id: f29efabd-db15-48bf-8e51-7b126998afea
  • Timestamp: Wed Oct 04 2023 08:18:36 GMT-0500 (Central Daylight Time)
Entity 'opportunity' With Id = 0efe253b-512a-ee11-bdf4-00224820e810 Does Not Exist
UciError: Entity 'opportunity' With Id = 0efe253b-512a-ee11-bdf4-00224820e810 Does Not Exist at s (https://content.powerapps.com/resource/uci-infra/scripts/app.43c20c0a98f559b555f66616531c6b98.js:33:903705) at new h (https://content.powerapps.com/resource/uci-infra/scripts/app.43c20c0a98f559b555f66616531c6b98.js:28:149406) at h.fromLegacyErrorStatus (https://content.powerapps.com/resource/uci-infra/scripts/app.43c20c0a98f559b555f66616531c6b98.js:28:151433) at _ (https://content.powerapps.com/resource/uci-infra/scripts/app.43c20c0a98f559b555f66616531c6b98.js:28:153806) at https://content.powerapps.com/resource/uci-infra/scripts/app.43c20c0a98f559b555f66616531c6b98.js:33:252392
  • Judy_IW Profile Picture
    Judy_IW 4 on at
    Receiving Invalid Opportunity notice after deleting opportunities
    I've discovered that the error is triggered in a connected application. Knowing that, we can fix. Thank you for your reply.
  • RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    Receiving Invalid Opportunity notice after deleting opportunities
    Hi,
     
    May I ask if your problem has been resolved?
     
    Do you still need us to follow up on this issue, please contact me if you have any questions about the solution I proposed.
     
    Best Regards,
    Rudy Zhang
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    Receiving Invalid Opportunity notice after deleting opportunities
    Hi,
     
    Based on the information you have provided, we surmise that there may be something like /workflow/ or /Cloud flow/ in your system that sets up an email to be sent to inform that this Opportunity has been deleted when the record in /Opportunity/ is deleted.
     
    Additionally, based on our searches, these types of errors are usually due to the system trying to access non-existent resources, entities, etc. In your description the system seems to be trying to access an Opportunity record that has been deleted, hence the error message "Entity 'opportunity' With Id = 0efe253b-512a-ee11-bdf4-00224820e810 Does Not Exist"
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans