(In a Marie Kondo mood)
I have a custom guest user profile:
- There are no assigned users to this profile (makes sense - it is a guest user profile)
- There are no Digital Experiences or Sites that reference this profile
- It can't be deleted via MD API
destructiveChanges.xmlusing this package:
<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Foo</members> <name>Profile</name> </types> </Package>
<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <version>52.0</version> </Package>
cannot delete profile
I have no idea how the org got into this state - the profile exists in PROD and was related to a long-ago public site (2017-ish) that we no longer have in the org.
Foo no longer sparks joy and I want to get rid of it. But how?
UPDATE: Support ticket filed; I'm not sanguine as you can't delete Sites which in turn means you can't delete its guest user profile. Even though I have no site referencing these guest user profiles.