When I configured community on my Org I removed System Admin (me) profile from Community Members (see the screenshot 1)
So neither System Admin not anybody else can manage, modify or delete this community
How to get access to community back?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityBelow the link how to add system admin (yourself) to community to be able to manage it.
Hi Try to get in touch with salesforce support team. They are the omnly one seems like will be able to help.
call them on 1 (800) 667-6389 here is there number. or contact them through email on using this link https://www.salesforce.com/form/contact/contactme.jsp
If you have local copy of the project in sfdx including "networks" - it's simpler to restore access by redeploying 1 file. Cleaner than this official help article with url hacking...
Make sure your package.xml contains
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>Network</name>
</types>
<version>51.0</version>
</Package>
And then the file will be something like this:
<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns="http://soap.sforce.com/2006/04/metadata">
<!-- bla bla bla -->
<gatherCustomerSentimentData>false</gatherCustomerSentimentData>
<lockoutTemplate>Community/CommunityUserLocked</lockoutTemplate>
<networkMemberGroups>
<permissionSet>Feature1Access</permissionSet>
<permissionSet>Feature2Access</permissionSet>
<profile>admin</profile> <!-- System Administrator access here -->
<profile>secret client name user</profile>
</networkMemberGroups>
<!-- bla bla bla -->
<picassoSite>Client_Portal1</picassoSite>
<!-- bla bla bla -->
</Network>