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
Hari KundrapuHari Kundrapu 

Community Rollout Strategy -> Create Sharing Rules : Error-> Challenge Not yet complete... here's what's wrong: Your user does not have a "Role" setup. Please make sure you have a role assigned to your user in Salesforce.

I am getting the below error while working on the below trail head:

https://trailhead.salesforce.com/en/communities/community_rollout_impl/community_rollout_impl_sharing

Expand Your Reach with Communities  Community Rollout Strategy
Create Sharing Rules
 
Error: Challenge Not yet complete... here's what's wrong: 
Your user does not have a "Role" setup. Please make sure you have a role assigned to your user in Salesforce.

I am not able to assign a Role to the user Edna Frank as she is a Community User. Not able to surpass this challenge.

Please provide any possible solutions to resolve it in same dev org.

Thanks,
Hari Kundrapu
Stephane KarolinskiStephane Karolinski
Hey Hari,
This issue is cause because the user your are logged in with has no role.
To fix this, go to Setup --> Users --> find your user and edit it to provide a Role (any role is fine)
Hari KundrapuHari Kundrapu
Hi @Stephane Karolinski

I assigned myself a role 'COO', but getting same error message.

Thanks,
Hari Kundrapu
Stephane KarolinskiStephane Karolinski
And did you use yourself to connect your org to the trailhead?
If it is the case, I cannot help much more :(