Use Custom Role to Tailor Teachers' Lab Management Permissions

Published Feb 16 2021 08:12 AM 2,137 Views
Microsoft

A common question we hear from IT departments is to how to get finer grain control over the permissions that are granted to teachers for managing labs.  In this blog post, we’ll show how to create a custom role that only gives teachers the ability to:

  • Add\remove students from a lab
  • Send an email invitation to a student
  • Start\stop\reset a student’s VM

This means that teachers will not be able to perform operations such as:

  • Change a lab’s quota
  • Increase the number of VMs in the pool
  • Set a lab’s schedule

When a teacher uses the management portal, they will be shown an error message if they attempt to perform an operation that they don’t have permission to do.  For example, if the teacher modifies the lab capacity and attempts to save this change, they will be shown the following error:

 

AzLabsError.png

 

In the rest of this post, we’ll walk through the detailed steps for creating a custom role following directions that are outlined in the article Azure custom roles.  You can use the custom role explained in this post as a starting point based on your school’s unique needs.

 

Steps to Create and Assign a Custom Role

1. Using the Azure Portal, let’s start by cloning Azure Lab Services’ built-in Contributor role for an existing lab.  First, you’ll need to select the lab and choose to Edit role assignments.  Then, select the Roles and choose Clone.  Follow the steps in the wizard to finish creating the cloned role.  You will need to give the custom role a name.  In this example, we'll name the custom role AzLabsCustomContributorRole.

 

AzLabsLabList.png

AzLabsClone.png

 

NOTE: When a teacher is assigned the built-in Contributor role for an existing lab (and the Reader role on the lab account):

  • They can’t create new labs.
  • They have access to view and change all the lab’s settings.
  • They only have access to view\change settings for the specific lab that they are assigned to as a lab contributor.

2.  Next, let’s look at the permissions for the cloned role by selecting the role and choosing Edit.

AzLabsEditRole.png

AzLabsPermissions.png

As shown in the above screenshot, the cloned Contributor role includes both a wildcard (*) Action and several NotAction permissions:

  • The wildcard Action grants access to view\change all the lab’s management settings. 
  • The NotAction permissions allow you to subtract specific permissions from the wildcard permission.

Using this approach, we can add more NotAction permissions to deny a lab contributor access to specific management operations in Azure Lab Services.

 

3.  To add more NotAction permissions, click the Exclude button.  In the search field, enter labs to navigate to the permissions for Azure Lab Services.  Finally, click on the Microsoft Azure Lab Services tile to view Azure Lab Services’ individual permissions.

 

AzLabsAllPermissions.png

AzLabsPermissionsList.png

NOTE: To view each permission's full name, click on the Information icon next to each permission.

 

Here is the list of permissions that we will add as NotActions:

 

Category

Permission

Microsoft.LabServices/labAccounts/labs/

  • Description: Delete labs.

Delete

Microsoft.LabServices/labAccounts/labs/

  • Description: Add or modify labs.
Write

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Delete environment setting.
Delete

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Adds or modifies environment setting.
Write

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Provisions/deprovisions VM resources.
Other (publish/action)

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Starts the template VM.
Other (start/action)

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Stops the template VM.
Other (stop/action)

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Save current template VM image to the Shared Image Gallery.
Other (saveImage/action)

Microsoft.LabServices/labAccounts/labs/environmentSettings

  • Description: Resets password on the template VM.
Other (resetPassword/action)

Microsoft.LabServices/labAcounts/labs/environmentSettings/schedules

  • Description: Delete a scheduled event.
Delete

Microsoft.LabServices/labAcounts/labs/environmentSettings/schedules

  • Description: Add or modify a scheduled event.
Write

Microsoft.LabServices/labAccounts/labs/users

  • Description: Modifies user, such as an individual's quota.
Write

 

Another option, is to edit the custom role's JSON directly under the JSON tab:

 

{
    "properties": {
        "roleName""AzLabsCustomContributorRole",
        "description""Custom contributor role for labs",
        "assignableScopes": [
            "/subscriptions/{Your Sub ID}"
        ],
        "permissions": [
            {
                "actions": [
                    "*"
                ],
                "notActions": [
                    "Microsoft.Authorization/*/Delete",
                    "Microsoft.Authorization/*/Write",
                    "Microsoft.Authorization/elevateAccess/Action",
                    "Microsoft.Blueprint/blueprintAssignments/write",
                    "Microsoft.Blueprint/blueprintAssignments/delete",
                    "Microsoft.LabServices/labAccounts/labs/delete",
                    "Microsoft.LabServices/labAccounts/labs/write",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/Start/action",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/Stop/action",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/SaveImage/action",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/ResetPassword/action",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/Publish/action",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/write",
                    "Microsoft.LabServices/labAccounts/labs/users/write",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/schedules/delete",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/schedules/write",
                    "Microsoft.LabServices/labAccounts/labs/environmentSettings/delete"
                ],
                "dataActions": [],
                "notDataActions": []
            }
        ]
    }
}
 
NOTE: In the above JSON, make sure that you replace "{Your Sub ID}" with the ID of your Azure subscription.

 

4.  Once you’re done making changes to the custom role’s permissions, click the Review + update button, followed by the Update button to save the custom role.

 

5. To grant these permissions to a teacher, you will need assign the teacher two roles – refer to the article about Managing Identity for more info:

  • The Reader role at the lab account level.
  • The custom role that you defined in the previous steps, at the lab level.

6.  When a teacher accesses the lab’s management screens, they will still be able to see the buttons for all the management operations.  However, when they attempt to perform actions or save changes to permissions that are denied by the custom role, they will receive an error message and will be prevented from completing the operation.

 

PowerShell Script

We also have added a PowerShell script that you can use to automatically import this example custom role for you.   You can find this script along with the steps to run it, in our GitHub repo.

 

Troubleshooting

When you create a custom role, if you get the error message "Role definition limit exceeded.  No more role definitions can be created.", ensure that you haven't exceeded the 2000 role assignment limit per subscription.  More details can be found in the article, Azure role assignments limit.

 

We hope that you find this post helpful!

~Az Labs team

 

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2113016%22%20slang%3D%22en-US%22%3EUse%20Custom%20Role%20to%20Tailor%20Teachers'%20Lab%20Management%20Permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2113016%22%20slang%3D%22en-US%22%3E%3CP%3EA%20common%20question%20we%20hear%20from%20IT%20departments%20is%20to%20how%20to%20get%20finer%20grain%20control%20over%20the%20permissions%20that%20are%20granted%20to%20teachers%20for%20managing%20labs.%26nbsp%3B%20In%20this%20blog%20post%2C%20we%E2%80%99ll%20show%20how%20to%20create%20a%20custom%20role%20that%20only%20gives%20teachers%20the%20ability%20to%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdd%5Cremove%20students%20from%20a%20lab%3C%2FLI%3E%0A%3CLI%3ESend%20an%20email%20invitation%20to%20a%20student%3C%2FLI%3E%0A%3CLI%3EStart%5Cstop%5Creset%20a%20student%E2%80%99s%20VM%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20means%20that%20teachers%20will%20%3CEM%3Enot%3C%2FEM%3E%20be%20able%20to%20perform%20operations%20such%20as%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EChange%20a%20lab%E2%80%99s%20quota%3C%2FLI%3E%0A%3CLI%3EIncrease%20the%20number%20of%20VMs%20in%20the%20pool%3C%2FLI%3E%0A%3CLI%3ESet%20a%20lab%E2%80%99s%20schedule%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWhen%20a%20teacher%20uses%20the%20management%20portal%2C%20they%20will%20be%20shown%20an%20error%20message%20if%20they%20attempt%20to%20perform%20an%20operation%20that%20they%20don%E2%80%99t%20have%20permission%20to%20do.%26nbsp%3B%20For%20example%2C%20if%20the%20teacher%20modifies%20the%20lab%20capacity%20and%20attempts%20to%20save%20this%20change%2C%20they%20will%20be%20shown%20the%20following%20error%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsError.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252099iD47153B0A45D73AA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsError.png%22%20alt%3D%22AzLabsError.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20rest%20of%20this%20post%2C%20we%E2%80%99ll%20walk%20through%20the%20detailed%20steps%20for%20creating%20a%20custom%20role%20following%20directions%20that%20are%20outlined%20in%20the%20article%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Frole-based-access-control%2Fcustom-roles%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20custom%20roles%3C%2FA%3E.%26nbsp%3B%20You%20can%20use%20the%20custom%20role%20explained%20in%20this%20post%20as%20a%20starting%20point%20based%20on%20your%20school%E2%80%99s%20unique%20needs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-174070005%22%20id%3D%22toc-hId-174070005%22%3ESteps%20to%20Create%20and%20Assign%20a%20Custom%20Role%3C%2FH4%3E%0A%3CP%3E1.%20Using%20the%20Azure%20Portal%2C%20let%E2%80%99s%20start%20by%20cloning%20Azure%20Lab%20Services%E2%80%99%20built-in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flab-services%2Fadministrator-guide%23manage-identity%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3E%20role%3C%2FA%3E%20for%20an%20existing%20lab.%26nbsp%3B%20First%2C%20you%E2%80%99ll%20need%20to%20select%20the%20lab%20and%20choose%20to%20%3CSTRONG%3EEdit%20role%20assignments%3C%2FSTRONG%3E.%26nbsp%3B%20Then%2C%20select%20the%20%3CSTRONG%3ERoles%20%3C%2FSTRONG%3Eand%20choose%20%3CSTRONG%3EClone.%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3EFollow%20the%20steps%20in%20the%20wizard%20to%20finish%20creating%20the%20cloned%20role.%26nbsp%3B%20You%20will%20need%20to%20give%20the%20custom%20role%20a%20name.%26nbsp%3B%20In%20this%20example%2C%20we'll%20name%20the%20custom%20role%26nbsp%3B%3CSTRONG%3EAzLabsCustomContributorRole.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsLabList.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252100iC3CE7208E28A0D0B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsLabList.png%22%20alt%3D%22AzLabsLabList.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsClone.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252102i3AB8D3227077ADFA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsClone.png%22%20alt%3D%22AzLabsClone.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENOTE%3C%2FSTRONG%3E%3A%20When%20a%20teacher%20is%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flab-services%2Fhow-to-add-user-lab-owner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eassigned%20the%20built-in%26nbsp%3B%3CSTRONG%3EContributor%3C%2FSTRONG%3E%20role%20for%20an%20existing%20lab%3C%2FA%3E%20(and%20the%20%3CSTRONG%3EReader%3C%2FSTRONG%3E%20role%20on%20the%20lab%20account)%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThey%20can%E2%80%99t%20create%20new%20labs.%3C%2FLI%3E%0A%3CLI%3EThey%20have%20access%20to%20view%20and%20change%20%3CU%3Eall%3C%2FU%3E%20the%20lab%E2%80%99s%20settings.%3C%2FLI%3E%0A%3CLI%3EThey%20only%20have%20access%20to%20view%5Cchange%20settings%20for%20the%20specific%20lab%20that%20they%20are%20assigned%20to%20as%20a%20lab%20contributor.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E2.%26nbsp%3B%20Next%2C%20let%E2%80%99s%20look%20at%20the%20permissions%20for%20the%20cloned%20role%20by%20selecting%20the%20role%20and%20choosing%20%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3EEdit%3C%2FSTRONG%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsEditRole.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252105iFD457CF2C3A0F735%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsEditRole.png%22%20alt%3D%22AzLabsEditRole.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsPermissions.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252106i94F1447681E3407C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsPermissions.png%22%20alt%3D%22AzLabsPermissions.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAs%20shown%20in%20the%20above%20screenshot%2C%20the%20cloned%20%3CSTRONG%3EContributor%3C%2FSTRONG%3E%20role%20includes%20both%20a%20%3CSTRONG%3Ewildcard%20(*)%3C%2FSTRONG%3E%20%3CSTRONG%3EAction%20%3C%2FSTRONG%3Eand%20several%20%3CSTRONG%3ENotAction%3C%2FSTRONG%3E%20permissions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20wildcard%20%3CSTRONG%3EAction%3C%2FSTRONG%3E%20grants%20access%20to%20view%5Cchange%20%3CEM%3Eall%3C%2FEM%3E%20the%20lab%E2%80%99s%20management%20settings.%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EThe%20%3CSTRONG%3ENotAction%20%3C%2FSTRONG%3Epermissions%20allow%20you%20to%20subtract%20specific%20permissions%20from%20the%20wildcard%20permission.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EUsing%20this%20approach%2C%20we%20can%20add%20more%20%3CSTRONG%3ENotAction%20%3C%2FSTRONG%3Epermissions%20to%20deny%20a%20lab%20contributor%20access%20to%20specific%20management%20operations%20in%20Azure%20Lab%20Services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3.%26nbsp%3B%20To%20add%20more%20%3CSTRONG%3ENotAction%20%3C%2FSTRONG%3Epermissions%2C%20click%20the%20%3CSTRONG%3EExclude%3C%2FSTRONG%3E%20button.%26nbsp%3B%20In%20the%20search%20field%2C%20enter%20%3CSTRONG%3Elabs%3C%2FSTRONG%3E%20to%20navigate%20to%20the%20permissions%20for%20Azure%20Lab%20Services.%26nbsp%3B%20Finally%2C%20click%20on%20the%20%3CSTRONG%3EMicrosoft%20Azure%20Lab%20Services%3C%2FSTRONG%3E%20tile%20to%20view%20Azure%20Lab%20Services%E2%80%99%20individual%20permissions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsAllPermissions.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252107iBDEED736E0D71D4B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsAllPermissions.png%22%20alt%3D%22AzLabsAllPermissions.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzLabsPermissionsList.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252110iC96ACC186C2704EA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzLabsPermissionsList.png%22%20alt%3D%22AzLabsPermissionsList.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENOTE%3C%2FSTRONG%3E%3A%20To%20view%20each%20permission's%20full%20name%2C%20click%20on%20the%20Information%20icon%20next%20to%20each%20permission.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20the%20list%20of%20permissions%20that%20we%20will%20add%20as%20%3CSTRONG%3ENotActions%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20border%3D%221%22%20width%3D%2252.850241545893724%25%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2246px%22%3E%3CH4%20id%3D%22toc-hId--1633384458%22%20id%3D%22toc-hId--1633384458%22%3E%3CSTRONG%3ECategory%3C%2FSTRONG%3E%3C%2FH4%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2246px%22%3E%3CH4%20id%3D%22toc-hId-854128375%22%20id%3D%22toc-hId-854128375%22%3E%3CSTRONG%3EPermission%3C%2FSTRONG%3E%3C%2FH4%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2227px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2F%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3A%20Delete%20labs.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2227px%22%3E%3CP%3EDelete%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2252px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2F%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3EAdd%20or%20modify%20labs.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2252px%22%3EWrite%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2280px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3EDelete%20environment%20setting.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2280px%22%3EDelete%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%22106px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3EAdds%20or%20modifies%20environment%20setting.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%22106px%22%3EWrite%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2253px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3A%20Provisions%2Fdeprovisions%20VM%20resources.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2253px%22%3EOther%20(publish%2Faction)%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2252px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%3C%2FSTRONG%3E%26nbsp%3BStarts%20the%20template%20VM.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2252px%22%3EOther%20(start%2Faction)%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2252px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3A%20Stops%20the%20template%20VM.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2252px%22%3EOther%20(stop%2Faction)%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%22132px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3ESave%20current%20template%20VM%20image%20to%20the%20Shared%20Image%20Gallery.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%22132px%22%3EOther%20(saveImage%2Faction)%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2253px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3A%20Resets%20password%20on%20the%20template%20VM.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2253px%22%3EOther%20(resetPassword%2Faction)%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2253px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAcounts%2Flabs%2FenvironmentSettings%2Fschedules%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3EDelete%20a%20scheduled%20event.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2253px%22%3EDelete%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2227px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAcounts%2Flabs%2FenvironmentSettings%2Fschedules%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3EAdd%20or%20modify%20a%20scheduled%20event.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2227px%22%3EWrite%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2227px%22%3E%3CP%3EMicrosoft.LabServices%2FlabAccounts%2Flabs%2Fusers%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDescription%3A%26nbsp%3B%3C%2FSTRONG%3EModifies%20user%2C%20such%20as%20an%20individual's%20quota.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2227px%22%3EWrite%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnother%20option%2C%20is%20to%20edit%20the%20custom%20role's%20JSON%20directly%20under%20the%20%3CSTRONG%3EJSON%3C%2FSTRONG%3E%20tab%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22properties%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22roleName%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22AzLabsCustomContributorRole%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22description%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Custom%26nbsp%3Bcontributor%26nbsp%3Brole%26nbsp%3Bfor%26nbsp%3Blabs%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22assignableScopes%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%2Fsubscriptions%2F%3CSTRONG%3E%7BYour%20Sub%20ID%7D%3C%2FSTRONG%3E%22%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22permissions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22actions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22*%22%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22notActions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Authorization%2F*%2FDelete%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Authorization%2F*%2FWrite%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Authorization%2FelevateAccess%2FAction%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Blueprint%2FblueprintAssignments%2Fwrite%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Microsoft.Blueprint%2FblueprintAssignments%2Fdelete%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%22Microsoft.LabServices%2FlabAccounts%2Flabs%2Fdelete%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2Fwrite%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2FStart%2Faction%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2FStop%2Faction%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2FSaveImage%2Faction%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2FResetPassword%2Faction%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2FPublish%2Faction%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2Fwrite%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2Fusers%2Fwrite%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2Fschedules%2Fdelete%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2Fschedules%2Fwrite%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22Microsoft.LabServices%2FlabAccounts%2Flabs%2FenvironmentSettings%2Fdelete%22%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22dataActions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%5D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22notDataActions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3ENOTE%3C%2FSTRONG%3E%3A%20In%20the%20above%20JSON%2C%20make%20sure%20that%20you%20replace%20%22%7BYour%20Sub%20ID%7D%22%20with%20the%20ID%20of%20your%20Azure%20subscription.%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.%26nbsp%3B%20Once%20you%E2%80%99re%20done%20making%20changes%20to%20the%20custom%20role%E2%80%99s%20permissions%2C%20click%20the%20%3CSTRONG%3EReview%20%2B%20update%20%3C%2FSTRONG%3Ebutton%2C%20followed%20by%20the%20%3CSTRONG%3EUpdate%20%3C%2FSTRONG%3Ebutton%20to%20save%20the%20custom%20role.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E5.%20To%20grant%20these%20permissions%20to%20a%20teacher%2C%20you%20will%20need%20assign%20the%20teacher%20two%20roles%20%E2%80%93%20refer%20to%20the%20article%20about%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Flab-services%2Fadministrator-guide%23manage-identity%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EManaging%20Identity%3C%2FA%3E%20for%20more%20info%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20%3CSTRONG%3EReader%3C%2FSTRONG%3E%20role%20at%20the%20lab%20account%20level.%3C%2FLI%3E%0A%3CLI%3EThe%20custom%20role%20that%20you%20defined%20in%20the%20previous%20steps%2C%20at%20the%20lab%20level.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E6.%26nbsp%3B%26nbsp%3BWhen%20a%20teacher%20accesses%20the%20lab%E2%80%99s%20management%20screens%2C%20they%20will%20still%20be%20able%20to%20see%20the%20buttons%20for%20all%20the%20management%20operations.%26nbsp%3B%20However%2C%20when%20they%20attempt%20to%20perform%20actions%20or%20save%20changes%20to%20permissions%20that%20are%20denied%20by%20the%20custom%20role%2C%20they%20will%20receive%20an%20error%20message%20and%20will%20be%20prevented%20from%20completing%20the%20operation.%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId--953326088%22%20id%3D%22toc-hId--953326088%22%3E%26nbsp%3B%3C%2FH4%3E%0A%3CH4%20id%3D%22toc-hId-1534186745%22%20id%3D%22toc-hId-1534186745%22%3EPowerShell%20Script%3C%2FH4%3E%0A%3CP%3EWe%20also%20have%20added%20a%20PowerShell%20script%20that%20you%20can%20use%20to%20automatically%20import%20this%20example%20custom%20role%20for%20you.%26nbsp%3B%20%26nbsp%3BYou%20can%20find%20this%20script%20along%20with%20the%20steps%20to%20run%20it%2C%20in%20our%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-devtestlab%2Ftree%2Fmaster%2Fsamples%2FClassroomLabs%2FScripts%2FCustomContributorRole%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20repo%3C%2FA%3E.%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId--273267718%22%20id%3D%22toc-hId--273267718%22%3E%26nbsp%3B%3C%2FH4%3E%0A%3CH4%20id%3D%22toc-hId--2080722181%22%20id%3D%22toc-hId--2080722181%22%3ETroubleshooting%3C%2FH4%3E%0A%3CP%3EWhen%20you%20create%20a%20custom%20role%2C%20if%20you%20get%20the%20error%20message%20%22Role%20definition%20limit%20exceeded.%26nbsp%3B%20No%20more%20role%20definitions%20can%20be%20created.%22%2C%20ensure%20that%20you%20haven't%20exceeded%20the%202000%20role%20assignment%20limit%20per%20subscription.%26nbsp%3B%20More%20details%20can%20be%20found%20in%20the%20article%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Ftroubleshooting%23azure-role-assignments-limit%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20role%20assignments%20limit%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20hope%20that%20you%20find%20this%20post%20helpful!%3C%2FP%3E%0A%3CP%3E~Az%20Labs%20team%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2113016%22%20slang%3D%22en-US%22%3E%3CP%3ERead%20this%20blog%20post%20to%20see%20how%20to%20create%20a%20custom%20role%20that%20gives%20you%20greater%20control%20over%20the%20permissions%20that%20are%20granted%20to%20teachers%20for%20managing%20labs.%26nbsp%3B%20For%20example%2C%20only%20give%20a%20teacher%20permission%20to%20add%5Cremove%20students%2C%20send%20email%20invitations%2C%20and%20start%5Cstop%5Creset%20student%20VMs.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2113016%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELab%20Services%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Feb 16 2021 08:12 AM
Updated by: