Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support deletion of activitypointer records in PrincipalObjectAccess table #540

Closed
alen1979 opened this issue Sep 5, 2024 · 0 comments · Fixed by #554

Comments

@alen1979
Copy link

alen1979 commented Sep 5, 2024

Hi Mark,

I love your tool!

At the moment we are using it to delete historic entries from the PrincipalObjectAccess table.
When running deletes against records where the entity is ActivtyPointer following error is raised:

The 'RevokeAccess' method does not support entities of type 'activitypointer'. MessageProcessorCache returned MessageProcessor.Empty.

RevokeAccess should work for the underlying Activities types though (i.e. Email, Appointment, PhoneCall, etc).

Would it be possible to add some logic to handle this in Sql4CDS? I.e. find out which ActivityType is involved and then using that type for the RevokeAcess call?

Many thanks
Alen

@MarkMpn MarkMpn linked a pull request Sep 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant