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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error While Triggering Plugin

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I have a custom entity and i write one plugin. the plugin is trigger while save the record that plugin do set value in read only field..but while save the record the error is occur.The error is : 

Record Is Unavailable

The requested record was not found or you do not have sufficient permissions to view it..

I Clear the Cache,Browsing history all those things but after cleared same error is occur i don't know why the error is occur please help..

Thank You

Dinesh Raja

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi DineshRaja,

    This problem can sometimes be solved by clearing the cache on your internet browser.

  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    Hi..

    Looks like either you are triggering plugin before save or your are trying to update which is not exists or not created.

    I think it will be better if you give more details.. like on which event plugin is registered, and post plugin code.

  • Verified answer
    Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    Hi you must share with us what's your plugin business logic.

    But in generally, Record is unavailable happen because of you have pre-validation/pre-operation plugin and you do use service.Update, service.Delete before the data is created. Just try to move this logic into post-operation and it should be fine.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Are you saying the plugin is setting the value but you are still getting the error message? If yes then it is not your plugin throwing the error, it must be some other component, may be another plugin, workflow or business rule (entity level).

    Hope this helps

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans