Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Records in PluginTraceLogBase for a different OrganizationId

$
0
0

A 2016 On-Premise installation I've been asked to look after has over 2 million records in PluginTraceLogBase so I tried to clear out a few of the old ones.

Unfortunately Bulk Delete fails because the user I'm running as (a System Administrator) doesn't have permission to clear out the records.

I've done some investigation and there are a lot of records associated with an OrganizationId I don't recognize, which is why I don't have permission:


select OrganizationId, count (*) from PluginTraceLogBase
group by OrganizationId
7EE40B1A-E3D5-E711-80DB-3417EBF090B89840
6323F79A-00E1-E711-80DC-3417EBF090B81611984
1A54A1C6-8BE5-E711-80DC-3417EBF090B8419045
A47AD300-4F23-498F-B3A9-7DEC0A659F7E5996
2046865

For reference, the current instance is the "1A54" one.

Ignoring how they go there, is there a way to delete these records without running queries directly against the database?

If I update one of the records in the table, updating the organizationId form "6323F79A" to "1A54A1C6" Bulk Delete works. Is it "ok" to do that?

Any help would be very gratefully received.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>