About this question
When I am trying to create a community user using apex code or self-registration, I am getting the error: PORTAL_NO_ACCESS. But I have activated the digital experience in org, added roles to admin users, and created accounts and contacts. I also have Customer Community Plus licenses and a custom Community Plus profile for the digital experience. I have also activated the option “Allow users to self-register.” What could be the reason for this error? Can anyone assist me? Am I missing any steps?