Closed pagex closed 10 months ago
I am running into this error. How can I get this update on the XrmToolBox. Looks like that plugin hasn't been updated since 2019.
Please take the clone of this repo, do the fix and update and merge with this branch by raising PR
On Fri, Jan 6, 2023 at 9:16 AM goomba27 @.***> wrote:
I am running into this error. How can I get this update on the XrmToolBox. Looks like that plugin hasn't been updated since 2019.
— Reply to this email directly, view it on GitHub https://github.com/deepakkumar1984/XrmToolBoxPlugins/pull/51#issuecomment-1372888237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJAKIQGGAZNNXSOW6VMFDWQ5FL5ANCNFSM5HUUOJGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Regards, Deepak
Added check if correct type: if (!(response.AuditDetail is AttributeAuditDetail)) continue; Before casting: AttributeAuditDetail attributeDetail = (AttributeAuditDetail)response.AuditDetail; As AuditDetail can be of: Microsoft.Crm.Sdk.Messages.AttributeAuditDetail Microsoft.Crm.Sdk.Messages.RelationshipAuditDetail Microsoft.Crm.Sdk.Messages.RolePrivilegeAuditDetail Microsoft.Crm.Sdk.Messages.ShareAuditDetail Microsoft.Crm.Sdk.Messages.UserAccessAuditDetail