Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | All TechTalks
I want to cleanup the POA data in D365 and I read that deletion service will delete those records who's AccessRightMask value is 0, but I don't know how to use that. What are the steps to use Deletion Service for cleanup of Principal Object Access (POA) in MS D365?
You can use below query to check inside DB whether the Deletion Service is running regularly. If it's running, then leave it to Deletion Service as it will have these POA records deleted.
select * from ScaleGroupOrganizationMaintenanceJobs where OperationType = 14
Besides, you can also use below script to check out inside the POA table to confirm how many records having 0 for both fields (accessrightsmask and inheritedaccessrightsmask). You can delete these records manually, so just leave it to Deletion Service to have them deleted (usually, these records will stay there for 90 days, and then Deletion Service will remove them).
select objecttypecode,accessrightsmask,inheritedaccessrightsmask,count(*) as Total
from PrincipalObjectAccess with (nolock)
group by objecttypecode,accessrightsmask,inheritedaccessrightsmask
order by total desc
But, if deletion service isn't in running status then how can I make that service in running service?
Please tell me with steps.
Business Applications communities