Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

Unwanted access to a Case Record in D365 Customer Service

(0) ShareShare
ReportReport
Posted on by 214
Hi, 
 
A little background to the issue:
There are two subjects of cases Subject A, and Subject B. 
  • Subject A Cases can only be viewed by Team A
  • Subject B Cases can only be viewed by Team B
To fulfill the above two points, a power automate flow is inplace. Which assign the owners of the cases based on the subject, 
 
It is working fine but not in one situation. Due to some unknown reason, a case which is of Customer X is visible to  a member of Team B, even though it is of subject A and should only be viewed by Team A. And it is only for the case of a specific customer X. 
 
Edit: There were duplicated records for said customer account, and they were owned by BU Unit Team which had everyone in it. But that duplicate account was merged with the actual account and then deactivated. But still somehow the access from that duplicate account has reached to the actual account. And now, even if I change the owner of duplicate account from that BU team to something else, the access is not going away. I have checked in PrincipalObjectAccess table.
 
And when I check the check access, I see this. Attaching screenshot. 
 
I have tried to do a lot of things, to pin point the issue, but failing to do so. 
 
What could be the reason? I want to stop this from happening. 
 
Thanks
  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Unwanted access to a Case Record in D365 Customer Service
    Hi fshaikh,
    Don't worry about it.
    Having your problem solved is the best response.
  • fshaikh Profile Picture
    fshaikh 214 on at
    Unwanted access to a Case Record in D365 Customer Service
    Hi Leah,
    Changing the relationship between Accounts and Cases of Share and Reparent to Cascade None did resolve my issue. 
     
    Thanks
     
    P.S: I am trying to mark your answer as verified by clicking on "Does this answer your question?" but it is going on infinite loading for some reason. 
    If you, yourself or any moderator could do it, that would be very beneficial for other people. 
     
     
  • fshaikh Profile Picture
    fshaikh 214 on at
    Unwanted access to a Case Record in D365 Customer Service
    Hi Leah, 
    According to this documentation, will it be resolved if I change the relationship between Accounts and Cases of Share and Reparent to Cascade None? 
     
     
  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Unwanted access to a Case Record in D365 Customer Service
    Hi Partner,
    This is mainly due to the behaviour of the relationship between the account and the case:
    The cascading nature of sharing means that if a parental or configurable cascading relationship exists that is sharing enabled, the child records in those relationships will also be shared with the user or team.
    Please refer to the following documentation for more details:

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • fshaikh Profile Picture
    fshaikh 214 on at
    Unwanted access to a Case Record in D365 Customer Service
    Hi Leah, 
     
    Thanks. I have already gone through this link. 
    But I am just unable to stop this unwanted share. 
     
    I have found out another thing which is:
     
    There were duplicated records for said customer account, and they were owned by BU Unit Team which had everyone in it. But that duplicate account was merged with the actual account and then deactivated. But still somehow the access from that duplicate account has reached to the actual account. And now, even if I change the owner of duplicate account from that BU team to something else, the access is not going away. I have checked in PrincipalObjectAccess table.
     
     
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Unwanted access to a Case Record in D365 Customer Service
    Hi Partner,
    Please refer to the following blog, it explains how each option works:
    Record was shared with the team(s) that I’m a member of because team has access to related record:
    --If the checkbox is checked that means logged in user is having access of related record of the selected record which is shared with the team in which logged in user is present.
    --For example: Account and Contact are related to each other and if Account record is shared with the team current logged in user belongs to then on related contact record, this checkbox will be checked.
    Check if other entity records related to the current case are shared with the current user's team

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans