Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How do Disabled and Deleted users work?

Posted on by 5
How can a user be deleted from a Power Platform environment and what actually happens? Like for example, there's a Delete button on the User details screen, but when I click on it and confirm, the user isn't deleted. There's also a Status of Enabled or Disabled at the bottom but as far as I know, the only way to set this to Disabled is if you have an AD Security Group for the environment and you remove the user from it. There's no Disable user button.
 
Can you actually delete the user and what happens then? What happens to all the records they're assigned or attached to? What does it mean for a user to be disabled? Is it the same as if they didn't have any security roles?
275123615_5F00_10159170023023285_5F00_3519668986971623958_5F00_n.jpg
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How do Disabled and Deleted users work?

    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).

    KA-01190  · Customer Self-Service (dynamics365support.com)

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How do Disabled and Deleted users work?

    Hi,

    You could create on-demand process to Disable User. Please see below image-

    CR68.PNG

    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/

  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: How do Disabled and Deleted users work?

    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).

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans