function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

"Portal Account Owner Has No Role"

error message goes on, "An account owner must be associated with a role to enable portal users or transfer portal users to his or her account."


I'm lost. I'm trying to setup website authenticated user access to a site.  I am the only Enterprise user, all other users are guests or website authenticated.  I assume that I am the account owner, but I can't find the field that I need to change to make this work. I know someone will probably need more info than this to help, but don't know what else to provide. 


Please ask away!


thank you

Best Answer chosen by Admin (Salesforce Developers) 

Role is a standard field on the user object. Go to the owner of the account you're using (probably your admin user) and give that user a role. You can do this on the user setup page.

All Answers


Role is a standard field on the user object. Go to the owner of the account you're using (probably your admin user) and give that user a role. You can do this on the user setup page.

This was selected as the best answer

Thank you Ryan. Since I am currently the only user, I couldn't see how, or the point, to creating a role, but now it works.  Thank you.

Reynold DeGuzmanReynold DeGuzman
This helped me also, thank you Ryan.
Dave HummDave Humm
This error message also gets displayed if you have an inactive user as the owner of the account (even if they have a role assigned). Though in practice you don't want accounts owned by inactive users. 
Munira MajmundarMunira Majmundar
Great Ryan, helped me too!!
shaik althafshaik althaf
Great help Ryan
Heather WahlstromHeather Wahlstrom
Thank you.  This helped!
Jorge Ortiz-ViverosJorge Ortiz-Viveros
It works to move forward on trailhead lesson Expand Your Reach with > Communities Community Rollout Strategy
> Create Sharing Rules. OOTB admin user is created without role. Thanks!
Prie La TouchePrie La Touche
Thank you Ryan-Guest and Jorge Ortiz-Viveros!
Rahul Singh 1474Rahul Singh 1474
Such a very helpful forum post for me I ever seen this block could never think of such a thing is possible with it thank u for this blog keep sharing it. absorbent filters (
Daniel NagelDaniel Nagel
Thank you! It helped.
Thank you so much for your answer, it solved my issue.
Sneha GoyaniSneha Goyani
Thanks! Couldnt figure it out until it read this.. Solved my issue. 
anant ch 6anant ch 6
I didn't get it
hamada sayedhamada sayed
I am 100% sure you can not do this (callouts after DML) because, in the past, I tried to do it but failed every time. If you found a way to do so, please don't forget to share the method with all of us here on this thread. It will be a significant input from your side for this community as well. Thank you! Coin Master free spins (
hamada sayedhamada sayed
Couldnt figure it out until it read this. free spins for Coin master  (
Megan Callaghan 1Megan Callaghan 1
This issue, for me, was tied to the Account Owner. It occurred when the Account Owner was an inactive user. Once I changed the account owner to an active user, I was able to successfully enable to the Contact record as a community user. (FWIW we have related contacts and accounts enabled.) Good Luck!
Luis Paulo 8Luis Paulo 8

Go to: Setup -> Users -> Users

Click Edit for your user.

Add any role and Save.

User-added image

worked for me.

mar pitmar pit
Whataburger Survey uses by the company to find out exactly what their customers feel about their meal, the service, the ambiance, the entire experience. It is easy to finish the Whataburger Customer Satisfaction Survey and get a Validation Code to redeem the offer printed on your purchase receipt.
bashisth singhbashisth singh
Thank for Infor that i post a new Post on
my new post lin is
i  hope that you visit once at my blog.
thanks sir 
bashisth singhbashisth singh is provide a new artikal at Delhi Govt Scheme Delhi (http://amantec.hin) Under Post Delhi Ration Card Add New name  (  
bashisth singhbashisth singh
Hello sir
I am Post Some New Article On Under Delhi Govt Scheme So Please See my Article if you Need.
bashisth singhbashisth singh
Tech SurveyTech Survey
It's very simple to take part in the KohlsFeedback ( survey and get a chance to win ultimate rewards by participating in this survey.
Salman NadeemSalman Nadeem
Boost your stamina and make your life wonderfull and load with pleasure, Buy Largo Cream (