web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Unwanted access to a Case Record in D365 Customer Service

(0) ShareShare
ReportReport
Posted on by 218
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
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    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
     
  • fshaikh Profile Picture
    218 on at
    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.
     
     
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    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
    218 on at
    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? 
     
     
  • fshaikh Profile Picture
    218 on at
    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. 
     
     
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Hi fshaikh,
    Don't worry about it.
    Having your problem solved is the best response.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 25 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans