User Management


+ [Configure organization-wide defaults](https://qiita.com/Keiji_otsubo/items/dfdf3ac662980cb91912)

-----------
https://trailhead.salesforce.com/ja/content/learn/modules/lex_implementation_user_setup_mgmt

終わったことになっているけど、開くと完了してない？？何で？？


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/a4367e3f-bbd1-31cc-5e7e-c183ecdeb39c.png)

この環境に設定がある　otsubo@resilient-unicorn-r5lpu1.com


# Add New Users

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/39584432-7e9d-50b6-2e09-313deb09baf0.png)



:::note alert
We can’t find a user with 'testuser' in the Username and testuser as the Alias.
:::

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/9afa22e2-50cd-ece1-02d7-7778bdad373d.png)

+ [Add New user Challenge Erro Message: We can’t find a user with 'testuser' in the Username and testuser as the Alias](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLUfD)

ユーザ名のフォーマットが違うかも

+ [he  Salesforce license does not appear en the list](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007clntV)

Salesforceライセンスを使っている他のユーザは無効にする

+ [Western Sales Teamがない](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000mFI0)

:::note
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/b0bbc6b8-2c55-42b7-957a-a30fe8ea9e7a.png)
:::

+ [can’t find a user with 'testuser' in the Username and testuser as the Alias.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eonzx)

:::note
英語版と日本語版で指示内容が違うらしい

If Trailhead is in Japanese, the hands-on test content is different. 

Specifically, when Trailhead is written in Japanese, the message “Please include ‘guestadmin’ in your user name. but in English, it will say “Please include ‘testuser’ in the user name. is displayed in English. 


Please refer to the following instructions to change Trailhead to English, and then change Trailhead Playground to English and try again. 

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000DzayRSAR
:::

# We can’t find a user with ‘Salesforce’ selected in the License field.

+ [We can’t find a user with ‘Salesforce’ selected in the License field.](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KCAqN0AX)

# The new user doesn't have the Salesforce license. In the License field on the user record, choose Salesforce.

+ [Hands On Challenge - Add New Users](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KhJEg0AN)

新しいプレイグランドを使ったみたい


# Control What Your Users Can Access

+ [We can't find the correct organization-wide default sharing setting for Opportunity".](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvQq4)

:::note
I had to log out and log in again for it to work. 
:::

+ [Opportunity (商談) の適切な組織の共有設定が見つかりません。](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000MXLbI)

:::note
以下のように設定してみてください 

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/926a56d3-6792-6d7f-371f-50103c31a59d.png)

:::

+ [How do I fix an issue preventing me from completing a challege](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIZBJ)

クイズから変わった？

何もしないで検証ボタンをクリックすると

:::note alert
We can’t find the ‘Account Access’ permission set with the API named 'Account_Access'.
:::

以下を設定した後

ここではユーザを割り当てていない

Create a permission set:
+ Label: Account Access
+ API Name: Account_Access
+ Add a description (We won’t check for this.)
+ License: -None-
+ Enable Account Object Permissions: Read, Create, Edit, Delete, View All, and Modify All
+ Enable Account Field Permissions: Read Access and Edit Access for all fields

:::note alert
We can’t find the ‘Sales User’ permission set group with the API name 'Sales_User'.
:::

こっち側でユーザを割り当てている？

Create a permission set group and assign it to the user you created:
+ Label: Sales User
+ API Name: Sales_User
+ Include the Account Access permission set that you created
+ Create a muting permission set in the permission set group and name it Sales User Muted (API Name: Sales_User_Muted)
+ Mute the Delete, View All, and Modify All object permissions
+ Mute Edit Access for the Annual Revenue and Customer Priority fields
+ Assign the permission set group to the user you created in the previous unit

前の単元で作成したユーザーに権限セット グループを割り当てます。


:::note alert
We can’t find the ‘Account Access’ permission set included in the ‘Sales User’ permission set group.
:::

保存できていなかった。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/23729faa-13ee-3605-6e95-f90d9240f793.png)


:::note alert
We can't find the correct organization-wide default sharing setting for Account and Contract.
:::

以下まで設定した

Configure organization-wide defaults:
+ Account and Contract: Visible but not editable for all users.

:::note alert
We can't find the correct organization-wide default sharing setting for Opportunity.
:::

これを設定したら合格
+ Opportunity: Visible only to record owners and users higher in the role hierarchy.


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/62c92fa9-6363-b7b6-5b1a-bf8cda886e1f.png)

-----------------------------------

+ [This error message pops when I try to assign the permission set group to your users
I encounter](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifmz6)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bfbb9e31-2922-2eeb-d6ce-8fd427dd37d0.png)




# 解答例

+ [For the TH item Control What Your Users Can Access](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvaB3)

+ [On User Management - Control What Your Users Can Access i cant save the muted permissions how to fix this correct this](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Z84idSAB)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e7e3438f-c184-bbff-fd9f-a293ed371b7d.png)

# We can’t find the ‘Account Access’ permission set included in the ‘Sales User’ permission set group.

+ [Configure Object, Field, and Record Access](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KAoG9)

:::note
Please check this article.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Z7z6aSAB

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007clu0sSAA
:::



# We can’t find the ‘Sales User’ permission set group assigned to the ‘testuser’ user.

+ [Control What Your Users Can Access, HANDSON Challenge error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIY6J)

:::note
I forgot to mention that I created a testuser after error, but still was getting the error. i recreated the user (changed roles, access), now it worked! 


エラー後に testuser を作成したことを書き忘れていましたが、それでもエラーが発生していました。ユーザーを再作成しました (ロール、アクセスを変更しました)。うまくいきました。
:::

+ [Control What Your Users Can Access, HANDSON Challenge error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIY6J)

:::note
Did you follow the steps below to create a user?

If yes, make sure you are using the correct playground.

https://trailhead.salesforce.com/content/learn/modules/lex_implementation_user_setup_mgmt/lex_implementation_user_setup_mgmt_adding_users-hoc

Create a new user:

+ Open Setup in the org
+ In the Quick Find box, enter users and then select Users
+ Click New User
+ Enter the first name and last name
+ For Alias, enter testuser
+ For Email, enter your email address
+ For Username, enter <YourInitials>_testuser_<YYYYMMDD>@example.com. (Usernames must be unique across all Salesforce orgs.)
+ For License, select Salesforce
+ For Profile, select Minimum Access - Salesforce
+ For Role, select Western Sales Team
+ Click Save
:::

+ [I created new Playground and retake this Challenge on it. And now I have problems](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J9DHC)
+ [How do I fix below error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvz6zSAB)

+ [よくわからん：Can't assign permission set Sales User to user test user. The user](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZAeisSAD)
+ [We can’t find the ‘Sales User’ permission set group assigned to the ‘testuser’ user.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmOf6)

:::note
I did not use 'For Alias, enter testuser'
:::

+ [je n'arrive pas passer cette étape , est ce que quelqu'un peut m'aider ?](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000lnz7)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/a96fef25-d632-7511-3768-dde543790f23.png)

:::note
Try changing <YoureLintials> to oma
 
```
oma_testuser_20241026@example.com
```

:::

+ [【未解決】Why am I getting an error message with Sales user not being linked to the test user?](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KCzNQ)

+ [Error in Data Security > Control Access to The Org challenge can't be resolved](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000U97w)

:::note
I realized what the error was. I checked my other org to see if there was a test user there, even though I was not logged in to that org. I deactivated that user and the challenge was able to be completed through that org. Not sure why the challenge required me to setup a new delevoper account and then would not allow me to move forward with test user in the developer account, but since I was able to move forward using my original org I'm good.
:::

# We can’t find a user with their Username including ‘testuser’.

+ [VChallenge not yet complete in My Trailhead Playground 1 We can’t find a user with their Username including ‘testuser’.](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000SV41X)

:::note
Try the following format: 
 
```
md_testuser_20250424@example.com
```

:::

+ [【サポート預かり】Set up user in DEV edition](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000SVZFs)


# We can’t find the correct object permissions for account in the ‘Account Access’ permission set.

+ [Control What Your Users Can Access](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvpby)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/421b0bf4-6cb7-a45e-ad69-d28c73a897ef.png)


#  Annual Revenue or Customer Priority fields are not found

+ [Does anyone know how to complete the challenge inside "Control What your Users Can Access"?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvw1jSAB)

:::note
SETUP --> Permission Set Groups --> Sales User --> Muting Permission Set in Group --> new

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/a5226abd-292e-d8e9-0982-792a826c0fdc.png)
:::

+ [Account Access (取引先のアクセス権)」権限セット内に取引先の適切なオブジェクト権限がありません。]()

# We can't find the correct organization-wide default sharing setting for Opportunity.

+ [Control What Your Users Can Access Challenge Error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZBFM6)

:::note
Please check the settings below

+ Opportunity: Visible only to record owners and users higher in the role hierarchy.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/11fd9c9c-42d4-f189-2979-2825fd0a2a91.png)
:::


There may be some cache left.

Please try logging out of the playground and logging in again. 

# We can’t find the correct object permissions for account in the ‘Sales User’ permission set group.

+ [Cannot successfully complete the Trailhead: Control What Your Users Can Access](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007iftTe)

:::note


It looks like you created Sales User Muted as a permission set rather than a muting permission set. Confirm you created the Account Access permission set with the requested permissions, then add it to a permission set group named Sales User Muted and mute the requested permissions.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLUbpSAG
:::


# 説明のところを設定してみたから？

+ ["user license doesn't support it" error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZB9CZ)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f5ef4158-9f9e-2b33-06d0-e84215013b67.png)

:::note
I think the content you are setting is just an explanation part.

The following settings are actually checked.

Chatter-free user licenses cannot be used because access rights to standard objects are required.
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/17c6bd8c-da84-2e1e-3b67-36ac238a72de.png)
:::

# FLSの設定でプロファイルでなくて、権限セットが表示されている

+ [Modify Your Data Model: not showing all field level security options](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZBLox)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ce1219f4-3625-a58c-8a0c-813ec66e155f.png)


:::note
Do you have the following settings enabled?
If in doubt, try a new playground

Set Field-Level Security for a Field on Permission Sets Instead of Profiles During Field Creation (Beta)
https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_fls_permsets.htm&release=240&type=5

Please check if this setting is disabled.

SETUP -->  User Management Settings

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f5f8c4a7-0aa6-d52c-186c-dd2485321655.png)
:::

# We can’t find the ‘Sales User Muted’ muting permission set related to the ‘Sales User’ permission set group.

+ [how to delete api name?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZBMbq)

:::note
正しいプレイグラウンドに対してチャレンジをチェックしていることを確認していただけますか。

Could you please make sure that you are checking challenge against correct Playground.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZAkTTSA1

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvoOFSAZ
:::

+ [We can’t find the ‘Sales User Muted’ muting permission set related to the ‘Sales User’ permission set group](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aiyFASAY)

:::note
The best solution for me was creating a new playground to restart the module. 
:::


# Control what Your Users have Access ライセンスの違いでアサインできない

+ [How do I resolve this?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ahw76SAA)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f81911ce-18d3-2cc6-9720-05043efdb4db.png)


:::note
I've been able to assign the permission set group to Anna now. I deleted the permission set and created a new one and then the assignment was successful.


これで、権限セット グループを Anna に割り当てることができました。権限セットを削除して新しい権限セットを作成したところ、割り当ては成功しました。
:::

+ [【未解決】Keep on getting "We can’t find the ‘Sales User Muted’ muting permission set related to the ‘Sales User’ permission set group."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007clqc2)

# We can't find the correct object permissions for account in the "Sales User" permission set group.

+ [Control What Your Users Can Access module - I am encountering the following error: We can't find the correct object permissions for account in the "Sales User" permission set group. I need help please - I'm not sure what I missed.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLUbpSAG)

# 名前の重複 Sales_User_Muted

+ [Create a muting permission set in the permission set group and name it Sales User Muted (API Name: Sales_User_Muted)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cm7QKSAY)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/8c0bea22-b8d6-74c6-97bb-0ebcf514056a.png)

以下の方法でAPI名を変更すれば問題解決できるかも...
[MutingPermissionSet](https://developer.salesforce.com/docs/atlas.ja-jp.object_reference.meta/object_reference/sforce_api_objects_mutingpermissionset.htm)

:::note
Run the following SOQL in the query editor of the developer console.
Record your ID.
 
```
select Id,DeveloperName,MasterLabel from MutingPermissionSet
```

The Id starting from 0QM is MutingPermissionSet

Please replace the bold part with your ID

```
https://<your domain>/lightning/setup/PermSetGroups/page?address=%2F0QMIg000000k9bc
```

Change API name.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0678b75f-7471-e9f3-1bcf-21eea7b64585.png)
:::

+ [【成功例】Where I can see the list of Muting Permission Set in Group that I created?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epr4d)


# We can't find that the Sales User permission set group mutes edit access for the annual revenue and customer priority fields.

+ [Control What Your Users Can Access - Help with muting access](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Z9w4nSAB)

:::note
For all those stuck on this you have to click on the Edit Access Muted check box at the very top to highlight all that will enable the read access to stay unmuted. 

This was a very poorly written challenge lol. 
:::

+ [I have completed the hands on challenges for trailmixes 2 module user management in control what your users can Access. I Hvae completed it by my understanding but its not get successfully completed so please help me where I am wrong in this challenge?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifqFe)
+ [Mute Account Field Permissions: Edit Access for the Annual Revenue and Customer Priority fields](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J5WHv)
+ [「営業ユーザ」権限セットグループが、年間売上項目と顧客優先項目の編集アクセス権をミュートしているとは見つかりません。](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KCYLt)

:::note
英語ですか、以下の投稿を参考にしてみてください 


これにこだわる人は、一番上にある「編集アクセスをミュート」チェックボックスをクリックして、読み取りアクセスをミュート解除できるようにするものをすべてハイライトする必要があります。 

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Z9w4nSAB

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifqFe
:::

+ [No encontramos que el grupo de conjuntos de permisos Sales User (Usuario de ventas) silencie el acceso de modificación de los campos de ingresos anuales y prioridad del cliente.](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000SVDEb)

:::note
For all those stuck on this you have to click on the Edit Access Muted check box at the very top to highlight all that will enable the read access to stay unmuted. 

This was a very poorly written challenge lol.  


https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Z9w4nSAB
:::



# We can’t find the ‘Account Access’ permission set with the API named 'Account_Access'.

+ [【未解決】Hi, I’m encountering the following error in the User Management 2 challenge: "We can’t find the ‘Account Access’ permission set with the API named 'Account_Access'."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007igAtK)

+ [‘Account Access’ permission](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J5Q0R0AV)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ee95ef9c-5c9f-c609-9718-a5e18b131b53.png)

:::note
Remove underscore from the permission set label

Account_Access  --> Account Access 
:::

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/cdfe3602-7a24-a374-0c79-df528287fac0.png)

:::note
There may be some cache left.

Please try logging out of the playground and logging in again.
:::


# No podemos encontrar un usuario con el valor "testuser" en Username (Nombre de usuario) y ese valor como Alias.

+ [En la gestion de usuarios](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000TkEBi)

英語にする