Hi diskdrive,
When a user is deleted from the Microsoft 365 admin center, the user isn't removed from environments in which they're active. Instead, the user's status is set to Disabled in Dynamics 365.
Delete users from Dynamics 365 environments - Power Platform | Microsoft Docs
You need reassign their owned entity records or process.
Removing all security roles from the user prevents the user from signing into and accessing Dynamics 365 (online). However, it doesn’t remove the license from the user and the user remains in the list of the enabled users in Dynamics 365 (online). Removing security roles from a user isn’t a recommended method of removing access to Dynamics 365 (online).
Hi,
You could create on-demand process to Disable User. Please see below image-
Delete button does not do anything.
Once User is disabled ->
1. They can't login
2. Records are still associated and not deleted from the system
3. Workflow/plugin will not work which are assigned to the disabled user
Now To run the on-deman workflow ->Open User record->Click ...ecclipse button->Run Workflow->Select your workflow->Click ok->Your user record is disabled now
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Hey!
A user can be disabled for multiple reasons:
a) Doesn't belong to the security group associated with the domain.
b) M365/AzureAD setting to prevent login
c) If the company is using Pivilege Identity Management and the access is lost
d) If the user doesn't have ANY license that allows access.
e) Plugins/workflows requiring specific fields to be populated might also set the enabled/disabled status.
As you indicate, this is an automatic value set on user sync from AzureAD/M365 portal. When a user is disabled it means that:
a) the user can't login.
b) records are still associated and you can create reports based on this
c) any Workflow/SDK processing step running under the context of this user will stop working
A user that doesn't have security roles, can get security roles assigned through a Team (and therefore, login).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156