Skip to content

[CoE Starter Kit - BUG] Inactive users are not removed on table "Environment security role permissions" #10273

@wilmanmtl

Description

@wilmanmtl

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

Image

User have any role, they were removed some weeks before

Image

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

  1. Assign roles to existant actif user
  2. Check the table, it must be a new line with the direct role assigned on table "Environment security role permissions" after sync automate execute
  3. Disable user on envrionment or entraId
  4. Remove roles from the environment
  5. Run automate sync security roles or wait until automatic sync runs
  6. Check the table again
  7. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoe-starter-kitCoE Starter Kit issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions