-
Notifications
You must be signed in to change notification settings - Fork 238
Description
Does this bug already exist in our backlog?
- I have checked and confirm this is a new bug.
Describe the issue
Hello,
Our administrator removes environment roles from users who have left the company. These users are now inactive in both Entra ID and Dataverse. However, they are not automatically removed from the "Environment security role permissions" table, which causes confusion. When we review the CoE (Center of Excellence) application, it appears that these users still hold roles in certain environments, even though they are no longer have assigned roles.
View on CoE

User have any role, they were removed some weeks before

Expected Behavior
We expected users were removed from the table "Environment security role permissions" even is they are inactive or at least the records on table can have status inactive and we can filter on our views.
What solution are you experiencing the issue with?
Core
What solution version are you using?
4.50.3
What app or flow are you having the issue with?
SYNC HELPER - Get Security Role Users
What method are you using to get inventory and telemetry?
Cloud flows
Steps To Reproduce
- Assign roles to existant actif user
- Check the table, it must be a new line with the direct role assigned on table "Environment security role permissions" after sync automate execute
- Disable user on envrionment or entraId
- Remove roles from the environment
- Run automate sync security roles or wait until automatic sync runs
- Check the table again
- The user is still there with the former role and environment, the record is actif so we can not validate the assigment is not longer real
Anything else?
No response