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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

App source Solution checker giving error "il-avoid-lock-plugin"

(0) ShareShare
ReportReport
Posted on by 15

A plug-in or workflow activity assembly was identified as using the following pattern: System.Void System.Threading.Monitor.Enter(System.Object, System.Boolean). The use of lock statements in plug-ins or workflow assemblies are generally used for auto numbering solutions and can cause stability or performance issues. Avoid using lock statements in plug-in transactions. If you are using this for auto numbering please use the platform auto number feature.

pastedimage1637845731847v1.png

For Microsoft.IdentityModel.Json.Serialization.MemoryTraceWriter.ToString()

I have the same question (0)

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 433

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans