{"id":34026,"date":"2023-02-16T14:24:27","date_gmt":"2023-02-16T08:54:27","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=34026"},"modified":"2023-02-20T16:25:52","modified_gmt":"2023-02-20T10:55:52","slug":"how-to-permanently-delete-disabled-users-from-the-power-platform","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2023\/02\/how-to-permanently-delete-disabled-users-from-the-power-platform\/","title":{"rendered":"How to permanently delete Disabled Users from Power Platform"},"content":{"rendered":"<p>Whenever a user deletes any users from the <a href=\"https:\/\/admin.microsoft.com\/#\/homepage\" target=\"_blank\" rel=\"noopener\">Microsoft 365 admin center<\/a> then that user remains in the power platform environment as a disabled user. Now, users can delete the users permanently from the power platform using Delete Disabled Users (Preview) feature.<\/p>\n<p>The main purpose of this feature is as follows-<\/p>\n<p>Whenever we delete any user it remains in the environment as a disabled user which may take some space. After deleting the unwanted (disabled) user some storage will free up and you will be able to use the license for other users within the environment.<\/p>\n<p>Let\u2019s see how it works, first, we see how to create new users from <a href=\"https:\/\/admin.microsoft.com\/#\/homepage\" target=\"_blank\" rel=\"noopener\">Microsoft 365 admin center<\/a> and add them to the power platform environment.<\/p>\n<p>Login into <a href=\"https:\/\/admin.microsoft.com\/#\/homepage\" target=\"_blank\" rel=\"noopener\">Microsoft 365 admin center<\/a> -&gt; Users -&gt; Add a User -&gt; Create a User<\/p>\n<p>Now Login into <a href=\"https:\/\/admin.powerplatform.microsoft.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/admin.powerplatform.microsoft.com\/<\/a>\u00a0 -&gt; Select the Environment -&gt; Settings -&gt; Users + Permissions -&gt; Users -&gt; Add User<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34037\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1437\" height=\"505\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Delete-Disabled-Users.png 1437w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Delete-Disabled-Users-300x105.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Delete-Disabled-Users-1024x360.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Delete-Disabled-Users-768x270.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Delete-Disabled-Users-660x232.png 660w\" sizes=\"(max-width: 1437px) 100vw, 1437px\" \/><\/p>\n<p>Once a user is added to the power platform then the same will get added to Azure Portal<\/p>\n<p>Now we will see how to delete the user from <a href=\"https:\/\/admin.microsoft.com\/#\/homepage\" target=\"_blank\" rel=\"noopener\">Microsoft 365 admin center<\/a> and see the status in the power platform and Azure Portal.<\/p>\n<p>Login into <a href=\"https:\/\/admin.microsoft.com\/#\/homepage\" target=\"_blank\" rel=\"noopener\">Microsoft 365 admin center<\/a> -&gt; Users -&gt; Active Users -&gt; Select User -&gt; Click on Delete User<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34036\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"741\" height=\"441\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Delete-Disabled-Users.png 741w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Delete-Disabled-Users-300x179.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Delete-Disabled-Users-660x393.png 660w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/p>\n<p>When you delete the user from the admin center it will be soft-deleted and you can restore the user within 30 days after the deletion. Once you click on Delete User you will get confirmation as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34035\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1919\" height=\"901\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users-300x141.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users-1024x481.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users-768x361.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users-1536x721.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Delete-Disabled-Users-660x310.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34034\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/4Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"593\" height=\"335\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/4Delete-Disabled-Users.png 593w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/4Delete-Disabled-Users-300x169.png 300w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/p>\n<p>Once a user is deleted from the admin center check the status in the power platform<\/p>\n<p>Select deleted user -&gt; Run Diagnostics<\/p>\n<p>Here, you can see the status of the user shown as Disabled, which means the user is still in the power platform and not deleted yet, and also the user will get deleted from Azure Active Directory.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34033\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1437\" height=\"613\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Delete-Disabled-Users.png 1437w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Delete-Disabled-Users-300x128.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Delete-Disabled-Users-1024x437.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Delete-Disabled-Users-768x328.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Delete-Disabled-Users-660x282.png 660w\" sizes=\"(max-width: 1437px) 100vw, 1437px\" \/><\/p>\n<p>When the user is deleted from the admin center then the user remains active and shown in the power platform i.e. environment only the status is shown as disabled.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34032\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"597\" height=\"561\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Delete-Disabled-Users.png 597w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Delete-Disabled-Users-300x282.png 300w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/p>\n<p>Now we will see how to delete users from the power platform by using the \u201cDisable Deleted User\u201d preview feature.<\/p>\n<p>Before enabling the <strong>\u201cDisable Deleted User\u201d<\/strong> preview feature, you can see the following filters under users.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34031\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1919\" height=\"819\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users-300x128.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users-1024x437.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users-768x328.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users-1536x656.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/7Delete-Disabled-Users-660x282.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p>Select the Environment -&gt; Settings -&gt; Product -&gt; Features -&gt; Enable Delete disabled users (preview) -&gt; Save<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34030\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/8Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1439\" height=\"587\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/8Delete-Disabled-Users.png 1439w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/8Delete-Disabled-Users-300x122.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/8Delete-Disabled-Users-1024x418.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/8Delete-Disabled-Users-768x313.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/8Delete-Disabled-Users-660x269.png 660w\" sizes=\"(max-width: 1439px) 100vw, 1439px\" \/><\/p>\n<p>Now we need to delete the user permanently which is created in the admin center by connection to the Azure Active Directory admin center. Login into <a href=\"https:\/\/aad.portal.azure.com\/\" target=\"_blank\" rel=\"noopener\">Azure Active Directory admin center<\/a><\/p>\n<p>Users -&gt; Deleted Users -&gt; Select user -&gt; Delete Permanently<\/p>\n<p>Now user gets deleted permanently from Azure Active Directory but it will be still present in the power platform but in a disabled state.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34029\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/9Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1437\" height=\"611\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/9Delete-Disabled-Users.png 1437w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/9Delete-Disabled-Users-300x128.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/9Delete-Disabled-Users-1024x435.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/9Delete-Disabled-Users-768x327.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/9Delete-Disabled-Users-660x281.png 660w\" sizes=\"(max-width: 1437px) 100vw, 1437px\" \/><br \/>\nOnce the user enabled the feature, you will be able to see more filters as shown. Click on <strong>\u201cUsers, not in AAD but exist in the environment\u201d <\/strong>here you will be able to see the user which is deleted from AAD select the same user, and click on Delete User.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34028\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1917\" height=\"905\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users.png 1917w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users-300x142.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users-1024x483.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users-768x363.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users-1536x725.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/10Delete-Disabled-Users-660x312.png 660w\" sizes=\"(max-width: 1917px) 100vw, 1917px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34027\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users.png\" alt=\"Delete Disabled Users\" width=\"1919\" height=\"791\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users-300x124.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users-1024x422.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users-768x317.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users-1536x633.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/11Delete-Disabled-Users-660x272.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>This feature allows us to delete the user with a disabled status in the environment thus freeing-up storage from the environment.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/services\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone size-full wp-image-34038\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-1.png\" alt=\"\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-1.png 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-1-300x75.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-1-768x192.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-1-660x165.png 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whenever a user deletes any users from the Microsoft 365 admin center then that user remains in the power platform environment as a disabled user. Now, users can delete the users permanently from the power platform using Delete Disabled Users (Preview) feature. The main purpose of this feature is as follows- Whenever we delete any\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2023\/02\/how-to-permanently-delete-disabled-users-from-the-power-platform\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1913,44,1929],"tags":[1931],"class_list":["post-34026","post","type-post","status-publish","format-standard","hentry","category-microsoft-power-platform-services","category-power-apps","category-pcf","tag-microsoft-power-platform"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/34026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=34026"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/34026\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=34026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=34026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=34026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}