Skip to content

Commit

Permalink
Update instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherry committed Jun 14, 2024
1 parent d51e155 commit 7567e9c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions Instructions/Labs/02-content-safety.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,33 @@ Before using the studio, you need to associate an Azure AI services resource wit

6. Select the **Settings** icon on the top right of the screen again. This time you should see that your newly created resource has been added to the list.

>**Note**: If you are using a Cloud Slice subscription, you can skip steps #7-12 and go to step 13.
>**Note**: If you are using a Cloud Slice subscription, you can skip steps #7-13 and go to step #14. Otherwise, continue with step #7.
7. Select **View all properties in Azure portal** at the bottom of the screen. Then in the Azure portal, select the *Content Safety* resource you just created.
7. Select **View all properties in Azure portal** at the bottom of the *Settings* screen.

8. On the left-hand pane, select **Access Control (IAM)**. Then on the open pane, select **Add** next to the plus sign, and select **Add role assignment**.
![Screenshot of the view all properties in Azure portal link.](./media/content-safety/view-all-properties.png)

8. In the Azure portal, select the *Content Safety* resource you just created.

9. On the left-hand pane, select **Access Control (IAM)**. Then on the open pane, select **Add** next to the plus sign, and select **Add role assignment**.

![Screenshot of where to select add role assignment in the Access Control pane.](./media/content-safety/access-control-step-one.png)

9. Search for **Cognitive Services User** in the list of roles, and select it. Then select **Next**.
10. Use the following settings to assign yourself to the role:
10. Search for **Cognitive Services User** in the list of roles, and select it. Then select **Next**.

11. Use the following settings to assign yourself to the role:
- **Assign access to**: *keep selection on user, group, or service principal*
- **Members**: *click on select members*
- On the open *Select members* pane, find your name. Click on the plus icon next to your name. Then click **Select**.
- **Description**: *leave blank*
11. Select **Review and Assign**, then select **Review and Assign** again to add the role assignment.
12. Return to the Content Safety Studio at [https://contentsafety.cognitive.azure.com](https://contentsafety.cognitive.azure.com). Then select the **Settings** icon on the top right of the screen.

12. Select **Review and Assign**, then select **Review and Assign** again to add the role assignment.

13. Return to the Content Safety Studio at [https://contentsafety.cognitive.azure.com](https://contentsafety.cognitive.azure.com). Then select the **Settings** icon on the top right of the screen.

![A screenshot of the settings icon on the top right of the screen, next to the bell, question mark, and smile icons.](./media/content-safety/settings-toggle.png)

13. Select the Azure AI service resource you just created. Make sure under *Current role assignments* you see both *Cognitive services user*, and *Owner*. Then click **Use resource** on the bottom of the screen. You will be taken back to the studio home page. Now you can begin using the studio with your newly created resource.
14. Select the Azure AI service resource you just created. Make sure under *Current role assignments* you see both *Cognitive services user*, and *Owner*. Then click **Use resource** on the bottom of the screen. You will be taken back to the studio home page. Now you can begin using the studio with your newly created resource.

![A screenshot of the current role assignments.](./media/content-safety/access-control-check-step.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7567e9c

Please sign in to comment.