Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Due to a configuration error in the Intune policy for MS Edge, hundreds of profiles were created for users (>100 users). The original problem was solved, but now all the Edge profiles are causing problems.
However, the profiles can currently only be deleted with many clicks (select and delete each profile in Edge). This is insanely time-consuming with the number of users and profiles.
I have to somehow clean them up automatically now. That doesn't work, which I've tried:
Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -verbose}
The profiles themselves are then reset, but they are all still present and can be selected.
There must be a way to solve this?
Developing and testing features or extensions for Microsoft Edge
Hi @Malte Brünger ,
Based on my test, it is indeed the same with you if deleting Profiles folder through Registry key or Under User Data folder.
Due to the version update of Edge, you need also to delete the file named "Local State" under Path: C:\Users\UserName\AppData\Local\Microsoft\Edge\User Data.
Note that you must close all edge processes before you delete it.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Raina Zhao