Salesforce provided us with a Summer '21 org early this week but it had no "Customer Community Login" licenses provisioned so we had to get those added via a case.
As a System Administrator, using the "Enable Customer User" button on a Contact and filling in the appropriate license and profile in the "New User" page, the "Save" results in:
Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see Insufficient Privileges Errors.
Click here to return to the previous page.
with nothing in the debug log.
As a Site Guest User, using a self registration page that works fine in other orgs, this error results:
insufficient access rights on cross-reference id
with the debug log having the expected logging up to the point that the Site.createExternalUser
call is made.
Any ideas on what the problem is here? Or what to double check?
(Hoping some step was missed by Salesforce in the org setup here...)
without sharing
class too - same error. Think/hope it is an org-specific problem.Id
; but reporting the type would provide important clues. We will probably end up burning multiple days on a case for this problem.