Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Can we delete records form PrincipalObjectAccess table for the following condition by execute delete command on POA table
for (1) AccessRightsMask=0 and InheritedAccessRightsMask=0
(2) changedon is NULL
In which scenario changedon column is NULL ?
If the recors have the AccessRightsMask and InheritedAccessRightsMask = 0 then they should be automatically picked up by the deletion service and removed from the system. This is an async maintenance job that runs every 24 hours (see blogs.msdn.microsoft.com/.../crm-2013-maintenance-jobs)
I'd check if there were any errors when the deletion service ran ( SQL Timeouts, etc.) and address those.
Also, i would advise not to make any operations directly on the CRM DB as this is unsupported and can leave the DB in a faulted state (cause orphaned records if the references aren't properly disposed of)
I have another concern like, In my POA table there are lot of records which have changedon is NULL , Can i delete these records or In which scenario changedon value is NULL ?
This is a good question. I don't know why they would have changedon NULL. Could it be possible that someone altered the database directly in the past? Still, even if the changedon is NULL i don't think this should in any way influence the POA behavior (meaning that permissions are not granted).
I would test this scenario and see if the sharing permissions for a record having the changedon = NULL are not respected. In that case i would reach out to MS Support directly for assistance for cleaning that up.
Business Applications communities