Create a Permission Set Group 権限セットグループ　のユニット


[Trailhead関係　個別の課題別](https://qiita.com/Keiji_otsubo/items/56eb7a90bb72138ece1f)

#  Permission Set Group が表示されない

+ [Creating a Permission Set Group](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvSAe)

:::note
Try typing Permission

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0b1eff95-1a86-f572-d229-a566bb754ce8.png)
:::


# 権限セットグループを作成する

https://trailhead.salesforce.com/ja/content/learn/modules/permission-set-groups/create-a-permission-set-group

Update the Sales Orders permission set to allow editing activated orders in the Sales app.
**If you haven't already completed the step-by-step instructions in this unit, do that now or you won’t be able to complete this challenge.**

どうもこのユニットは一番下の部分だけでなくて、説明にある設定もしないと完了できないようです。

## We can’t find a permission set group named ‘Sales_Processing’. Make sure you completed all of the step-by-step instructions in this unit.

+ 何も指定せずにボタンをクリックした場合。

注文を有効にする権限を追加します。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/80f960f4-00f4-9c3e-6cc6-3a4a9540c314.png)

注文の作成や削除を行う権限を追加します。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/99d63a50-77ee-b0e0-4a59-2c596c7db307.png)

+ [Need Help with Order Activation Issue via Permission Set Group](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000oAQJ)

上記２つの設定をないとエラーになる。

+ [Create a Permission Set Group](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jg5dh)

:::note
I was having this same error. It turns out that the API name of my permission set “Sales_Orders” was written as “Sales_Order”. I put in the letter 's' and that was it.


私も同じエラーに遭遇しました。権限セット「Sales_Orders」の API 名が「Sales_Order」と書かれていたことが判明しました。文字「s」を入力しただけでした。
:::






# We can’t find a permission set group named ‘Sales_Processing’ with the correct permission sets in it

+ [We can’t find a permission set group named ‘Sales_Processing’](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeS5L)



:::note
Where I went wrong was in naming the second permission set. I named it "Contracts" instead of "Sales Contracts". The error message was incredibly unhelpful in figuring that out.

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

I just reviewed everything again I forgot the "s" in sales orders when labeling everything.
:::

+ [Can someone please explain why this error keeps showing even though i completed everything step by step](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KBlYD0A1)

正しい設定は

Sales Contracts
Sales_Orders

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/b99cb6cb-a1b0-7458-63da-1a07f2716986.png)

+ [【未解決】Stuck On Create a Permission Set Group Challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000UXMN)

設定は正しそう

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/c3e282a0-41eb-45fb-80d6-033fdeaa5051.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/6f3905a8-682d-45dd-b99f-f98aec91efbf.png)



+ 権限セットグループを作成するを終了した場合

## In the Sales Orders permission set, we can’t find the ‘Edit Activated Orders’ permission enabled for the Sales app.

2. Click Manage Assignments.
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/6c9215a4-6fa9-7603-8ad8-c1dbbc4cc71d.png)

+ 説明のところをすべて終了しても以下のメッセージです。

# In the Sales Orders permission set, we can’t find the ‘Edit Activated Orders’ permission enabled for the Sales app.


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/a534c864-c3a5-0247-3793-c304d3afb144.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/5a6a4f60-b5b2-caf2-8e17-87c22f51316e.png)

+ [In the Sales Orders permission set, we can’t find the ‘Edit Activated Orders](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Pem1Y)

上記画像で解決

+ [In the Sales Orders permission set, we can’t find the ‘Edit Activated Orders’ permission enabled for the Sales app.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PfDe4)

# 権限セットグループの権限をミュートする

いつものレポート検証用の環境にこの設定がある(私の覚えです)

https://trailhead.salesforce.com/ja/content/learn/modules/permission-set-groups/mute-permissions-in-permission-set-groups

## In the Sales Processing permission set group, we can’t find a muting permission set named ‘Contracts_Permissions_Muted’. Make sure you completed all of the step-by-step instructions in unit 2.

+ 何も指定せずにボタンをクリックした場合。

どうもこのユニットも一番下の部分だけでなくて、説明にある設定もしないと完了できないようです。

3.[権限セット] で [グループ内のミュート権限セット] をクリックします。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bcbee079-5042-2b00-61f7-3bcac30c49c5.png)


4.[すべて表示] と [すべて変更] オブジェクト権限をミュートします。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/46173e6d-c6c6-dee4-c106-0f0031b8e455.png)

6.[設定の検索] に「契約」と入力し、[有効契約の削除] を選択します。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/693c6ca9-eae4-a585-5e92-9c8e3e0ea736.png)


Elisa の権限を「Sales Contracts (販売契約)」権限セットに追加しましょう。「Sales Contracts (販売契約)」権限セットで対象の権限を有効にします。

英語での表記はこれ、意味がわからん。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f7995a8b-e5ab-22a8-df81-09437fe501d6.png)

同じ質問：[Permission Set Groups Mute Permissions in Permission Set Groups](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HDDTISA5)

[有効契約の削除] 権限を有効にします。
契約に対する [すべて表示] 権限と [すべて変更] 権限を有効にします。

**これは権限セットの設定をするということ？**

1.[有効契約の削除] 権限を有効にします。したら、自動で２つにチェックが入った。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/13dd1473-c1bd-a6ee-67fd-5d533940e7c4.png)

2.契約に対する [すべて表示] 権限と [すべて変更] 権限を有効にします。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/db5b10a9-3be4-e6df-9cf3-e9176a54bc0e.png)

## In the Sales Processing permission set group, we can’t find a muting permission set named ‘Contracts_Permissions_Muted’. Make sure you completed all of the step-by-step instructions in unit 2.

+ 一応説明のところは終わったけっど、同じエラーメッセージだなぁ。得意の手抜きだ。
ミュートの名前を間違えた

+ [we can’t find a muting permission set named ‘Contracts_Permissions_Muted’](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007HA11z)

:::note
Goto permission set group 'Contract Permission' & clicked muted permission set group
If Api name is not correct, Delete & create again

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

## In the Contracts_Permissions_Muted muting permission set, we can’t find the ‘Edit’ and ‘Delete’ object permissions muted for contracts.

+ 一応説明のところは終わった段階でのエラー。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/d72ded2d-f088-e12c-580f-881d37db1ba7.png)

+ [we can’t find the ‘Edit’ and ‘Delete’ object permissions muted for contracts.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jgn4G)

:::note
 I was checking contacts not Contracts SMH 
:::

# 関連する質問

+ [こんにちは。パーミッションセットグループの最後のセクション：セットグループのパーミッションをミュートしようとしていますが、この手順を通過できません。どんなアドバイスでも大歓迎です。](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000Enujv)
+ [Permission set group](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000G3upa)
+ [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. ](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Uq5Qk)

:::note
I'm signed as a system admin and my "Manage Profiles and Permission Sets" are selected. I changed Playground for new, and now everything is alright.
:::



# We can’t find a permission set group named ‘Sales_Orders’ with the correct permission sets in it.

:::note
I see I had to Edit Activated Orders

アクティブ化された注文を編集する必要がありました 。
:::


+ [Activated Orders permission enabled for the Sales app but the challenge is not passing](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000E9GUM)
+ [Hands on Challenge: Create a Permission Set Group](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000FSefn)
+ [Permission Set Groups challenge issue: "can't find perm set group named sales_orders"](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000A8JaQ)

:::note
Where I went wrong was in naming the second permission set. I named it "Contracts" instead of "Sales Contracts". The error message was incredibly unhelpful in figuring that out.
:::

# エラー　権限がない

+ [Mute Permissions in a Permission Set Group Challenge](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000JdUVF)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/79101116-f976-2a0d-f7c3-b9dbddc085bc.png)

:::note
Had the same issue. 

What I did to fix was the following, 

I was getting the error when searching for contracts within the find settings search box. Instead, I went to my sales processing permission>muting perm. set in group>contracts permission muted>object settings>contracts> From here you can now mute edit and delete to complete the trailhead.
:::

+ [Insufficient Privileges Error on the module: Mute Permissions in Permission Set Groups](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeQ9u)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/b7eca168-1f3c-8d6e-b3dc-101256ffafd0.png)


# 解説

+ [I am in "Create Permission set Group" module](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000E0HBP)

Same issue with these instructions below as it was not clear where the FIND SETTINGS referred to, therefore, I performed should address and replace this portion of the Trailhead instructions

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

Add permission to activate orders.

1 .In Find Settings, type Orders and then select Activate Orders.
2. Click Edit.
3. Scroll to Sales and enable Activate Orders.
4. Save the permission set. A Permission Changes Confirmation box opens. Notice that both Read Order and Edit Order were also enabled. That’s because Order Activation depends on being able to read and edit orders.
5. Save your changes.

Add permission to create and delete orders.

1. In Find Settings, type Orders and then select Orders.
2. Click Edit.
3. Enable the Create and Delete object permissions.
4. Save your changes.

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

What I did to finish this Challenge:

After creating the new Sales Orders permission set, return to the Permission Sets listing and click on Sales Orders.    Under the second section should read "Apps" with a listing of unlined additional setting, Assigned Apps, Assigned Connected Apps, and next is Object Settings.   Click on Object Settings.    On the next screen scroll down to and click on ORDERS.   And now under the ORDER section, click on the EDIT button.   Click on the Create and Delete.   You should now have Read, Create, Edit and Delete checked and then save button. 

Now from the Permission Sets listing again, click on Sales Orders and under the second section, Apps, click on the next one after Object Settings, App Permissions. 

Here is where you click on Edit to the right of App Permissions section, and scroll down to the SALES section and click the ACTIVATE ORDERS and (before saving, you might as well click about 5 lines down on the EDIT ACTIVATED ORDERS) then save.   You will be told to do this at the bottom in the Your Challenge section prior to clicking on the Check Challenge button)

This is where you see the pop up box Permission Changes Confirmation. 

Now you are ready to move on to create another permission set called Sales Contracts

After creating the new Sales Contracts, perform the similar steps as above... go to the Apps and click on Object Settings.  This time scroll down to Contracts.  Be careful not to click on Contacts vs Contracts.   Then click the Edit and then Create and Delete.  Save. 

Go back to the Trailhead instructions and pick them up at 

Create Users

Permission sets and permission set groups are worthless without users. So first, add two users to your org. 

1. In Setup, open Users.
2. Create two users:

# can't find perm set group named sales_orders

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/37886ecd-5353-e610-2638-b44f0bd1228e.png)

+ [Unable to clear the error of permission set group](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Pf9Sz)

:::note
Thanks for the responses. Where I went wrong was in naming the second permission set. I named it "Contracts" instead of "Sales Contracts". The error message was incredibly unhelpful in figuring that out.

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

# We can’t find the ‘Sales User Muted’ muting permission set related to the ‘Sales User’ permission set group." after clicking "check challenge

+ [ミュートされたセールス ユーザーの権限設定の問題](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007igB8jSAE)

:::note
問題は権限セットの編集ではなく、権限セットが削除されると、その権限セット内のミュート権限セットにアクセスできなくなりますが、ミュート権限セットはまだ存在するため、トレイル ヘッドが検索する特定の名前のミュート権限セットを作成できなくなります。

新しいプレイグラウンドを作成してすべてをやり直すのが唯一の方法のように見えます。そのため、この投稿では、トレイルヘッドで使用する体験とチェックが学生にとってより使いやすいものになるように提案したいと思いました。
 

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

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

+ [Help!!! Challenge is not Passing - Control What Your Users Can Access](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000UKJh)

:::note
So, the instructions were unclear to me as I created the Sales User Muted under Permission Sets and not Permission Set Groups. I in a workshop to complete my admin certification. Another student help me to identify this issue. Once I created the "Sales User Muted" within the Permission Set Groups, I was able to pass the Trailhead module.  

そのため、権限セット グループではなく権限セットの下にセールス ユーザー ミュートを作成したため、手順がわかりにくくなりました。私は管理者認定を完了するためのワークショップに参加していました。別の学生がこの問題を特定するのを手伝ってくれました。権限セット グループ内に「セールス ユーザー ミュート」を作成すると、Trailhead モジュールに合格できました。  
:::