<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Azure Lab Services Blog articles</title>
    <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/bg-p/AzureLabServicesBlog</link>
    <description>Azure Lab Services Blog articles</description>
    <pubDate>Sat, 18 Apr 2026 22:48:17 GMT</pubDate>
    <dc:creator>AzureLabServicesBlog</dc:creator>
    <dc:date>2026-04-18T22:48:17Z</dc:date>
    <item>
      <title>Azure Lab Services - lab plan outage - April 15, 2025</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-lab-plan-outage-april-15-2025/ba-p/4404489</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Azure Lab Services is currently experiencing an outage affecting customers using&amp;nbsp;&lt;STRONG&gt;Lab Plans&lt;/STRONG&gt;&amp;nbsp;for their service. Customers using&amp;nbsp;&lt;STRONG&gt;Lab Accounts&lt;/STRONG&gt; are not affected. This issue impacts all operations across all regions.&lt;/P&gt;
&lt;P&gt;The root cause has been identified, and a hotfix is being rolled out. We expect service to be fully restored by the end of the business day (CDT) on April&amp;nbsp; 15, 2025. We will provide updates about the outage in this blog post until the issue is fully resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 15:40:03 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-lab-plan-outage-april-15-2025/ba-p/4404489</guid>
      <dc:creator>agopinathan</dc:creator>
      <dc:date>2025-04-15T15:40:03Z</dc:date>
    </item>
    <item>
      <title>Azure Lab Services - performance issues in UK South region - January 21, 2025</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-performance-issues-in-uk-south-region-january/ba-p/4369118</link>
      <description>&lt;P&gt;We are currently experiencing performance issues in the UK South region. &amp;nbsp;That may cause some operations to take longer than usual to complete. This delay can result in certain virtual machines becoming stuck in the starting or stopping state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our engineering team is actively working on mitigating the issue and has started rolling out several changes aimed at improving performance. We are also closely monitoring the region and unblocking affected virtual machines as soon as any issues are detected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For new labs, we recommend selecting a different region (other than UK South) until the issue is fully resolved. We will provide the next status update by &lt;STRONG&gt;January 24, 2025&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We sincerely apologize for any inconvenience this may cause and deeply appreciate your understanding and patience as we work to restore optimal performance. Thank you for choosing our services.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 21:02:29 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-performance-issues-in-uk-south-region-january/ba-p/4369118</guid>
      <dc:creator>Stan_Ageev</dc:creator>
      <dc:date>2025-01-21T21:02:29Z</dc:date>
    </item>
    <item>
      <title>Azure Lab Services - Upcoming maintenance update on February 8, 2025</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-upcoming-maintenance-update-on-february-8/ba-p/4363982</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On February 8, 2025, we will be updating Lab Account Service between 2:00 PM - 11:00 PM UTC.&lt;/P&gt;
&lt;P&gt;This maintenance will only affect the Lab Account Service not Lab Plan Service. Please expect downtime for most common operations like create/ update/ delete labs, start/stop virtual machines etc. The Lab Account service will be available after the update. Thank you for your patience.&lt;/P&gt;
&lt;P&gt;Refer to this blog post for the latest update on this maintenance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Lab Services team.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 21:12:51 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-upcoming-maintenance-update-on-february-8/ba-p/4363982</guid>
      <dc:creator>yixiaoli</dc:creator>
      <dc:date>2025-01-08T21:12:51Z</dc:date>
    </item>
    <item>
      <title>Azure Lab Services - Upcoming maintenance update on October 12, 2024</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-upcoming-maintenance-update-on-october-12/ba-p/4237963</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Hello all,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;On October 12th, 2024, we will be updating our system between 7:00 AM and 6:00 PM CST. This maintenance will only affect the creation of new Canvas labs or the management of existing Canvas labs through our service. The Canvas labs functionality will be available again after the update. &lt;BR /&gt;&lt;BR /&gt;Refer to this &lt;A href="https://aka.ms/canvasupdate" target="_self"&gt;blog post&lt;/A&gt; for the latest update on this maintenance:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Fawad&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 17:52:35 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-upcoming-maintenance-update-on-october-12/ba-p/4237963</guid>
      <dc:creator>Fawad_Khan</dc:creator>
      <dc:date>2024-09-12T17:52:35Z</dc:date>
    </item>
    <item>
      <title>ISSUE RESOLVED: Azure Lab Services - lab plan outage - September 12, 2024</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/issue-resolved-azure-lab-services-lab-plan-outage-september-12/ba-p/4243615</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Azure Lab Services is currently experiencing an outage affecting customers using &lt;STRONG&gt;Lab Plans&lt;/STRONG&gt; for their service. Customers using &lt;STRONG&gt;Lab Accounts&lt;/STRONG&gt; are not affected. This issue impacts all operations across all regions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The root cause has been identified, and a hotfix is being rolled out. We expect service to be fully restored by the end of the business day (CDT) on September 12, 2024. We will provide updates about the outage in this blog post until the issue is fully resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We apologize for any inconvenience and disruption this may cause.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 19:26:42 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/issue-resolved-azure-lab-services-lab-plan-outage-september-12/ba-p/4243615</guid>
      <dc:creator>Stan_Ageev</dc:creator>
      <dc:date>2024-09-12T19:26:42Z</dc:date>
    </item>
    <item>
      <title>Hardware support change with GPU labs that use lab accounts</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/hardware-support-change-with-gpu-labs-that-use-lab-accounts/ba-p/4020895</link>
      <description>&lt;P&gt;Azure Datacenters regularly refresh hardware to ensure the highest quality offerings are available. An upcoming hardware change will impact specific lab account-based GPU SKUs.&amp;nbsp;This is due to the Azure virtual machine families (&lt;A class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://learn.microsoft.com/en-us/azure/virtual-machines/nv-series-retirement" href="https://learn.microsoft.com/en-us/azure/virtual-machines/nv-series-retirement" target="_blank" rel="noreferrer noopener" aria-label="Link NV"&gt;NV&lt;/A&gt; and &lt;A class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://learn.microsoft.com/en-us/azure/virtual-machines/nc-series-retirement" href="https://learn.microsoft.com/en-us/azure/virtual-machines/nc-series-retirement" target="_blank" rel="noreferrer noopener" aria-label="Link NC"&gt;NC&lt;/A&gt;) that back these specific virtual machines sizes being deprecated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have labs using a lab account created before February 22, 2024 with one of these &lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide-1#vm-sizing" target="_blank" rel="noopener"&gt;virtual machine sizes&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Small GPU (Compute)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Small GPU (Visualization)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Medium&amp;nbsp;GPU&amp;nbsp;(Visualization)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Please finish using your current lab setup by July 15, 2024, to avoid any issues. If you need to use labs with these specific virtual machine sizes after that date, then you'll have to set up a new lab which will have the latest hardware.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you choose to continue labs with older hardware, you may receive an allocation error similar to:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;I&gt;"Unable to start due to Allocation failed. We do not have sufficient capacity for the requested VM size in this region."&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Lab Account GPU SKU Q&amp;amp;A&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Which specific GPU SKUs are impacted?&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Lab account-based labs created before February 22, 2024 using: &lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Small GPU (Visualization)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Medium GPU (Visualization)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Small GPU (Compute))&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;How long will I have to transition?&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Until July 15, 2024&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Which is recommended?&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;For Lab Accounts, create a new lab before July 15, 2024. &amp;nbsp;You do &lt;I&gt;not&lt;/I&gt; need to move to using Lab Plans.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Are there any cost differences?&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;No, costs will remain the same.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Is performance different?&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Yes, performance should be better for all SKUs involved.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Are labs with lab plan impacted?&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;No, they are not.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 20:00:11 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/hardware-support-change-with-gpu-labs-that-use-lab-accounts/ba-p/4020895</guid>
      <dc:creator>nicolehaugen</dc:creator>
      <dc:date>2024-04-05T20:00:11Z</dc:date>
    </item>
    <item>
      <title>Daylight savings time adjustments and Lab Schedules</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/daylight-savings-time-adjustments-and-lab-schedules/ba-p/4001496</link>
      <description>&lt;P&gt;We became aware of an issue where some customers reported that their schedules were not starting on time.&amp;nbsp; We noticed that this appeared to be happening after daylight savings time (DST) came to end on November 5th in the United States and Canada. After investigating, we determined that a schedule created during DST (in a time zone that honors DST) would start an hour later than desired after DST had ended.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Update (12/19/2023) - The fix has been rolled out across the service. Please proceed in reading this article and following the same troubleshooting steps should you be encountering any issues.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;A long-term fix to the issue has completed its roll out. To determine if you were affected by this issue and if you may have any actions to complete to adjust your schedules, please see the guidelines&amp;nbsp;below:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Were you not affected by schedules starting incorrectly?
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;No action required&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;You were affected and worked around the issue by adjusting the date on the schedule or deleting or recreating your schedule?
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;No action required&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;You were affected and currently have no work-around?
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;We suggest modifying the date of the schedule to be a time&amp;nbsp;&lt;STRONG&gt;after&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;DST ended in your time zone. For example, a schedule with a date of June 15th, 2023 could be modified to some date&amp;nbsp;&lt;U&gt;after&lt;/U&gt;&lt;/EM&gt;&lt;EM&gt; November 5th, 2023:&lt;/EM&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;If you choose to take no action, your schedule should be fixed automatically in the next week or two.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;You were affected and adjusted your schedule by an hour to compensate for the hour difference in the start and stop?
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;We are currently deploying a fix to existing schedules that we would expect to break this workaround since our fix will honor schedules regardless of the date they have configured. As such, you have a few options:&lt;/EM&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;EM&gt;Delete and recreate your schedule&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Adjust the start and stop times of your schedule their actual desired times and adjust the start date to be a date that is after DST ended in your time zone (the same solution as in scenario #3 above)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Wait for our changes to deploy to your region and then readjust your schedule's start and stop times.&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If you need additional assistance in fixing any issues you may have with schedules, please&amp;nbsp;&lt;SPAN data-contrast="auto"&gt;open an&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/azure/azure-portal/supportability/how-to-create-azure-support-request" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN data-contrast="none"&gt;Azure Support Ticket.&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 19:19:57 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/daylight-savings-time-adjustments-and-lab-schedules/ba-p/4001496</guid>
      <dc:creator>adamasmar</dc:creator>
      <dc:date>2023-12-19T19:19:57Z</dc:date>
    </item>
    <item>
      <title>Troubleshooting Guide for Virtual Machine Connectivity (RDP/SSH)</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/troubleshooting-guide-for-virtual-machine-connectivity-rdp-ssh/ba-p/3949742</link>
      <description>&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Azure Lab Services requires RDP &amp;amp; SSH access to connect to the lab template and student virtual machines (this applies whether using advanced networking or not). There are a common set of issues and pitfalls that affect the connectivity for students &amp;amp; teachers to their lab resources.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto"&gt;Fundamentally, the service needs an unobstructed network path from the individual's machine (Chromebook, iPad, PC, Mac, etc.) to their virtual machine in Azure to complete the connection. This can be impacted/affected by many things. The troubleshooting steps below include areas to check throughout the path of connectivity.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Other Troubleshooting Guides&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;There is an Azure Troubleshooting guide that has some good data on &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Cannot connect with RDP to a Windows VM in Azure - Virtual Machines&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;. However, Azure Lab Services is a managed offering where some of the backing resources for a Lab are not directly accessible. This affects the ability to complete each of the steps within this guide.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="1"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;All Labs Troubleshooting Items&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;There are troubleshooting items that apply to all labs - whether the lab is using advanced networking or standard networking, but there are other pitfalls listed for advanced networking section at the end.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Connection is too slow&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;A slow RDP connection is one of the more difficult problems to debug and fix. The first action should be to quantify the RDP connection speed. In the post &lt;/SPAN&gt;&lt;A href="https://techcommunity.microsoft.com/t5/azure-lab-services-blog/how-to-ensure-the-best-rdp-experience-for-lab-users/ba-p/2813369" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;How to ensure the best RDP experience for lab users&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;, the utility PsPing is used to measure the response time to the machine. This post includes information about different methods to improve RDP performance.&amp;nbsp; If the connection experience seems slow, the first step may be to &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/windows-server/administration/performance-tuning/role/remote-desktop/session-hosts#client-experience-settings" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;adjust the settings in the client experience&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; to reduce the volume of data being transmitted.&amp;nbsp; The next step is to determine the scope of the problem, which answering the following questions should help:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-leveltext="-" data-font="Calibri" data-listid="2" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;-&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Is it a specific machine?&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="-" data-font="Calibri" data-listid="2" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;-&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Is it a specific lab?&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="-" data-font="Calibri" data-listid="2" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;-&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Is there a VPN being used?&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="-" data-font="Calibri" data-listid="2" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;-&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Is it slow on a specific network?&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="-" data-font="Calibri" data-listid="2" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;-&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="5" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Is there a firewall on the network?&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="-" data-font="Calibri" data-listid="2" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;-&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="6" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Is it slow with a specific ISP?&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;I’ll walk through each of these questions and suggestions for ways to improve the experience.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;A specific machine is slow&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;: We usually don’t see this type of slowdown on a consistent basis, commonly it’s related to lab, network, or ISP for the student.&amp;nbsp; In Azure Lab Services, Teachers and Students can use the &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#redeploy-vms%22%20%EF%B7%9FHYPERLINK%20%22https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#redeploy-vms" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;redeploy capability&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; to change the backing infrastructure (VM, network, etc.) which could improve the experience.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Specific lab is slow:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt; If all the machines in a lab are running slow there are a few ways to troubleshoot the connection:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="7" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Check the region that the lab is created in with respect to where your students are, the further away the greater the chances of slow connection speed.&amp;nbsp; This is testable by creating another lab in a closer region and checking if connections to virtual machines in the new lab are faster than the current lab.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="8" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Check the lab machine size for the software used in the class.&amp;nbsp; If all the machines are “slow” it may be the machine is undersized for the software/class type and the slowdown may not be the connection speed.&amp;nbsp; This can be tested by creating a lab with more CPU or RAM than the current lab and verifying performance.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;VPN is being used:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt; A good troubleshooting step is to turn off the VPN to see if that improves the connection speed. If it is the VPN and it is required, then review the VPN settings and configuration to possibly allow RDP or SSH connections to be “passed through”, connections aren’t routed to distant regions or routed incorrectly.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;On a specific network/firewall: &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Any network from an enterprise level network to a student's home router/Wi-Fi combination can impact the connectivity to Azure Lab Services.&amp;nbsp; For example, we’ve seen where some students’ home routers have built-in firewalls that block or limit the RDP/SSH connections.&amp;nbsp; Check if there is a firewall enabled on the network and if it is configured to limit the RDP/SSH connections.&amp;nbsp; There are specific details below.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;On a specific internet service provider:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt; Ok, this is a difficult one to test as most people don’t have two ISPs to connect to. If the slowdown is on a specific network and you’ve exhausted all the other options, you may want to contact your ISP to see if they have any limiters on RDP/SSH connections.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Virtual Machine not running&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Commonly when the students get the message, “Remote Desktop can’t connect to the remote computer …&amp;nbsp; Make sure the remote computer is turned on and connected to the network, and that remote access is enabled”, the virtual machine that the students are trying to connect to hasn’t completely started yet.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;There are a few different techniques and adjustments that may improve this type of problem. The first step is to open the Lab portal (&lt;/SPAN&gt;&lt;A href="https://labs.azure.com/" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;https://labs.azure.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; ) and check that the virtual machine shows as running.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Not running:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Starting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;(The virtual machine cannot be connected to yet)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Running:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Teacher’s view of all VMs (stopped, starting &amp;amp; running)&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The student can start the virtual machine from their lab portal (&lt;A href="https://techcommunity.microsoft.com/labs.azure.com" target="_self"&gt;https:/labs.azure.com&lt;/A&gt;).&amp;nbsp; It may take between 2 to 5 minutes to get the machine fully running.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Adjusting the &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-shutdown-disconnect" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;lab automatic shutdown settings&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; may improve the student connection experience.&amp;nbsp; As turning on and off the virtual machine takes time, adjusting the settings may decrease the chances of the student trying to connect while the machine is changing state.&amp;nbsp; While the automatic shutdown settings are part of a cost savings strategy, they may need to be adjusted to improve the student experience.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="10" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Shut down idle virtual machines&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;: If the duration is too short, there may not be enough time from when the student starts the machine and then connects, or if the student is not active (in-classroom learning for example), the virtual machine may be shutdown.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="10" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Shut down virtual machines when users disconnect&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;: If there is too small a time delay, you can run into issues where an accidental disconnect will start a shutdown. Students will need to start the virtual machine again to connect.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="10" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Shut down virtual machines when users do not connect&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;: If students do not connect to the virtual machine after some time and if the duration is too short, the virtual machine will be shutdown.&amp;nbsp; This can affect students starting the virtual machine themselves, or if schedules are used in the lab.&amp;nbsp; Changing the idle setting to a longer duration is an option but has potential cost implications.&amp;nbsp; If schedules are being used, the virtual machines can be started closer to when the class time starts.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Outbound from the School/University/Enterprise/Home Network (local Firewalls)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The network can be a point of interference when firewall(s), switches, routers or other network appliances block or limit RDP/SSH (3389/22) ports or HTTPS ports (443).&amp;nbsp; There are a couple of points where this can happen, either at school or on the local network router at the student’s home.&amp;nbsp; For example, there have been situations where modern routers, especially WIFI 6, have default behavior to block or restrict the RDP/SSH or HTTPS connections.&amp;nbsp; We also see this on campus firewalls restricting outbound RDP/SSH connections to the internet.&amp;nbsp; If you can’t generally remove restrictions, you can usually add an exemption for the &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-firewall-settings#find-public-ip-for-a-lab" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;lab public IP address&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;.&amp;nbsp; You’ll need to get an IP address for each lab and add those IP addresses to the allow list for the firewall or router.&amp;nbsp; We also see the operating system (Windows &amp;amp; Linux) that can restrict outbound RDP/SSH access and HTTPS connections to connect to the machine.&amp;nbsp; Consult the operating system firewall documentation to enable RDP/SSH/HTTPS connectivity (ports 3389/22/443).&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Misconfigurations on the Student Virtual Machine&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;When students are administrators on their virtual machine, they can make system changes including the network configuration.&amp;nbsp; The student may accidentally change the network configuration in the operating system causing connectivity issues (and virtual machine startup issues).&amp;nbsp; Some examples of these misconfigurations are:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="9" data-list-defn-props="{&amp;quot;335551671&amp;quot;:0,&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="0" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Updating the IP Address to a static IP instead of specified as a dynamic IP&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="9" data-list-defn-props="{&amp;quot;335551671&amp;quot;:0,&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="0" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Disabling DCHP (preventing automatically getting an IP address)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="9" data-list-defn-props="{&amp;quot;335551671&amp;quot;:0,&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="0" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Specifying DNS servers (this should not be specified on the virtual machine.&amp;nbsp; If custom DNS is needed, please use Advanced Networking and specify custom DNS servers on the virtual network)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Students running as administrators can also update the local user groups and permissions which could inadvertently block the ability to connect to the machine.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;To proactively prevent these types of mistakes, the template can be setup a &lt;/SPAN&gt;&lt;A href="https://techcommunity.microsoft.com/t5/azure-lab-services-blog/running-a-powershell-shutdown-script-on-windows-lab-services/ba-p/3273163" target="_blank" rel="noopener"&gt;script to auto-reset the networking on machine shutdown.&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;&amp;nbsp; This article shows how to run a script on shutdown that will reset the network configuration.&amp;nbsp; Otherwise, students or teachers would need to reimage their virtual machine which will get them back to a good state.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Username/password provided doesn’t work on Student VMs when logging in&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;If the students are unable to connect to their machines using the username and password for the lab with the following message, “Your credentials did not work”:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;There are a couple of different reasons that this may occur:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI data-leveltext="%1)" data-font="Aptos" data-listid="11" data-list-defn-props="{&amp;quot;335552541&amp;quot;:0,&amp;quot;335559684&amp;quot;:-1,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769242&amp;quot;:[65533,0],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;%1)&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Student using wrong credentials&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;: Please confirm that the student is using the correct username and password for the lab.&amp;nbsp; If the lab has been created with the “Use same password for all virtual machines” enabled, then the username and password should be the same for every student.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI data-leveltext="%1)" data-font="Aptos" data-listid="11" data-list-defn-props="{&amp;quot;335552541&amp;quot;:0,&amp;quot;335559684&amp;quot;:-1,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769242&amp;quot;:[65533,0],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;%1)&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Student forgot their password&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;:&amp;nbsp; If they have a custom password and have forgotten it, then the student can &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-set-virtual-machine-passwords" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;reset the password on the machine from the lab portal&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;. Additionally, the student can &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-reset-and-redeploy-vm" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;reset the machine&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;, but any user data will be deleted and not be retrievable.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI data-leveltext="%1)" data-font="Aptos" data-listid="11" data-list-defn-props="{&amp;quot;335552541&amp;quot;:0,&amp;quot;335559684&amp;quot;:-1,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769242&amp;quot;:[65533,0],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;%1)&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Shared Password + Azure Compute Gallery image:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;&amp;nbsp; If other students can’t login using the common lab username and password and the lab was created using an existing custom image this may be caused by a known &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-access-lab-vm#unable-to-login-with-the-credentials-you-used-for-creating-the-lab" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;limitation&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;.&amp;nbsp; The workaround is to use the username and password when the image was created or reset the password.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI data-leveltext="%1)" data-font="Aptos" data-listid="11" data-list-defn-props="{&amp;quot;335552541&amp;quot;:0,&amp;quot;335559684&amp;quot;:-1,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769242&amp;quot;:[65533,0],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;%1)&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Virtual Machine was compromised&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt;: There are situations where a student password could be fraudulently changed by a bad actor.&amp;nbsp; The student can &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-set-virtual-machine-passwords" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;reset their password&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; to regain access to the machine, but here are some suggestions to reduce the likelihood of this happening:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;UL&gt;
&lt;LI data-leveltext="o" data-font="Courier New" data-listid="9" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:1440,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Courier New&amp;quot;,&amp;quot;469769242&amp;quot;:[9675],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;o&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="2"&gt;&lt;SPAN data-contrast="auto"&gt;Do not use common passwords, uncheck the use same password option when creating the lab.&amp;nbsp; Having individual specific passwords reduces the scope if the password is compromised.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="o" data-font="Courier New" data-listid="9" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:1440,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Courier New&amp;quot;,&amp;quot;469769242&amp;quot;:[9675],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;o&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="2"&gt;&lt;A href="https://support.microsoft.com/en-us/windows/create-and-use-strong-passwords-c5cebb49-8c53-4f5e-2bc4-fe357ca048eb" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Use strong passwords and secure it&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI data-leveltext="o" data-font="Courier New" data-listid="9" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:1440,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Courier New&amp;quot;,&amp;quot;469769242&amp;quot;:[9675],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;o&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="2"&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-student-usage" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Restrict access to the lab&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;, so that only those students that are in the class can access the machines. By default, the lab is restricted.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;OL&gt;
&lt;LI data-leveltext="%1)" data-font="Aptos" data-listid="11" data-list-defn-props="{&amp;quot;335552541&amp;quot;:0,&amp;quot;335559684&amp;quot;:-1,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769242&amp;quot;:[65533,0],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;%1)&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="5" data-aria-level="1"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;Remote Desktop Gateway configured:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt; The remote desktop client the students are using may have a Remote Desktop Gateway configured.&amp;nbsp; If so, they would need to enter their gateway credentials first (to authenticate to the gateway) before connecting to their student VM.&amp;nbsp; (NOTE: This is not common.)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P aria-level="2"&gt;&lt;STRONG&gt;&lt;FONT size="4" color="#800000"&gt;Confirm no lab deployment issues&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;While not directly related to RDP/SSH connection troubleshooting, if the lab has a failure the machine connections may not work properly. The &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log?tabs=powershell" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Azure activity log&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; is the most comprehensive list of events and results.&amp;nbsp; Commonly, the activity log will be filtered on the resource group that the lab is located in. The events may take a few minutes to be available in the log.&amp;nbsp; These event logs will contain more detailed information that can be used for troubleshooting and should be included if a support ticket needs to be created.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Unable to connect an outgoing VPN from a Student VM&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;If students are attempting to use a VPN connection initiated from a student VM (to the campus/university network for example) and the VPN fails to connect, this is most likely due to the VPN having issues with the Azure Lab Services network configuration.&amp;nbsp; Please open an Azure Support Ticket to get help from Microsoft on resolving this.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Unable to connect via RDP to my Linux VM&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;RDP is not enabled by default by Azure Lab Services on Linux VMs.&amp;nbsp; To enable RDP for your Linux-based lab, please follow the guide in our documentation &lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-remote-desktop-linux" target="_self"&gt;enable graphical remote desktop for Linux labs&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P aria-level="1"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Advanced Networking Troubleshooting Items&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The list below contains troubleshooting items that apply to &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-services-supported-networking-scenarios" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;advanced networking scenarios&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; only.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Missing a Network Security Group&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;When troubleshooting a lab plan that has advanced networking configured, one of the first checks is to confirm that the lab services network subnet has a &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/manage-network-security-group?tabs=network-security-group-portal" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;network security group&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; connected to it.&amp;nbsp; This will let the &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-vnet-injection#associate-delegated-subnet-with-nsg" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;RDP/SSH connections to be allowed&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; through.&amp;nbsp; Without a network security group, all connections are blocked to the virtual machines (template VM and student VMs).&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Using Azure Virtual Machine RDP Troubleshooting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;There are unique troubleshooting techniques with labs that are &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-vnet-injection" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;configured with advanced networking&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;.&amp;nbsp; Advanced networking enables additional troubleshooting by creating an &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-portal" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Azure Virtual Machine&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; connected directly to the virtual network that the lab plan is connected to. Using this Azure VM (outside of Azure Lab Services), you can use the &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Azure Virtual Machine RDP Troubleshooting guide,&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; including the in-Azure connection troubleshooter, to determine if the network is configured correctly.&amp;nbsp; If you’re still unable to connect to the virtual machine, please see the following section.determine if the network is configured correctly.&amp;nbsp; If you’re still unable to connect to the virtual machine, please see the following section.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;NSG Rules are blocking RDP/SSH connections&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Using the Azure VM that is connected directly to the virtual network (from the previous section), you can &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-network-traffic-filtering-problem" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;diagnose virtual machine network connectivity&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; directly in the Azure Portal.&amp;nbsp; The blocking or limiting of the RDP/SSH connections via security rules can be done at the subnet with a &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Network Security Group&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; or by using &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network-manager/overview" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Azure Virtual Network Manager&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;, the easiest way to see the full list of rules is via the Azure Virtual Machine network &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/network-watcher/effective-security-rules-overview" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;effective security rules&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="2"&gt;&lt;FONT size="4" color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Default User Defined Route (Route table problem)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:40,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-vnet-injection" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Advanced networking&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; allows the network to be customized as needed, including modifying the route table.&amp;nbsp; A &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;user-defined route table&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; directs traffic to the appropriate destinations.&amp;nbsp; There is a special route, the “internet route” (0.0.0.0/0) which directs traffic not bound for another local address to the Internet.&amp;nbsp; Azure Lab Services advanced networking &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;does not support&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-contrast="auto"&gt; updating the ‘next hop’ for the 0.0.0.0/0 route to anything except the internet.&amp;nbsp; Changing this to a specific IP address (for example, directing outbound internet traffic to a firewall or other network appliance) will break connectivity to the lab by introducing an &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/expressroute/expressroute-asymmetric-routing" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;asymmetric routing issue&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt;.&amp;nbsp; When debugging issues, check for a &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/manage-route-table" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;custom route table&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; and make sure that the default route is set to have 0.0.0.0/0 to the Internet.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P aria-level="1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P aria-level="1"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Contact Microsoft for Help&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;If all else fails and none of the troubleshooting items above helped, please open an &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/azure/azure-portal/supportability/how-to-create-azure-support-request" target="_blank" rel="noopener"&gt;&lt;SPAN data-contrast="none"&gt;Azure Support Ticket&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-contrast="auto"&gt; to get help from Microsoft on resolving the connection issues.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:28:02 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/troubleshooting-guide-for-virtual-machine-connectivity-rdp-ssh/ba-p/3949742</guid>
      <dc:creator>PeterHauge</dc:creator>
      <dc:date>2024-09-05T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Using student accounts without admin privileges</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/using-student-accounts-without-admin-privileges/ba-p/3941048</link>
      <description>&lt;P&gt;In the version of &lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-whats-new" target="_blank" rel="noopener"&gt;Azure Lab Services that uses lab plans&lt;/A&gt;, you have the option for students to use a non-admin account on their VMs.&amp;nbsp; With a non-admin account, students &lt;EM&gt;don’t&lt;/EM&gt; have full control over the VM and instead only have privileges to perform general computing tasks. We recommend that you follow the principle of least privilege by having students use a non-admin account unless they need to perform tasks that require admin privileges.&amp;nbsp; Here are a few &lt;A href="https://learn.microsoft.com/windows-server/identity/ad-ds/plan/security-best-practices/implementing-least-privilege-administrative-models" target="_blank" rel="noopener"&gt;excerpts&lt;/A&gt; that best describe the principle of least privilege:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;“&lt;/EM&gt;&lt;EM&gt;The principle states that all users should log on with a user account that has the absolute minimum permissions necessary to complete the current task and nothing more. Doing so provides protection against malicious code, among other attacks. This principle applies to computers and the users of those computers."&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;"Always think of security in terms of granting the least amount of privileges required to carry out the task. If an application that has too many privileges should be compromised, the attacker might be able to expand the attack beyond what it would if the application had been under the least amount of privileges possible.”&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Applying this principle helps to reduce the likelihood and the degree of negative impact that can occur if a student has too many privileges:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Stop malicious software&lt;/STRONG&gt; – When using a non-admin account, apps don’t automatically have access to admin privileges.&amp;nbsp; For example, this helps to prevent malware from automatically using admin privileges to infect or damage files on the VM.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Enhance security&amp;nbsp;&lt;/STRONG&gt;– You can set up additional security settings and software directly on the VM to enhance security.&amp;nbsp; When students use a non-admin account, they can’t uninstall or disable these security measures.&amp;nbsp; For example, as part of the VM’s image you can install 3&lt;SUP&gt;rd&lt;/SUP&gt; party content filtering software, apply local group policies, configure local firewall settings, etc.&amp;nbsp; In a future blog post, we’ll share more info on how to enable these types of security measures.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Safeguard against unintended changes &lt;/STRONG&gt;– When students have full admin access, they can inadvertently make changes to their VM that gets it into an unexpected state.&amp;nbsp; Azure Labs provides the ability to &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#reset-vms" target="_blank" rel="noopener"&gt;reset their VM image&lt;/A&gt; to help; however, this often can be avoided by having students use a non-admin account.&amp;nbsp; For example, non-admins are prevented from making accidental changes that can cause their VM to stop working like deleting critical system files, changing IP address settings, blocking outbound access required by Azure, etc.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Before you decide to use a non-admin account for students,&amp;nbsp;you should validate whether students need full control over their VM or if the lab’s software requires admin privileges.&amp;nbsp; Here is a general list of tasks that a non-admin account is blocked from performing:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Installing and removing software&lt;/LI&gt;
&lt;LI&gt;Making system wide config changes, such as to the security, permission, and networking settings&lt;/LI&gt;
&lt;LI&gt;Running software that makes system wide config changes&lt;/LI&gt;
&lt;LI&gt;Creating and deleting files/subfolders that exist with other users' profile/home folder&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For software or curriculums that require students to perform the above types of tasks, students will instead need to use an admin account.&amp;nbsp; If you are unsure whether your lab’s software requires admin privileges, we recommend reaching out to your IT department or the software vendor.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;IMPORTANT – &lt;/STRONG&gt;If your students need to use an admin account, students must take precaution to avoid making changes that can cause their VM to stop working properly.&amp;nbsp; More details are provided on this later in the blog post.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;When you set up a lab with a non-admin account, you should connect to the lab’s template VM with the non-admin account to verify that:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;All software/files that you install are accessible.&lt;/LI&gt;
&lt;LI&gt;Tasks required for the lab can be performed with non-admin privileges.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In Windows, when a non-admin account attempts to perform a task that requires admin privileges, a &lt;A href="https://learn.microsoft.com/windows/security/identity-protection/access-control/local-accounts#restrict-and-protect-local-accounts-with-administrative-rights" target="_blank" rel="noopener"&gt;User Account Control (UAC) prompt&lt;/A&gt; is shown.&amp;nbsp; The UAC prompt blocks the task from being performed unless the user can provide the admin account’s password.&amp;nbsp; For example, if a student that is using a non-admin account attempts to install software, they will see the UAC window and installation will be blocked.&amp;nbsp; However, if a teacher/lab manager is in-person with their student, they can enter the admin account’s password to allow the task to continue with elevated privileges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 1 Windows User Account Control (UAC) prompt for admin account's password&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Linux, when a non-admin account attempts to perform a task that requires admin privileges, they will see a &lt;STRONG&gt;Permission denied&lt;/STRONG&gt; message.&amp;nbsp; For example, if a non-admin account attempts to access a folder that they don’t have read permission for, they will see a &lt;STRONG&gt;Permission denied&lt;/STRONG&gt; message and will be prevented from accessing the folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 2 Linux permission denied message&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the rest of this blog post, we'll show steps on how to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Avoid making changes as an admin that can cause the VM to stop working&lt;/LI&gt;
&lt;LI&gt;Add a non-admin account during lab creation&lt;/LI&gt;
&lt;LI&gt;Set up and validate a Windows lab with a non-admin account&lt;/LI&gt;
&lt;LI&gt;Set up and validate a Windows &lt;A href="https://learn.microsoft.com/azure/lab-services/concept-nested-virtualization-template-vm" target="_blank" rel="noopener"&gt;nested virtualization&lt;/A&gt; lab with a non-admin account for scenarios like &lt;A href="https://learn.microsoft.com/azure/lab-services/class-type-ethical-hacking" target="_blank" rel="noopener"&gt;ethical hacking&lt;/A&gt; and &lt;A href="https://learn.microsoft.com/azure/lab-services/class-type-networking-gns3" target="_blank" rel="noopener"&gt;networking&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Set up and validate a Linux lab with a non-admin account&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Azure Lab Services team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;H2&gt;&lt;SPAN&gt;Avoid making changes as an admin that can cause the VM to stop working&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;You may have scenarios or software that require students to use an admin account.&amp;nbsp; When students are an admin, you’ll need to ensure that they avoid making changes that will prevent their Windows or Linux lab VMs from starting and/or working properly.&amp;nbsp; The effect of these changes is that VMs won’t start, students will lose connectivity to their lab VM, or their VM will unexpectedly shut down without the ability for them to reconnect.&amp;nbsp; Often, the only way to fix these issues is by having the student &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#reset-vms" target="_blank" rel="noopener"&gt;reset their VM image&lt;/A&gt; which will cause all data saved on the OS disk to be lost.&amp;nbsp; The list below shows the types of changes that students should avoid making.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.&amp;nbsp; Don’t change networking settings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Students should be instructed &lt;I&gt;not&amp;nbsp;&lt;/I&gt;to make any changes to their VM’s network settings.&amp;nbsp; For example, changes that prevent the VM from obtaining an IP address:&lt;/P&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;Changing the VM’s IP assignment from dynamic/automatic to static.&lt;/LI&gt;
&lt;LI&gt;Disabling the DNS assignment settings.&lt;/LI&gt;
&lt;LI&gt;Or any other related changes that disable DHCP.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;P&gt;We also recommend setting up a PowerShell script that runs on VM shutdown to ensure the IP address is always set to dynamic/automatic as shown in this blog post: &lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-lab-services-blog%2Frunning-a-powershell-shutdown-script-on-windows-lab-services%2Fba-p%2F3273163&amp;amp;data=05%7C01%7Cnicolela%40microsoft.com%7Cccb6c70fc68a4dd7783208dbc030a641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638315087434814006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=J%2Fu%2BnWDknTStYTafSxmUYzRCL3n3o3RDfGkqLiNaH2I%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;Running a PowerShell Shutdown script on Windows Lab Services machines. - Microsoft Community Hub&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp; Don’t make changes to services&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Azure VM agent relies on local services that are enabled to automatically run in the background.&amp;nbsp; Students shouldn't stop or disable these services because this can have a negative impact on their VM.&amp;nbsp; For example, the Azure VM agent relies on specific services running for the&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Flab-services%2Fhow-to-configure-lab-accounts&amp;amp;data=05%7C01%7Cnicolela%40microsoft.com%7Cccb6c70fc68a4dd7783208dbc030a641%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638315087434814006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=IfRsMTZ0cI4nxXQHbY1p%2B5FM1PXPOLJFB6nq2TanwLQ%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt; automatic shutdown settings&lt;/A&gt; to work properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp; Don’t delete system files/folders&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Azure VM agent also relies on files/folders that are installed on the VM.&amp;nbsp; Deleting these files/folders can cause the VM to stop working.&amp;nbsp; For example, students should avoid making changes to any files/folders under C:\WindowsAzure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4.&amp;nbsp; Don’t make firewall changes&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Students should avoid making any changes to their VM’s local firewall, so that they don’t block outbound connections that are required by the Azure VM agent.&amp;nbsp; From a security perspective, teachers/IT may be interested in enabling firewall rules on VMs.&amp;nbsp; We’ll share more info on how to enable local firewall rules as a security measure in a future blog post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Add a non-admin account during lab creation&lt;/H2&gt;
&lt;P&gt;First, when you &lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/quick-create-connect-lab" target="_blank" rel="noopener"&gt;create a lab&lt;/A&gt;, check the option to &lt;STRONG&gt;Give lab users a non-admin account on their virtual machine&lt;/STRONG&gt;.&amp;nbsp; Checking this option adds two local user accounts to the lab’s VMs:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;An &lt;STRONG&gt;admin account&lt;/STRONG&gt; that a teacher or lab manager uses for full control and access to each VM.&lt;/LI&gt;
&lt;LI&gt;A &lt;STRONG&gt;non-admin account&lt;/STRONG&gt; that students should use for general computing tasks.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Figure 3 Add non-admin account during lab creation&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above steps are prerequisite for the following sections that show how to set up Windows and Linux labs using a non-admin account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Set up a Windows lab with a non-admin account&lt;/H2&gt;
&lt;P data-unlink="true"&gt;&lt;STRONG&gt;1.&amp;nbsp; &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-create-manage-template#update-a-template-vm" target="_blank" rel="noopener"&gt;Connect to the template VM&lt;/A&gt;&lt;/STRONG&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-create-manage-template#update-a-template-vm" target="_self"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After you’ve created a Windows lab with both an admin and non-admin account, connect to the lab’s template VM.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;a.&lt;/STRONG&gt;&amp;nbsp; Use the &lt;STRONG&gt;admin&lt;/STRONG&gt; account so that you have full privileges to change Windows settings, install software, etc.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;b.&lt;/STRONG&gt;&amp;nbsp; When you connect, you will notice that the admin account’s username is automatically populated in the RDP connection file.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 4 Connect to the lab template VM using the admin account&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp; Update the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the image with changes required for the lab, such as installing software and adding files.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a.&lt;/STRONG&gt;&amp;nbsp; Ensure that software is available to all users on the VM.&amp;nbsp; Here are some tips:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Check if the software has options to install for all users.&amp;nbsp; For example, &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-prepare-windows-template#install-onedrive" target="_blank" rel="noopener"&gt;OneDrive provides an "all users" switch&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Install software under &lt;STRONG&gt;Program Files&lt;/STRONG&gt; or &lt;STRONG&gt;Program Files (x86).&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Place shortcuts under &lt;STRONG&gt;C:\Users\Public\Desktop&lt;/STRONG&gt;; to see this folder, you may need to show hidden items using the &lt;STRONG&gt;View&lt;/STRONG&gt;-&amp;gt;&lt;STRONG&gt;Show&lt;/STRONG&gt;-&amp;gt;&lt;STRONG&gt;Hidden&lt;/STRONG&gt; items option.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 5 Show Public\Desktop folder&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;b.&lt;/STRONG&gt;&amp;nbsp; Ensure that any files needed for the lab are copied to an accessible location like the &lt;STRONG&gt;C:\Users\Public&lt;/STRONG&gt; folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp; Verify the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Verify that all software and files that you install are accessible with non-admin privileges.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a.&lt;/STRONG&gt;&amp;nbsp; Increase the lab’s &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-lab-accounts#enable-automatic-shutdown" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Shut down virtual machines when users disconnect &lt;/STRONG&gt;setting&lt;/A&gt; to at least a few minutes.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;By default, the value is zero which can cause the VM to immediately shut down when you disconnect as the admin and attempt to reconnect as the non-admin.&lt;/LI&gt;
&lt;LI&gt;You may want to change this value back to zero after you’re done verifying the template VM.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 6 Increase the shut down virtual machines when users disconnect setting&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;b.&amp;nbsp;&lt;/STRONG&gt; Reconnect to the template VM using the &lt;STRONG&gt;non-admin&lt;/STRONG&gt; account.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You will need to change the user in the RDP connection file by clicking&lt;STRONG&gt; Use a different account &lt;/STRONG&gt;under &lt;STRONG&gt;More choices&lt;/STRONG&gt; and entering in the username and password for the non-admin.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 7 Connect to the lab template VM using the non-admin account&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;c.&amp;nbsp;&lt;/STRONG&gt; Verify the VM’s software and files needed for the lab are accessible using the non-admin account.&amp;nbsp; You may also want to verify some common tasks that students will perform to ensure that admin privileges aren’t required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4.&amp;nbsp; Publish the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;After you’re done verifying the template VM, you are ready to &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-create-manage-template#publish-the-template-vm" target="_blank" rel="noopener"&gt;publish&lt;/A&gt; to create the student VMs. When students connect to their lab VM using RDP, the non-admin account’s username is automatically populated in the RDP connection file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Set up a nested virtualization lab with a non-admin account&lt;/H2&gt;
&lt;P&gt;When students are using Windows nested virtualization for ethical hacking and networking scenarios, it’s possible for them to inadvertently make changes to the host VM that can cause it to stop working properly.&amp;nbsp; You should consider having students use a non-admin account for nested virtualization scenarios to help safeguard against detrimental changes to the host VM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.&amp;nbsp; Connect to the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;After you’ve created a Windows lab with both an admin and non-admin account that supports &lt;A href="https://learn.microsoft.com/azure/lab-services/concept-nested-virtualization-template-vm#considerations" target="_blank" rel="noopener"&gt;nested virtualization&lt;/A&gt;, connect to the lab’s template VM.&amp;nbsp; Use the &lt;STRONG&gt;admin&lt;/STRONG&gt; account so that you have full privileges to enable nested virtualization, install software, etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Update the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the image with changes required to set up nested virtualization.&amp;nbsp; Here are useful resources:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/concept-nested-virtualization-template-vm#enable-nested-virtualization-for-a-lab" target="_blank" rel="noopener"&gt;Enable nested virtualization for a lab&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/class-type-ethical-hacking" target="_blank" rel="noopener"&gt;Ethical hacking with Hyper-V&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/class-type-networking-gns3" target="_blank" rel="noopener"&gt;Networking with GNS3&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;When following the above steps, there is extra configuration required for the non-admin account:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The non-admin account must be added to the &lt;STRONG&gt;Hyper-V administrators &lt;/STRONG&gt;&lt;STRONG&gt;group&lt;/STRONG&gt; so that they have permissions to start/stop nested VMs, but they &lt;EM&gt;won’t&lt;/EM&gt; have full permissions to use Hyper-V such as attaching a new disk.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 8 Add non-admin account to Hyper-V Administrators group&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Disks and VMs must be saved to accessible location, not the default location under &lt;STRONG&gt;%programdata%.&lt;/STRONG&gt; &amp;nbsp;For example, you can put these resources in the &lt;STRONG&gt;C:\Users\Public&lt;/STRONG&gt; folder.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp; Verify the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Like the previous section on how to verify the template VM for a Windows lab, you should verify that all software and files are accessible with non-admin privileges.&amp;nbsp; You should also ensure that nested VMs can be properly created/started and should validate tasks that students will need to perform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 style="margin-bottom: 0in;"&gt;&lt;SPAN&gt;Set up a Linux lab with a non-admin account&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The steps to connect, update, and verify a Linux template VM with an admin/non-admin account varies depending on the:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Distro and version&lt;/LI&gt;
&lt;LI&gt;Connection type (e.g., SSH or RDP)&lt;/LI&gt;
&lt;LI&gt;Graphical desktop environment (e.g., XFCE, MATE, etc.)&lt;/LI&gt;
&lt;LI&gt;Remote desktop server technology (e.g., RDP, X2Go, etc.)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To give you an idea of the steps involved, this section shows how to set up a lab with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://azuremarketplace.microsoft.com/marketplace/apps/canonical.0001-com-ubuntu-server-focal?tab=overview" target="_blank" rel="noopener"&gt;Ubuntu Server 20.04 LTS image&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Both &lt;A href="https://learn.microsoft.com/azure/lab-services/connect-virtual-machine#connect-to-a-linux-lab-vm-using-ssh" target="_blank" rel="noopener"&gt;SSH&lt;/A&gt; and &lt;A href="https://learn.microsoft.com/azure/lab-services/connect-virtual-machine#connect-to-a-linux-lab-vm-using-rdp" target="_blank" rel="noopener"&gt;RDP&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.xfce.org/" target="_blank" rel="noopener"&gt;XFCE GUI desktop&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;1.&amp;nbsp; Connect to the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The steps in this section assume that you’ve created a lab with the &lt;STRONG&gt;Ubuntu Server 20.04 LTS&lt;/STRONG&gt; image and have set the &lt;STRONG&gt;Enabled connection types&lt;/STRONG&gt; setting to &lt;STRONG&gt;Client connection (SSH) &lt;/STRONG&gt;and &lt;STRONG&gt;Client connection (RDP)&lt;/STRONG&gt;.&amp;nbsp; The lab should also have both a non-admin and admin account configured.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 9 Enabled connection types setting during lab creation&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Connect to the lab’s template VM:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;a.&amp;nbsp;&lt;/STRONG&gt; Use the &lt;STRONG&gt;admin&lt;/STRONG&gt; account so that you have sudo privileges.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;b.&lt;/STRONG&gt;&amp;nbsp; The first time that you connect to the template VM, you will need to use SSH so that you can set up RDP and XFCE.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;c.&lt;/STRONG&gt;&amp;nbsp; When you connect, you will notice that the admin account’s username is automatically included in the SSH connection string.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 10 Admin account username in the SSH connection string&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp; Update the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the image with changes required for the lab, such as installing software and adding files:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-machines/linux/use-remote-desktop?tabs=azure-cli#install-a-desktop-environment-on-your-linux-vm" target="_blank" rel="noopener"&gt;Install XFCE&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-machines/linux/use-remote-desktop?tabs=azure-cli#install-and-configure-a-remote-desktop-server" target="_blank" rel="noopener"&gt;Install RDP&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By default, on &lt;STRONG&gt;Ubuntu Server 20.04 LTS&lt;/STRONG&gt;, the admin user has read/execute permission to the non-admin user’s folder, but &lt;EM&gt;not&lt;/EM&gt; write permission.&amp;nbsp; Write permission is required to create and copy files to the &lt;STRONG&gt;/home/*your non-admin username*/&lt;/STRONG&gt; folder.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 11 Default permission for the non-admin user's folder on Ubuntu 20.04&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You’ll need to ensure that the non-admin user has access to software and files needed for the lab.&amp;nbsp; Here are some tips:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a.&amp;nbsp;&lt;/STRONG&gt; Use a package manager to install apps.&amp;nbsp; By default, apps will be available system-wide for all users.&amp;nbsp; For example, with Ubuntu use &lt;STRONG&gt;apt-get.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;b.&lt;/STRONG&gt;&amp;nbsp; XFCE requires that you configure the default desktop environment for the non-admin user.&amp;nbsp; However, you must have write permission to the non-admin user’s folder to run the following command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;sudo echo xfce4-session &amp;gt;/home/*your non-admin username*/.xsession&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;To obtain write permission, you can:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a group and add both the admin/non-admin users.&lt;/LI&gt;
&lt;LI&gt;Give the group ownership of the &lt;STRONG&gt;/home/*your non-admin username*/&lt;/STRONG&gt; folder with &lt;A href="https://help.ubuntu.com/community/FilePermissions" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;rwx&lt;/STRONG&gt;&lt;/A&gt; permissions.&lt;/LI&gt;
&lt;LI&gt;Enable all newly created subfolders and folders under &lt;STRONG&gt;/home/*your non-admin username*/ &lt;/STRONG&gt;to inherit group permissions using the &lt;STRONG&gt;SGID&lt;/STRONG&gt; bit.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;sudo groupadd labUsers

sudo chgrp labUsers /home/nonadminuser/

sudo chmod 770 /home/nonadminuser/

sudo chmod +s /home/nonadminuser/

sudo usermod -a -G labUsers nonadminuser

sudo usermod -a -G labUsers testadmin&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;NOTE: &lt;/STRONG&gt;Other graphical desktops &lt;EM&gt;don’t&lt;/EM&gt; require additional configuration steps for the non-admin user, such as GNOME.&lt;/P&gt;
&lt;P&gt;c.&amp;nbsp; Copy or create any files needed for the lab to the non-admin user’s folder.&amp;nbsp; To obtain permission, you can reuse the same approach as above so that you can create files in the &lt;STRONG&gt;/home/*your non-admin username* &lt;/STRONG&gt;folder.&amp;nbsp; Or you can create a new &lt;A href="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch02.html" target="_blank" rel="noopener"&gt;shared folder&lt;/A&gt; under &lt;STRONG&gt;/home/&amp;nbsp;&lt;/STRONG&gt;and give the group ownership with &lt;STRONG&gt;rwx&lt;/STRONG&gt; permission.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;sudo mkdir /home/sharedFolder/

sudo chgrp labUsers /home/sharedFolder

sudo chmod 770 /home/sharedFolder/&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;NOTE: &lt;/STRONG&gt;The default permissions to the &lt;STRONG&gt;/home/*your non-admin username* &lt;/STRONG&gt;folder can vary based on the distro and version.&amp;nbsp; For example, by default, on &lt;STRONG&gt;Ubuntu Server 22.04 LTS&lt;/STRONG&gt; the admin user &lt;EM&gt;doesn’t&lt;/EM&gt; have read, write, or execute permissions for the &lt;STRONG&gt;/home/*your non-admin username* &lt;/STRONG&gt;folder.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 12 Default permission for the non-admin user's folder on Ubuntu 20.04&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp; Verify the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Verify that all software and files that you install are accessible with non-admin privileges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a.&amp;nbsp;&lt;/STRONG&gt; As mentioned earlier in this post, increase the lab’s &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-lab-accounts#enable-automatic-shutdown" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Shut down virtual machines when users disconnect &lt;/STRONG&gt;setting&lt;/A&gt; to at least a few minutes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;b.&amp;nbsp;&lt;/STRONG&gt; Log out of the SSH terminal and reconnect to the template VM using the &lt;STRONG&gt;non-admin&lt;/STRONG&gt; account.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;To SSH, you will need to change the admin’s username in the connection string to the non-admin’s username.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Figure 13 Change the username in the SSH connection string&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;To RDP, you will also need to change the username to the non-admin account.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Figure 14 Change the username during RDP connection&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;c.&lt;/STRONG&gt;&amp;nbsp; Verify the VM’s software and files using the non-admin account.&amp;nbsp; You may also want to verify some common tasks/commands that students will perform to ensure that sudo privileges aren’t required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4.&amp;nbsp; Publish the template VM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;After you’re done verifying the template VM, you are ready to &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-create-manage-template#publish-the-template-vm" target="_blank" rel="noopener"&gt;publish&lt;/A&gt; to create the student VMs. When a student connect&lt;SPAN&gt;s&lt;/SPAN&gt; to their lab VM, the non-admin account’s username is automatically populated in the SSH connection string and during RDP connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 23:08:23 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/using-student-accounts-without-admin-privileges/ba-p/3941048</guid>
      <dc:creator>nicolehaugen</dc:creator>
      <dc:date>2023-09-28T23:08:23Z</dc:date>
    </item>
    <item>
      <title>Use labs without registering/joining to AD/AAD</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/use-labs-without-registering-joining-to-ad-aad/ba-p/3880261</link>
      <description>&lt;P data-unlink="true"&gt;To make labs easy to set up and manage, Azure Lab Services is designed with &lt;EM&gt;no&lt;/EM&gt; requirement to register/join lab VMs to either Active Directory (AD) or &lt;A href="https://learn.microsoft.com/azure/active-directory/fundamentals/active-directory-whatis" target="_blank" rel="noopener"&gt;Azure Active Directory&lt;/A&gt; (AAD, or now also called &lt;A href="https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/azure-ad-is-becoming-microsoft-entra-id/ba-p/2520436" target="_blank" rel="noopener"&gt;Entra Id&lt;/A&gt;).&amp;nbsp; As a result, Azure Lab Services &lt;EM&gt;doesn’t&lt;/EM&gt; currently offer built-in support to register/join lab VMs.&amp;nbsp;&amp;nbsp; There are some key advantages with this approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Quick and easy setup –&lt;/STRONG&gt; To give students access to a lab and VM, your IT department &lt;EM&gt;doesn’t &lt;/EM&gt;need to set up AD/AAD.&amp;nbsp; Instead, students &lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-connect-lab-virtual-machine#connect-to-the-vm" target="_blank" rel="noopener"&gt;log in to lab VMs&lt;/A&gt; using a local account on the VM and can use a variety of &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-student-usage#user-account-types" target="_blank" rel="noopener"&gt;account types&lt;/A&gt; to sign-in to a lab.&amp;nbsp; Because of the reduced infrastructure involved, setting up and using Azure Lab Services in your environment is quick and easy.&amp;nbsp; Teachers can independently set up, manage, and delete labs without help from your IT department.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Lower management overhead – &lt;/STRONG&gt;There is overhead with managing joined/registered devices in AD/AAD, which goes away with Azure Lab Services since registering/joining lab VMs is a non-requirement.&amp;nbsp; This means &lt;EM&gt;no&lt;/EM&gt; extra work is involved for your IT department to clean up and manage devices in AD/AAD.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Ensure network isolation – &lt;/STRONG&gt;Labs are completely isolated from your network which is ideal when you want to give students admin permission on their lab VMs, especially for &lt;A href="https://learn.microsoft.com/azure/lab-services/class-type-networking-gns3" target="_blank" rel="noopener"&gt;networking&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/azure/lab-services/class-type-ethical-hacking" target="_blank" rel="noopener"&gt;cybersecurity&lt;/A&gt;&lt;SPAN&gt;, and system admin&lt;/SPAN&gt; classes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;We recognize that you may have scenarios where you want to register/join lab VMs.&amp;nbsp; For example, you may want to increase VM security by using tools such as Intune or group policies to control user activity.&amp;nbsp; Support for &lt;A href="https://learn.microsoft.com/azure/active-directory/devices/concept-azure-ad-join" target="_blank" rel="noopener"&gt;AAD joining&lt;/A&gt; lab VMs is being considered for the upcoming product roadmap.&amp;nbsp; In the meantime, &lt;STRONG&gt;we recommend that you &lt;EM&gt;don’t&lt;/EM&gt; attempt to register/join lab VMs to either AD or AAD&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the rest of the blog post, we explain the limitations with the current experience and why we &lt;EM&gt;don’t &lt;/EM&gt;recommend that you register/join lab VMs.&amp;nbsp; In a future blog post, we’ll also talk about other ways that you can increase VM security &lt;EM&gt;without&lt;/EM&gt; having to register/join lab VMs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks,&lt;/P&gt;
&lt;P&gt;Azure Lab Services team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;H1&gt;Why we &lt;EM&gt;don’t&lt;/EM&gt; recommend registering/joining lab VMs&lt;/H1&gt;
&lt;P&gt;To provide clarity, let’s first define common AD/AAD configurations and the options with each one to register/join computers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Full-cloud AAD configuration&lt;/H2&gt;
&lt;P&gt;In a full-cloud AAD configuration, your organization uses AAD and AAD Domain Services to manage computers/users.&amp;nbsp; AAD is a cloud-based, Microsoft managed directory service that typically only requires that a computer has access to the internet.&amp;nbsp; This enables users to either &lt;A href="https://learn.microsoft.com/azure/active-directory/devices/concept-azure-ad-register" target="_blank" rel="noopener"&gt;AAD register&lt;/A&gt; or &lt;A href="https://learn.microsoft.com/azure/active-directory/devices/concept-azure-ad-join" target="_blank" rel="noopener"&gt;AAD join&lt;/A&gt; their computers directly to your AAD in the cloud.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Figure 1 Full-cloud AAD configuration&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Hybrid AD/AAD configuration&lt;/H2&gt;
&lt;P&gt;In a Hybrid AD/AAD configuration, a computer joins AD Domain Services and AAD directories to enable management features of both directory services. Your on-prem AD is connected to AAD using &lt;A href="https://docs.microsoft.com/azure/active-directory/hybrid/how-to-connect-install-prerequisites" target="_blank" rel="noopener"&gt;Azure AD Connect&lt;/A&gt; which syncs your on-prem AD users/computers to AAD.&amp;nbsp; This configuration gives several options to join/register computers:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/active-directory/devices/concept-azure-ad-register" target="_blank" rel="noopener"&gt;AAD register&lt;/A&gt; – Users can AAD register their computers directly to your AAD.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/active-directory/devices/concept-azure-ad-join" target="_blank" rel="noopener"&gt;AAD join&lt;/A&gt; – Users can AAD join their computers directly to your AAD.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/active-directory/devices/concept-azure-ad-join-hybrid" target="_blank" rel="noopener"&gt;Hybrid AAD join&lt;/A&gt; – IT admins can domain join computers to your on-prem AD, which also automatically joins computers with AAD in the cloud.&amp;nbsp; This option requires network line-of-sight from the computer to your domain controller that exists either on-prem or in Azure.&lt;/LI&gt;
&lt;LI&gt;AD domain join – It’s also possible for IT to only join computers to your on-prem AD and &lt;A href="https://learn.microsoft.com/azure/active-directory/hybrid/connect/how-to-connect-sync-configure-filtering" target="_blank" rel="noopener"&gt;filter the computers from syncing to AAD&lt;/A&gt;.&amp;nbsp; Again, network line-of-sight is required from the computer to your domain controller.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Figure 2 Hybrid AD/AAD configuration&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here’s a table that compares the capabilities that are enabled depending on the register/join option being used:&lt;/P&gt;
&lt;TABLE width="707"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #add8e6;"&gt;
&lt;TD width="47px" height="57px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="281px" height="57px"&gt;
&lt;P&gt;&lt;STRONG&gt;Capability&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;STRONG&gt;AAD&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;register&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px" style="width: 90px; height: 57px; vertical-align: top;"&gt;
&lt;P&gt;&lt;STRONG&gt;AAD join&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;STRONG&gt;Hybrid AAD join&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108px" height="57px"&gt;
&lt;P&gt;&lt;STRONG&gt;AD &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;domain join&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" height="85px"&gt;
&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="281px" height="85px"&gt;
&lt;P&gt;Students can sign-in to their computer with their AD/AAD credentials&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="85px"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="85px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="85px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108px" height="85px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" height="57px"&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="281px" height="57px"&gt;
&lt;P&gt;Students have single sign-on (SSO) access to cloud resources&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" height="57px"&gt;
&lt;P&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="281px" height="57px"&gt;
&lt;P&gt;Students have single sign-on (SSO) access to on-prem resources&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes*&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#007A4B"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" height="57px"&gt;
&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="281px" height="57px"&gt;
&lt;P&gt;IT admin can apply group policies&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" height="57px"&gt;
&lt;P&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="281px" height="57px"&gt;
&lt;P&gt;IT admin can enroll lab VMs with Intune&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108px" height="57px"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;EM&gt;* Only applies to a Hybrid AD/AAD configuration&lt;/EM&gt;&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Known limitations&lt;/H2&gt;
&lt;P&gt;Next, let’s look at the limitations that currently exist with each of the register/join options.&amp;nbsp; The following table provides a high-level comparison of the limitations across the different register/join types.&amp;nbsp; For more detailed info, read the bullets further below.&lt;/P&gt;
&lt;TABLE width="707"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #add8e6;"&gt;
&lt;TD width="47"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="282"&gt;
&lt;P&gt;&lt;STRONG&gt;Limitation&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84"&gt;
&lt;P&gt;&lt;STRONG&gt;AAD&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;register&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96" style="width: 96px; vertical-align: top;"&gt;
&lt;P&gt;&lt;STRONG&gt;AAD join&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90"&gt;
&lt;P&gt;&lt;STRONG&gt;Hybrid AAD join&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108"&gt;
&lt;P&gt;&lt;STRONG&gt;AD &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;domain join&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47"&gt;
&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="282"&gt;
&lt;P&gt;&lt;STRONG&gt;Cleanup: &lt;/STRONG&gt;AAD/AD device entries are orphaned at high rate&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47"&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="282"&gt;
&lt;P&gt;&lt;STRONG&gt;Management: &lt;/STRONG&gt;Management challenges due to non-unique VM names&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47"&gt;
&lt;P&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="282"&gt;
&lt;P&gt;&lt;STRONG&gt;Join/register: &lt;/STRONG&gt;Join/register process is complex for both students and IT&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47"&gt;
&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="282"&gt;
&lt;P&gt;&lt;STRONG&gt;Physical device requirements: &lt;/STRONG&gt;The student’s physical device must also be AAD joined/registered &lt;EM&gt;and&lt;/EM&gt; run Windows 10/11&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47"&gt;
&lt;P&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="282"&gt;
&lt;P&gt;&lt;STRONG&gt;RDP connection: &lt;/STRONG&gt;Students must change their RDP file to use AD/AAD account credentials&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="96"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="90"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="108"&gt;
&lt;P&gt;&lt;FONT color="#CF3600"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cleanup: VMs are orphaned at a high-rate&lt;/H3&gt;
&lt;P&gt;When lab VMs are registered/joined, device entries in AD/AAD tend to become orphaned (or stale) at a high rate due to the transient nature of labs and their VMs.&amp;nbsp; Here are common scenarios where lab VMs become orphaned:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-setup-lab#publish-lab" target="_blank" rel="noopener"&gt;Republishing&lt;/A&gt; a lab so that &lt;EM&gt;all&lt;/EM&gt; the student VMs are reimaged with the original image from the template VM.&amp;nbsp; Each time that you republish, the student VMs are &lt;EM&gt;no&lt;/EM&gt; longer registered/joined.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#reset-vms" target="_blank" rel="noopener"&gt;Resetting&lt;/A&gt; individual VMs so that they are reimaged with the original image from the template VM.&amp;nbsp; Each time a student chooses to reset their lab VM, their VM is &lt;EM&gt;no&lt;/EM&gt; longer registered/joined.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/manage-labs#delete-a-lab" target="_blank" rel="noopener"&gt;Deleting a lab&lt;/A&gt; or VM.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-vm-pool#change-lab-capacity" target="_blank" rel="noopener"&gt;Decreasing VM pool capacity&lt;/A&gt; (which may happen automatically if using &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-labs-within-teams#manage-a-lab-vm-pool-in-teams" target="_blank" rel="noopener"&gt;Teams&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-vm-pool-within-canvas" target="_blank" rel="noopener"&gt;Canvas&lt;/A&gt;, or &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-student-usage#add-users-to-a-lab-from-an-azure-ad-group" target="_blank" rel="noopener"&gt;AAD groups&lt;/A&gt;).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Orphaned device entries can grow at a high rate which adds management overhead for your IT department.&amp;nbsp; For more information on the cleanup that is required, see the article &lt;A href="https://learn.microsoft.com/azure/active-directory/devices/manage-stale-devices" target="_blank" rel="noopener"&gt;How to: Manage stale devices in Azure AD&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT: &lt;/STRONG&gt;A lab’s &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-create-manage-template" target="_blank" rel="noopener"&gt;template VM&lt;/A&gt; &lt;EM&gt;shouldn’t &lt;/EM&gt;be registered/joined to AD/AAD because this image is used to create the student VMs and can be&amp;nbsp; exported to the Compute Gallery to create other labs.&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Management: VMs have non-unique names&lt;/H3&gt;
&lt;P&gt;By default, Azure Labs &lt;EM&gt;doesn’t&lt;/EM&gt; uniquely name lab VMs.&amp;nbsp; For example, if you enable the &lt;STRONG&gt;Create a template virtual machine&lt;/STRONG&gt; option when you &lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-setup-lab" target="_blank" rel="noopener"&gt;create the lab&lt;/A&gt;, the VMs will all be named like “lab000001”.&amp;nbsp; Or, if you leave this option disabled so that &lt;EM&gt;no&lt;/EM&gt; template VM is created, the VMs will be named uniquely within a lab, but &lt;EM&gt;not&lt;/EM&gt; across labs.&amp;nbsp; With non-unique names, it’s challenging to manage lab VMs in AD or AAD, especially at scale.&lt;/P&gt;
&lt;P&gt;If you’re an IT department or teacher that is proficient with scripting, you might consider using PowerShell to give lab VMs a unique name.&amp;nbsp; However, we &lt;EM&gt;don’t&lt;/EM&gt; recommend this because of the complexity involved:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Initial renaming – &lt;/STRONG&gt;Each VM must be given a unique, meaningful computer name &lt;EM&gt;before&lt;/EM&gt; it can be registered/joined to AD/AAD.&amp;nbsp; Renaming needs to occur after the lab VMs are &lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-setup-lab#publish-lab" target="_blank" rel="noopener"&gt;published&lt;/A&gt; or when a &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-vm-pool#change-lab-capacity" target="_blank" rel="noopener"&gt;lab’s VM pool size is increased&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Subsequent renaming – &lt;/STRONG&gt;Each time a lab VM is &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#reset-vms" target="_blank" rel="noopener"&gt;reset&lt;/A&gt; or republished, the VM must be given a &lt;EM&gt;new&lt;/EM&gt; unique computer name.&amp;nbsp; A VM &lt;EM&gt;shouldn’t &lt;/EM&gt;be renamed to the same computer name that it was previously registered/joined with because this can cause conflicts in AD/AAD.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Join/register: Process is complex for students and IT&lt;/H3&gt;
&lt;P&gt;To &lt;STRONG&gt;AAD register or AAD join&lt;/STRONG&gt; lab VMs, currently the best option is for students to self-register or self-join their lab VM using either &lt;STRONG&gt;Windows Settings&lt;/STRONG&gt; or &lt;STRONG&gt;Edge&lt;/STRONG&gt;.&amp;nbsp; This involves several steps for students that may be too complicated and requires that their lab VM first be uniquely renamed (see bullet #2 above):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;AAD register – &lt;/STRONG&gt;It’s possible for a student to sign-in to their VM using either a standard or admin local account and use the &lt;STRONG&gt;Windows Settings&lt;/STRONG&gt; option to &lt;STRONG&gt;Set up a work or school account&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV id="tinyMceEditornicolehaugen_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Figure 3 AAD register using Windows Settings&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Or they can use &lt;STRONG&gt;Edge&lt;/STRONG&gt; to sign-in which will AAD register their VM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Figure 4 AAD register using Edge&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;AAD join&lt;/STRONG&gt; – A student can also sign-in to their VM using the local admin account and use the Alternate actions to &lt;STRONG&gt;Join this device to Azure Active Directory&lt;/STRONG&gt; in &lt;STRONG&gt;Windows Settings&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Figure 5 AAD join using Windows Settings&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;IMPORTANT&lt;/STRONG&gt;: AAD join is further complicated by physical device requirements that need to be met to successfully RDP to an AAD joined VM.&amp;nbsp; See the next bullet #4 for more info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To &lt;STRONG&gt;Hybrid AAD join&lt;/STRONG&gt; or &lt;STRONG&gt;AD domain join&lt;/STRONG&gt; lab VMs, your IT department typically must do this because it requires admin credentials to join the VMs to AD and direct access to AD to ensure devices are properly joined.&amp;nbsp; It’s possible to Hybrid AAD join and AD domain join VMs using PowerShell; however, this is complicated by the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Each student VM needs to first be uniquely renamed (see bullet #2 above).&lt;/LI&gt;
&lt;LI&gt;The admin credentials that have access to join the VMs to AD need to be saved in a secure store because the script would need to reside on the lab VMs that students have access to.&lt;/LI&gt;
&lt;LI&gt;To run the scripts on student VMs to join them, your IT department would either need to use &lt;A href="https://learn.microsoft.com/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-7.3" target="_blank" rel="noopener"&gt;Remote PowerShell commands&lt;/A&gt; or Windows Task Scheduler.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Things get more complicated for AAD register, AAD join, Hybrid AAD join, or AD domain join because the steps need to be repeated in the following scenarios:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-setup-lab#publish-lab" target="_blank" rel="noopener"&gt;Republishing&lt;/A&gt; a lab so that &lt;EM&gt;all&lt;/EM&gt; the student VMs are reimaged with the original image from the template VM.&amp;nbsp; Each time that you republish, the student VMs are &lt;EM&gt;no&lt;/EM&gt; longer registered/joined and you need to repeat the process to give them a new unique name and register/join them again.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-reset-and-redeploy-vm#reset-vms" target="_blank" rel="noopener"&gt;Resetting&lt;/A&gt; individual VMs so that they are reimaged with the original image from the template VM.&amp;nbsp; Each time a student chooses to reset their lab VM, their VM is &lt;EM&gt;no&lt;/EM&gt; longer registered/joined and you need to repeat the process to give the VM a new unique name and register/join the VM again.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-vm-pool#change-lab-capacity" target="_blank" rel="noopener"&gt;Increasing VM pool capacity&lt;/A&gt; (which may happen automatically if using &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-labs-within-teams#manage-a-lab-vm-pool-in-teams" target="_blank" rel="noopener"&gt;Teams&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-manage-vm-pool-within-canvas" target="_blank" rel="noopener"&gt;Canvas&lt;/A&gt;, or &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-student-usage#add-users-to-a-lab-from-an-azure-ad-group" target="_blank" rel="noopener"&gt;AAD groups&lt;/A&gt;).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Physical device requirements: Win 10/11 and AAD joined/registered&lt;/H3&gt;
&lt;P&gt;To successfully sign-in and connect to an &lt;STRONG&gt;AAD joined&lt;/STRONG&gt; lab VM, the physical device must adhere to the following requirements:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The lab VM and the physical device the student connects from must both be running Windows 10 or newer.&amp;nbsp; &lt;A href="https://learn.microsoft.com/azure/active-directory/devices/azureadjoin-plan#supported-devices" target="_blank" rel="noopener"&gt;Windows 7/8.1 and Windows Server are not supported for AAD Join&lt;/A&gt;.&amp;nbsp; Windows Home Editions &lt;A href="https://learn.microsoft.com/azure/active-directory/devices/azuread-joined-devices-frx#prerequisites" target="_blank" rel="noopener"&gt;do not support Azure AD join&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Both the physical device the student connects from, and the lab VM must &lt;A href="https://learn.microsoft.com/windows/client-management/client-tools/connect-to-remote-aadj-pc#connect-without-azure-ad-authentication" target="_blank" rel="noopener"&gt;run supported versions of &lt;/A&gt;&lt;SPAN&gt;Windows 10/11&lt;/SPAN&gt;.&lt;/LI&gt;
&lt;LI&gt;The physical device must also be AAD registered, AAD joined, or Hybrid AAD joined.&lt;/LI&gt;
&lt;LI&gt;Both the physical device and lab VM must be in the same AAD tenant.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This means that students &lt;EM&gt;can’t&lt;/EM&gt; use a Chromebook, Mac, or Linux device to connect to an AAD joined lab VM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT: &lt;/STRONG&gt;These physical device requirements only apply to VMs that are AAD joined.&amp;nbsp; They do &lt;EM&gt;not&lt;/EM&gt; apply to VMs that are AAD registered, Hybrid AAD joined, or AD domain joined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RDP connection: File defaults to local account&lt;/H3&gt;
&lt;P&gt;One reason that IT departments and teachers want to join lab VMs, is to enable an SSO experience so that students can sign-in to their lab VM with their AD/AAD credentials and access on-prem and/or Microsoft 365 (M365) cloud resources such as &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-prepare-windows-template#install-and-configure-onedrive" target="_blank" rel="noopener"&gt;OneDrive&lt;/A&gt;.&amp;nbsp; However, students must know how to change the RDP connection file’s default account to sign-in with their AD/AAD credentials to a VM that is AAD joined, Hybrid AAD joined, or AD domain joined.&amp;nbsp; These steps may add too much complexity and be error-prone for students.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;After the student &lt;A href="https://learn.microsoft.com/azure/lab-services/connect-virtual-machine-windows-rdp#connect-to-vm-from-windows-using-rdp" target="_blank" rel="noopener"&gt;downloads the RDP connection file&lt;/A&gt; and opens the RDP client, they need to change from the default local account to their AD/ADD account (e.g., user@domain.com or AzureAD/user@domain.com&lt;SPAN&gt;)&lt;/SPAN&gt;.&amp;nbsp; To avoid repeating this step each time the student logs in, they can also edit the RDP file to use their domain account by default and save the RDP file to their physical device.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT: &lt;/STRONG&gt;These steps to change the default account in the RDP file are only needed when a lab VM is AAD joined, Hybrid AAD joined, or AD domain joined.&amp;nbsp; AAD register does &lt;EM&gt;not&lt;/EM&gt; support signing into the lab VM using their AD/AAD credentials.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditornicolehaugen_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Figure 6 Prompt to change default RDP account&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:06:05 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/use-labs-without-registering-joining-to-ad-aad/ba-p/3880261</guid>
      <dc:creator>nicolehaugen</dc:creator>
      <dc:date>2023-07-21T13:06:05Z</dc:date>
    </item>
    <item>
      <title>Network architectures and topologies with Lab Plans</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/network-architectures-and-topologies-with-lab-plans/ba-p/3781597</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Supported Networking Scenarios for Azure Lab Services&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Lab Services with Advanced Networking was announced as &lt;A href="https://techcommunity.microsoft.com/t5/azure-lab-services-blog/august-2022-update/ba-p/3589439" target="_blank" rel="noopener"&gt;generally available&lt;/A&gt;. Customers are using the advanced networking feature on various network architectures and topologies with Lab Plans. We compiled scenarios to label what works and what doesn’t with Azure Lab Services. For any feature requests, please add them to the Azure Lab Services &lt;A href="https://feedback.azure.com/d365community/forum/502dba10-7726-ec11-b6e6-000d3a4f032c" target="_blank" rel="noopener"&gt;Share Your Ideas community site&lt;/A&gt;!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thanks,&lt;/P&gt;
&lt;P data-unlink="true"&gt;Azure Lab Services Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;&lt;STRONG&gt;Enabled&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;&lt;STRONG&gt;Details&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab-To-Lab communication&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This is available and &lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-create-lab-with-advanced-networking" target="_blank" rel="noopener"&gt;documented&lt;/A&gt;.&amp;nbsp;If students need two virtual machines we also recommend using &lt;A href="https://learn.microsoft.com/en-us/azure/lab-services/concept-nested-virtualization-template-vm" target="_blank" rel="noopener"&gt;Nested Virtualization&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Opening additional ports to the students VMs&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;No&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This currently doesn’t work, even with advanced networking.&amp;nbsp;One possible solution is to use PowerShell or Azure SDK to manually add the NAT rules for every VM in the lab (every private IP address) but it’s not a good solution because Load Balancers have a limit on allowed rules, it takes a lot of scripting to complete and the experience isn’t good for students (students won’t know what LB port goes to their VM).&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Enable distant license server (on-prem, cross region, etc)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This works as expected, only need a &lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview" target="_blank" rel="noopener"&gt;User Defined Route&lt;/A&gt; to point to the license server.  The only issue is sometimes specific software requires hitting the license server by name (and not by IP). To enable this, a customer-provided DNS server is needed or add to ‘hosts’ file on the template for the IP/Name lookup.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see Azure Networking best practices for &lt;A href="https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/hub-spoke-network-topology" target="_blank" rel="noopener"&gt;Hub-Spoke model&lt;/A&gt; if you have multiple services accessing the license servers, using them from multiple regions, or if the licensing servers are included in other infrastructure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE:&amp;nbsp; When using resources on-prem, don’t forget to add in a &lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview" target="_blank" rel="noopener"&gt;user defined route&lt;/A&gt; so the Lab virtual machines can reach the server.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Access to on-prem resources (like a license server)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;Customer can do this by:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Via &lt;A href="https://learn.microsoft.com/en-us/azure/expressroute/expressroute-introduction" target="_blank" rel="noopener"&gt;Express Route&lt;/A&gt; or &lt;A href="https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal" target="_blank" rel="noopener"&gt;Site-to-Site VPN&lt;/A&gt; (bridge the networks)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add a public IP to their on-prem server with some firewall to only allow incoming connections from labs&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE:&amp;nbsp; When using resources on-prem, don’t forget to add in a &lt;A href="https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview" target="_blank" rel="noopener"&gt;user defined route&lt;/A&gt; so the Lab virtual machines can reach the server.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Enable azure networking best-practices (hub-spoke model)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This works as expected - there is no extra ‘magic’ on networking side with Lab Services (with Lab Plans and advanced networking).&amp;nbsp; There are a few things that don’t work – like adding a “Default Route” on a Route Table (breaks connectivity to the lab), changing the FQDN on the public IP.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Enable accessing student VMs by Private IP (private-only labs)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Not Recommended&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This scenario is functional, but it’s difficult for students. In the Labs portal, the student doesn’t have a way to identify the private IP of their VM. In addition, the student VM’s connect button always points to public endpoint. The only way to make it work is if the teacher provided the students with the private Ips of their VMs (keeping in mind that the IP can change, if the VM is reset for example)&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE:&amp;nbsp; If attempting this scenario, do not delete the public IP &amp;amp; load balancer associated with the lab. If those resources are deleted, the Lab will fail to scale or publish after that.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Protect license server (or on-prem resources) with a firewall&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;Firewall between student VMs and a specific resource works fine&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Put student VMs behind a firewall (for content filtering, security, etc)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;No&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;The typical firewall setup does not work with Lab Services unless the university is connecting to student VMs by private IP (see above).&lt;/P&gt;
&lt;P&gt;The specific issue is that part of the firewall setup is adding a ‘default route’ on the route table for the subnet. When this is added, we introduce an asymmetric routing problem which breaks the RDP/SSH connections to the lab.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Use 3&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SUP&gt;rd&lt;/SUP&gt;&lt;/STRONG&gt;&lt;STRONG&gt; party over-the-shoulder monitoring software&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This works with labs when using Advanced Networking.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Give labs a consistent domain name (lab1.labs.myuniversity.edu.au)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;No&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This doesn’t work. because when the lab is created, we get the FQDN from the public IP of the lab and save that for the lab VMs. This means that changes to the Public IP are not propagated to the ‘connect’ button for the template virtual machines or the student virtual machines.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Enable forced-tunneling for Labs (all communication to student VMs on secure channels, no internet traffic) &lt;/STRONG&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;- also called &lt;/STRONG&gt;&lt;STRONG&gt;“&lt;/STRONG&gt;&lt;STRONG&gt;Fully Isolated Labs&lt;/STRONG&gt;&lt;STRONG&gt;”&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;No&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This doesn’t work out of the box. As soon as a route table is associated with the subnet containing a default route, users will lose connectivity to the lab (see the firewall scenario above). The customer can follow the steps above for Accessing Student VMs by Private IP (that part works), but customer can’t delete the public IP &amp;amp; load balancer since that will break the lab (can’t scale/publish after that).&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Enable Content Filtering&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Depends&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;&lt;STRONG&gt;Content Filtering scenarios that work:&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Software on VM&lt;/STRONG&gt;:  Filtering works with 3&lt;SUP&gt;rd&lt;/SUP&gt; party solutions&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Students ideally should run as non-admin so they can’t uninstall or disable the software&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ensure that outbound calls to Azure are not blocked&amp;nbsp;&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;DNS-based content filtering&lt;/STRONG&gt;:&amp;nbsp; Filtering works with advanced networking &amp;amp; specifying the DNS server on the Lab’s subnet. A DNS server that supports content filtering can be used to do dns-based filtering.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Proxy-based content filtering&lt;/STRONG&gt;:&amp;nbsp; Filtering works with advanced networking if the lab VMs can use a customer-provided proxy server that supports content filtering.&amp;nbsp; It works similarly to the DNS-based solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Content Filtering that DOES NOT WORK&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Network Appliance (firewall)&lt;/STRONG&gt;:  Please see the firewall section above for more information&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When planning a content filtering solution, remember to do a proof of concept to ensure that everything works as expected end to end.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Leverage a connection broker (like Parsec) for high-framerate gaming scenarios&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Not Recommended&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;Although this isn’t directly supported with Azure Lab Services, it’s possible but would run into the same challenges that “Access VMs by Private IP” show above.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;“Cyber Field” scenario – a set of vulnerable VMs on the network for students to discover and attack (Ethical Hacking)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This works with existing features using Advanced Networking&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="316"&gt;
&lt;P&gt;&lt;STRONG&gt;Enable using Azure Bastion for Student VMs&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="156"&gt;
&lt;P&gt;No&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="486"&gt;
&lt;P&gt;This doesn’t work with Azure Lab Services.&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:46:28 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/network-architectures-and-topologies-with-lab-plans/ba-p/3781597</guid>
      <dc:creator>laurendunlap</dc:creator>
      <dc:date>2024-06-20T22:46:28Z</dc:date>
    </item>
    <item>
      <title>New and Improved Guidance: Grant Permission to Lab Resources</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/new-and-improved-guidance-grant-permission-to-lab-resources/ba-p/3770475</link>
      <description>&lt;P data-unlink="true"&gt;We are in progress of making many improvements to the documentation for the&amp;nbsp;&lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-whats-new" target="_self"&gt;latest update to Azure Lab Services&lt;/A&gt;.&amp;nbsp; One upcoming improvement is that we're adding guidance on how to grant administrators and educators permission to lab resources.&amp;nbsp; Please see an early release of this new guidance further below - this guidance includes the following topics:&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-unlink="true"&gt;Resource group and lab plan structure
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI data-unlink="true"&gt;Permission to multiple resource groups&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Permission to multiple lab plans&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Roles for common lab activities&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Administrator roles
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI data-unlink="true"&gt;Owner&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Contributor&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Lab Services Contributor&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Educator roles
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI data-unlink="true"&gt;Lab Creator&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Lab Contributor&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Lab Assistant&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Lab Services Reader&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Moving role assignments from lab accounts to lab plans&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;We are interested to get your feedback on this content, including any points that may be unclear or where gaps may exist.&amp;nbsp; Please share any feedback that you have by adding a comment to this blog post.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thanks!&lt;/P&gt;
&lt;P data-unlink="true"&gt;Azure Lab Services Team&lt;/P&gt;
&lt;P data-unlink="true"&gt;----------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;H1&gt;Granting users permission to lab resources&lt;/H1&gt;
&lt;P data-unlink="true"&gt;To give administrators and educators access to Azure Lab Services, they need to be assigned one of the following roles using &lt;A href="https://learn.microsoft.com/azure/role-based-access-control/overview" target="_blank" rel="noopener"&gt;Azure’s role-based access control (RBAC)&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Administrator roles
&lt;UL&gt;
&lt;LI&gt;Owner&lt;/LI&gt;
&lt;LI&gt;Contributor&lt;/LI&gt;
&lt;LI&gt;Lab Services Contributor&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Educator roles
&lt;UL&gt;
&lt;LI&gt;Lab Creator&lt;/LI&gt;
&lt;LI&gt;Lab Contributor&lt;/LI&gt;
&lt;LI&gt;Lab Assistant&lt;/LI&gt;
&lt;LI&gt;Lab Services Reader&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;As shown by the arrows in the graphic below, roles can be assigned to users on &lt;STRONG&gt;resource groups&lt;/STRONG&gt;, &lt;STRONG&gt;lab plans&lt;/STRONG&gt;, and &lt;STRONG&gt;labs&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide#resource-group" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Resource groups&lt;/STRONG&gt;&lt;/A&gt; are logical containers for grouping together resources.&amp;nbsp; Role assignment at the resource group level grants permission to the resource group and &lt;EM&gt;all&lt;/EM&gt; resources within the resource group, such as labs and lab plans.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide#lab-plan" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Lab plans&lt;/STRONG&gt;&lt;/A&gt; are used to apply common configuration settings when you create a lab. Role assignment at the lab plan level grants permission only to a specific lab plan.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide#lab" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Lab&lt;/STRONG&gt;&lt;/A&gt; role assignment grants permission only to a specific lab.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT – &lt;/STRONG&gt;Lab plans and labs are sibling resources to each other.&amp;nbsp; As a result, labs &lt;EM&gt;don’t &lt;/EM&gt;inherit any roles/permissions that are assigned at the lab plan level.&amp;nbsp; However, roles/permissions assigned at the resource group level are inherited by both lab plans and labs.&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Roles for common lab activities&lt;/H2&gt;
&lt;P data-unlink="true"&gt;The following table shows common lab activities and the role that needs to be assigned to an administrator or educator to perform each activity.&amp;nbsp; For more details on all the lab roles available and the permissions that each role grants, see the below sections about administrator roles and educator roles.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT &lt;/STRONG&gt;– The Owner/Contributor roles can also be assigned at the &lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide#subscription" target="_blank" rel="noopener"&gt;subscription&lt;/A&gt; level.&amp;nbsp; An organization’s subscription is used to manage billing and security for all Azure resources and services.&amp;nbsp; Typically, only administrators are given subscription level access because this includes full access to &lt;EM&gt;all&lt;/EM&gt; resources in the subscription.&amp;nbsp; Also, when assigned as an Owner, they have the ability to grant access to others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="lia-align-left" style="height: 180px; width: 100%;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.70081967213115%" height="30px" style="background-color: #c3c3c3;"&gt;&lt;STRONG&gt;Role Type&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.299180327868854%" height="30px" style="background-color: #c3c3c3;"&gt;&lt;STRONG&gt;Activity&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="30px" style="background-color: #c3c3c3;"&gt;&lt;STRONG&gt;Role to Assign&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="30px" style="background-color: #c3c3c3;"&gt;&lt;STRONG&gt;Resource Assigment Level&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.70081967213115%" height="30px" class="lia-align-left" style="width: 16.7008%; height: 30px; vertical-align: top;"&gt;Administrator&lt;/TD&gt;
&lt;TD width="33.299180327868854%" height="30px"&gt;
&lt;P&gt;Grant permission to create a resource group (which needs to exist &lt;EM&gt;before&lt;/EM&gt; a lab plan or lab can be created).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="25%" height="30px" class="lia-align-left" style="width: 25%; height: 30px; vertical-align: top;"&gt;&lt;A href="https://learn.microsoft.com/azure/role-based-access-control/role-assignments-portal-subscription-admin" target="_blank" rel="noopener"&gt;Owner&lt;/A&gt; or &lt;A href="https://learn.microsoft.com/azure/role-based-access-control/built-in-roles#contributor" target="_blank" rel="noopener"&gt;Contributor&lt;/A&gt;&lt;/TD&gt;
&lt;TD width="25%" height="30px" class="lia-align-left" style="width: 25%; height: 30px; vertical-align: top;"&gt;Subscription*&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.70081967213115%" height="85px" style="width: 16.7008%; vertical-align: top;"&gt;Administrator&lt;/TD&gt;
&lt;TD width="33.299180327868854%" height="85px" class="lia-align-left" style="height: 30px; width: 33.2992%; vertical-align: top;"&gt;
&lt;P data-unlink="true"&gt;Grant permission to submit a Microsoft support ticket, including to&amp;nbsp;&lt;A href="https://learn.microsoft.com/azure/lab-services/capacity-limits" target="_blank" rel="noopener"&gt;request capacity&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="25%" height="85px" style="width: 25%; vertical-align: top;"&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/azure/role-based-access-control/role-assignments-portal-subscription-admin" target="_blank" rel="noopener"&gt;Owner&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/azure/role-based-access-control/built-in-roles#contributor" target="_blank" rel="noopener"&gt;Contributor&lt;/A&gt;,&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request" target="_blank" rel="noopener"&gt;Support Request Contributor&lt;/A&gt;&lt;/SPAN&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="25%" height="85px" style="width: 25%; vertical-align: top;"&gt;Subscription*&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.70081967213115%" height="261px" style="width: 16.7008%; vertical-align: top;"&gt;Administrator&lt;/TD&gt;
&lt;TD width="33.299180327868854%" height="261px"&gt;
&lt;P data-unlink="true"&gt;Grant permission to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-unlink="true"&gt;Assign roles to other users.&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Create/manage lab plans, labs, and other resources within the resource group.&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Enable/disable &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-attach-detach-shared-image-gallery" target="_blank" rel="noopener"&gt;marketplace&lt;/A&gt; and &lt;A href="https://learn.microsoft.com//azure/lab-services/how-to-attach-detach-shared-image-gallery#enable-and-disable-images" target="_blank" rel="noopener"&gt;custom&lt;/A&gt; images on a lab plan.&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-attach-detach-shared-image-gallery" target="_blank" rel="noopener"&gt;Attach/detach compute gallery&lt;/A&gt; on a lab plan.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;TD width="25%" height="261px" style="width: 25%; vertical-align: top;"&gt;Owner&lt;/TD&gt;
&lt;TD width="25%" height="261px" style="width: 25%; vertical-align: top;"&gt;Resource Group&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="316px" style="width: 16.7008%; vertical-align: top;"&gt;Administrator&lt;/TD&gt;
&lt;TD height="316px"&gt;
&lt;P data-unlink="true"&gt;Grant permission to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-unlink="true"&gt;Create/manage lab plans, labs, and other resources within the resource group.&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Enable/disable &lt;A href="https://learn.microsoft.com/azure/lab-services/specify-marketplace-images#select-images-available-for-labs" target="_blank" rel="noopener"&gt;marketplace&lt;/A&gt; and &lt;A href="https://learn.microsoft.com//azure/lab-services/how-to-attach-detach-shared-image-gallery#enable-and-disable-images" target="_blank" rel="noopener"&gt;custom&lt;/A&gt; images on a lab plan.&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-attach-detach-shared-image-gallery" target="_blank" rel="noopener"&gt;Attach/detach compute gallery&lt;/A&gt; on a lab plan.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;However, &lt;EM&gt;not&lt;/EM&gt; the ability to assign roles to other users.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD height="316px" style="width: 25%; vertical-align: top;"&gt;Contributor&lt;/TD&gt;
&lt;TD height="316px" style="width: 25%; vertical-align: top;"&gt;Resource Group&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="179px" style="width: 16.7008%; vertical-align: top;"&gt;Educator&lt;/TD&gt;
&lt;TD height="179px"&gt;
&lt;P data-unlink="true"&gt;Grant permission to create/manage their own labs:&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-unlink="true"&gt;Using &lt;EM&gt;all&lt;/EM&gt; lab plans within a resource group.&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Or, only for a specific lab plan.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD height="179px" style="width: 25%; vertical-align: top;"&gt;Lab Creator&lt;/TD&gt;
&lt;TD height="179px" style="width: 25%; vertical-align: top;"&gt;Resource Group or Lab Plan&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="85px" style="width: 16.7008%; vertical-align: top;"&gt;Educator&lt;/TD&gt;
&lt;TD height="85px"&gt;
&lt;P&gt;Grant permission to co-manage a lab, but &lt;EM&gt;not&lt;/EM&gt; the ability to create labs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD height="85px" style="width: 25%; vertical-align: top;"&gt;Lab Contributor&lt;/TD&gt;
&lt;TD height="85px" style="width: 25%; vertical-align: top;"&gt;Lab&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="124px" style="width: 16.7008%; vertical-align: top;"&gt;Educator&lt;/TD&gt;
&lt;TD height="124px"&gt;
&lt;P&gt;Grant permission to only start/stop/reset VMs for:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;All labs within a resource group.&lt;/LI&gt;
&lt;LI&gt;Or, only for a specific lab.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;TD height="124px" style="width: 25%; vertical-align: top;"&gt;Lab Assistant&lt;/TD&gt;
&lt;TD height="124px" style="width: 25%; vertical-align: top;"&gt;Resource Group or Lab&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;* The specified roles must be assigned at the subscription level.&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Administrator roles&lt;/H2&gt;
&lt;P&gt;To grant users permission to manage Azure Lab Services within your organization’s subscription, you should assign them the &lt;STRONG&gt;Owner&lt;/STRONG&gt;, &lt;STRONG&gt;Contributor&lt;/STRONG&gt;, or the &lt;STRONG&gt;Lab Services Contributor &lt;/STRONG&gt;role.&amp;nbsp; These roles should be assigned at the &lt;STRONG&gt;resource group level&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT - &lt;/STRONG&gt;Roles/permissions assigned at the resource group level are inherited by both lab plans and labs that are contained within the resource group.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following table compares the administrator roles when they are assigned at the resource group level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.308060109289617%" height="57px" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD rowspan="2" width="48.48019125683061%" height="57px" class="lia-align-left" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;Activity&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD colspan="3" width="10.826502732240439%" height="57px" class="lia-align-left" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;Resource Group Level&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.308060109289617%" height="30px" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="57px" class="lia-align-left" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;Owner&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="57px" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;Contributor&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="57px" class="lia-align-left" style="background-color: #c3c3c3; vertical-align: top;"&gt;&lt;STRONG&gt;Lab Services Contributor&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD rowspan="3" width="16.308060109289617%" height="117px"&gt;
&lt;P&gt;Lab plan activities&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="48.48019125683061%" height="30px"&gt;
&lt;P&gt;View all lab plans within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.48019125683061%" height="57px" class="lia-align-left" style="width: 48.4802%; height: 57px; vertical-align: top;"&gt;Create, change or delete all lab plans within the resource group&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="57px" class="lia-align-left" style="vertical-align: top;"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="57px" class="lia-align-left" style="vertical-align: top;"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="57px" class="lia-align-left" style="vertical-align: top;"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.48019125683061%" height="30px"&gt;
&lt;P&gt;Assign roles to lab plans within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD rowspan="4" width="16.308060109289617%" height="120px"&gt;Lab activities&lt;/TD&gt;
&lt;TD width="48.48019125683061%" height="30px"&gt;
&lt;P&gt;Create labs within the resource group*&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.48019125683061%" height="30px"&gt;
&lt;P&gt;View other users’ labs within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.48019125683061%" height="30px"&gt;
&lt;P&gt;Change or delete other users’ labs within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.48019125683061%" height="30px"&gt;
&lt;P&gt;Assign roles to other users’ labs within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="10.826502732240439%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.46584699453552%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="11.919398907103826%" height="30px"&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;*&amp;nbsp;Users are automatically granted permission to view, change settings, delete, and assign roles for the labs that they create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Owner&lt;/H3&gt;
&lt;P&gt;You should assign the Owner role to give a user full control to create/manage lab plans and labs, and grant permissions to other users.&amp;nbsp; When a user is assigned the Owner role at the resource group level, they can do the following activities across all resources within the resource group:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Assign roles to administrators so they can manage lab-related resources.&lt;/LI&gt;
&lt;LI&gt;Assign roles to educators so they can create and manage labs.&lt;/LI&gt;
&lt;LI&gt;Create lab plans and labs.&lt;/LI&gt;
&lt;LI&gt;View, delete, and change settings for all lab plans; this includes attaching/detaching the compute gallery and enabling/disabling marketplace and custom images on lab plans.&lt;/LI&gt;
&lt;LI&gt;View, delete, and change settings for all labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT – &lt;/STRONG&gt;Owner/Contributor permissions assigned at the resource group level also applies to non-lab related resources that may exist within a resource group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Contributor&lt;/H3&gt;
&lt;P&gt;You should assign the Contributor role to give an user full control to create/manage lab plans and labs within a resource group.&amp;nbsp; The Contributor role is nearly the same as the Owner role, except that a Contributor:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Can’t&lt;/EM&gt; assign roles to other administrators or educators.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Lab Services Contributor&lt;/H3&gt;
&lt;P&gt;The Lab Services Contributor is the most restrictive of the administrator roles.&amp;nbsp; You should assign the Lab Services Contributor role to enable the same activities as the Owner role; however, a Lab Services Contributor:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Can’t&lt;/EM&gt; assign roles to other administrators or educators.&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Can’t &lt;/EM&gt;change or delete other users’ labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Educator roles&lt;/H2&gt;
&lt;P&gt;The following roles should be used to grant educators permission to create and manage labs:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Lab Creator&lt;/LI&gt;
&lt;LI&gt;Lab Contributor&lt;/LI&gt;
&lt;LI&gt;Lab Assistant&lt;/LI&gt;
&lt;LI&gt;Lab Services Reader&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT – &lt;/STRONG&gt;The educator roles only grant permission to view lab plans.&amp;nbsp; Users assigned educator roles &lt;EM&gt;can’t &lt;/EM&gt;create, change, delete, or assign roles to lab plans.&amp;nbsp; In addition, they &lt;EM&gt;can’t&lt;/EM&gt; attach/detach a &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-attach-detach-shared-image-gallery" target="_blank" rel="noopener"&gt;compute gallery&lt;/A&gt; or enable/disable images.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Lab Creator&lt;/H3&gt;
&lt;P&gt;You should assign the Lab Creator role to a user so that they can create labs and have full control over the labs that they create.&amp;nbsp; For example, they can change their labs’ settings, delete their labs, and even grant other users permission to their labs.&amp;nbsp; The Lab Creator role should be assigned at either the resource group or lab plan level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following table compares the Lab Creator role when it’s assigned at the resource group level versus the lab plan level.&lt;/P&gt;
&lt;TABLE width="859px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD rowspan="2" width="440.422px" height="60px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab Activity&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="204.797px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Resource Group Level&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.781px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab Plan Level&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="204.797px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab Creator&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.781px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab Creator&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="440.422px" height="30px"&gt;
&lt;P&gt;Create labs within the resource group*&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="204.797px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.781px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="440.422px" height="30px"&gt;
&lt;P&gt;View other users’ labs within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="204.797px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Yes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.781px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="440.422px" height="30px"&gt;
&lt;P&gt;Change or delete other users’ labs within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="204.797px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.781px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="440.422px" height="30px"&gt;
&lt;P&gt;Assign roles to other users’ labs within the resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="204.797px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="212.781px" height="30px"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#DF0000"&gt;No&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;* Lab Creators are automatically granted permission to view, change settings, delete, and assign roles for the labs that they create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Lab Creator role is assigned at the &lt;STRONG&gt;resource group level&lt;/STRONG&gt;, the user can:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;View all labs within the resource group, including those created by other users.&lt;/LI&gt;
&lt;LI&gt;Create new labs from all labs plans within the resource group.&lt;/LI&gt;
&lt;LI&gt;Change and delete labs that they created; they &lt;EM&gt;can’t&lt;/EM&gt; change or delete other users’ labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can also assign the Lab Creator role at the &lt;STRONG&gt;lab plan &lt;/STRONG&gt;.&amp;nbsp; With the Lab Creator role assigned on the lab plan, the user can:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create new labs using only that specific lab plan.&lt;/LI&gt;
&lt;LI&gt;View, change, or delete labs that they created; they &lt;EM&gt;can’t&lt;/EM&gt; view, change, or delete other users’ labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Lab Contributor&lt;/H3&gt;
&lt;P&gt;You should assign the Lab Contributor role to give an user permission to help manage an existing lab.&amp;nbsp; The Lab Contributor role should be assigned at the &lt;STRONG&gt;lab level&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Lab Contributor role is assigned at the lab level, the user can manage the assigned lab.&amp;nbsp; Specifically, the user:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Can&lt;EM&gt; v&lt;/EM&gt;iew, change all settings, or delete the assigned lab; they &lt;EM&gt;can’t&lt;/EM&gt; view other users’ labs.&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Can’t&lt;/EM&gt; create new labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;Lab Assistant&lt;/H3&gt;
&lt;P&gt;You should assign a user the Lab Assistant role if you only want them to be able to start/stop/reset lab VMs.&amp;nbsp; The Lab Assistant role should be assigned at the resource group or lab level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Lab Assistant role is assigned at the &lt;STRONG&gt;resource group level&lt;/STRONG&gt;, the user:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Can view all labs within the resource group and start/stop/reset student VMs for each lab; otherwise, they &lt;EM&gt;can’t&lt;/EM&gt; delete or make any other changes to the labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Lab Assistant role is assigned at the &lt;STRONG&gt;lab level&lt;/STRONG&gt;, the user:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Can view the assigned lab and start/stop/reset student VMs; otherwise, they &lt;EM&gt;can’t&lt;/EM&gt; delete or make any other changes to the lab.&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Can’t&lt;/EM&gt; create new labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Lab Services Reader&lt;/H3&gt;
&lt;P&gt;The Lab Services Reader role enables user to view existing labs; they &lt;EM&gt;can’t&lt;/EM&gt; make any changes.&amp;nbsp; The Lab Services Reader role should be assigned at the resource group or lab level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Lab Services Reader role is assigned at the &lt;STRONG&gt;resource group level&lt;/STRONG&gt;, the user can view all labs within the resource group.&amp;nbsp; Otherwise, when the Lab Services Reader role is assigned at the &lt;STRONG&gt;lab level&lt;/STRONG&gt;, the user can only view that specific lab.&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Moving role assignment from lab accounts to lab plans&lt;/H2&gt;
&lt;P&gt;If you are moving from lab accounts to lab plans, it’s important to understand differences between lab accounts and lab plans and how this impacts role assignments:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Lab accounts&lt;/STRONG&gt; serve as a parent to labs; as a result, the roles assigned on a lab account are automatically inherited by its child labs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Lab plans&lt;/STRONG&gt; and labs are siblings to each other; this means that labs &lt;EM&gt;don’t&lt;/EM&gt; inherit roles from lab plans.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For example, if you have users that are &lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide-1#manage-identity" target="_blank" rel="noopener"&gt;assigned the Owner or Contributor role at the lab account level&lt;/A&gt;, you should instead assign the Owner and Contributor roles at the resource group level for your lab plans.&amp;nbsp; Roles assigned on a lab plan’s resource group will automatically grant permission to &lt;EM&gt;all&amp;nbsp;&lt;/EM&gt;labs within the resource group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The table below shows recommendations to map roles from Azure Lab Services lab accounts to lab plans.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="949px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD rowspan="2" width="204.688px" height="48px" class="lia-align-left" style="background-color: #c3c3c3; width: 215.672px; height: 73px; vertical-align: top;"&gt;
&lt;P&gt;&lt;STRONG&gt;Role Type&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD colspan="2" width="390.391px" height="18px" class="lia-align-left" style="background-color: #c3c3c3; width: 364.766px; height: 43px; vertical-align: top;"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab accounts&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD colspan="2" width="352.922px" height="18px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Lab plans&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="151.156px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Role&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="239.234px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Assignment level&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="161.266px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Role&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="191.656px" height="30px" style="background-color: #c3c3c3;"&gt;
&lt;P&gt;&lt;STRONG&gt;Assignment level&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD rowspan="2" width="204.688px" height="60px"&gt;
&lt;P&gt;Administrator&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="151.156px" height="30px"&gt;
&lt;P&gt;Owner&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="239.234px" height="30px"&gt;
&lt;P&gt;Lab account&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="161.266px" height="30px"&gt;
&lt;P data-unlink="true"&gt;Owner&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="191.656px" height="30px"&gt;
&lt;P&gt;Resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="151.156px" height="30px"&gt;
&lt;P&gt;Contributor&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="239.234px" height="30px"&gt;
&lt;P&gt;Lab account&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="161.266px" height="30px"&gt;
&lt;P data-unlink="true"&gt;Contributor&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="191.656px" height="30px"&gt;
&lt;P&gt;Resource group&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD rowspan="3" width="204.688px" height="90px"&gt;
&lt;P&gt;Educator&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="151.156px" height="30px"&gt;
&lt;P&gt;Lab Creator&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="239.234px" height="30px"&gt;
&lt;P&gt;Lab account&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="161.266px" height="30px"&gt;
&lt;P data-unlink="true"&gt;Lab Creator&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="191.656px" height="30px"&gt;
&lt;P&gt;Lab plan&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="151.156px" height="30px"&gt;
&lt;P&gt;Owner*&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="239.234px" height="30px"&gt;
&lt;P&gt;Lab&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="161.266px" height="30px"&gt;
&lt;P data-unlink="true"&gt;Owner&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="191.656px" height="30px"&gt;
&lt;P&gt;Resource group or lab&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="151.156px" height="30px"&gt;
&lt;P&gt;Contributor*&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="239.234px" height="30px"&gt;
&lt;P&gt;Lab&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="161.266px" height="30px"&gt;
&lt;P data-unlink="true"&gt;Lab Contributor&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="191.656px" height="30px"&gt;
&lt;P&gt;Lab&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;* In the earlier version, the lab’s Contributor and Owner roles required that the Reader role also be assigned on the lab account.&amp;nbsp; When using lab plans, you do &lt;EM&gt;not&lt;/EM&gt; need to assign the Reader role at the lab plan or resource group level.&lt;/P&gt;
&lt;H2&gt;Resource group and lab plan structure&lt;/H2&gt;
&lt;P&gt;Your organization should invest time up front to plan the structure of your resource groups and lab plans.&amp;nbsp; This is especially important when users are assigned roles at the resource group level because they automatically will have permission to use &lt;EM&gt;all&lt;/EM&gt; resources within the resource group.&amp;nbsp; To ensure that users are only granted permission to the appropriate resources, we recommend that you:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create resource groups that only contain lab-related resources.&lt;/LI&gt;
&lt;LI&gt;Organize lab plans and labs into separate resource groups according to the users that should have access.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For example, you may want to create separate resource groups for different departments, such as one for Math and another for Engineering, so that each department’s lab resources are isolated from one another.&amp;nbsp; Educators in the Engineering department can then be granted permission at the resource group level, which will only give them access to their department’s labs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMPORTANT&lt;/STRONG&gt; – You should plan the structure of resource groups and labs plans up front because it’s &lt;EM&gt;not&lt;/EM&gt; possible to move lab plans or labs to a different resource group once they are created.&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;Permission to multiple resource groups&lt;/H3&gt;
&lt;P&gt;Administrators and educators can be granted permission to more than one resource group.&amp;nbsp; For example, when an educator is assigned the Lab Contributor role on labs from different resource groups, the educator will be prompted to choose from the list of resource groups to view their labs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;H3&gt;Permission to multiple lab plans&lt;/H3&gt;
&lt;P&gt;Likewise, administrators and educators can be granted permission to more than one lab plan.&amp;nbsp; For example, when an educator is assigned the Lab Creator role on a resource group that contains more than one lab plan, the educator will be prompted to choose from the list of lab plans during lab creation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:45:10 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/new-and-improved-guidance-grant-permission-to-lab-resources/ba-p/3770475</guid>
      <dc:creator>nicolehaugen</dc:creator>
      <dc:date>2024-06-20T22:45:10Z</dc:date>
    </item>
    <item>
      <title>Education scenarios with Azure Lab Services and Azure Virtual Desktop</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/education-scenarios-with-azure-lab-services-and-azure-virtual/ba-p/3737800</link>
      <description>&lt;P&gt;Azure has a range of offerings used by educational institutions across the globe. This guide will provide an overview of Azure Lab Services, how it is distinct from Azure Virtual Desktop, as well as share some common use cases for each.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;EM&gt;What is Azure Lab Services?&lt;/EM&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Lab Services enables institutions to quickly set up and manage classroom labs in the cloud.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An educator or facilitator can set up learning environments across Windows or Linux VMs with Marketplace images or customize the exact software and files to include, assign lab VMs to students, manage the student roster, and control students’ VM usage to track engagement as well as manage costs. Students can see&amp;nbsp;all&amp;nbsp;their lab resources in a single view and connect to lab VMs for their projects, assignments, and classroom exercises.&amp;nbsp;Azure Lab Services can also be integrated with Canvas and Teams.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Lab Services is a&amp;nbsp;&lt;EM&gt;managed&lt;/EM&gt;&amp;nbsp;&lt;EM&gt;service&lt;/EM&gt; that simplifies the experience of using Azure resources for teaching and learning. This means that&amp;nbsp;Azure Lab Services&amp;nbsp;fully manages the cloud infrastructure running behind the labs on behalf of the institution.&amp;nbsp;For more information, refer to the&amp;nbsp;&lt;A href="https://learn.microsoft.com/azure/lab-services/" target="_blank" rel="noopener"&gt;Azure Labs&amp;nbsp;documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Azure Lab Services scenarios&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Azure Lab Services&lt;/SPAN&gt;&amp;nbsp;is best suited to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enable educators to set up and manage VMs without technical expertise&lt;/LI&gt;
&lt;LI&gt;Provide learning environments that can be deleted and easily recreated as needed&lt;/LI&gt;
&lt;LI&gt;Track lab engagement and minimize costs by managing students’ usage hours on the VMs&lt;/LI&gt;
&lt;LI&gt;Estimate costs using a simplified pricing model&lt;/LI&gt;
&lt;LI&gt;Provide students with admin access to their own individually assigned VM environment&lt;/LI&gt;
&lt;LI&gt;Link lab environment with existing tools like Canvas and Teams&lt;/LI&gt;
&lt;LI&gt;Create labs with Windows and Linux VMs from a variety of machine sizes including GPU and high memory/CPU&lt;/LI&gt;
&lt;LI&gt;Network isolation of cloud-based lab VMs as they are not required to be domain joined&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are a few types of classes that institutions run with Azure Lab Services:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Computer programming class –&amp;nbsp;&lt;/STRONG&gt;A computer programming class may include a development environment with specific software versions, IDEs like Visual Studio, debugging tools, and emulators. This type of class may also require students to make configuration changes to the VM environment itself.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Data science class –&amp;nbsp;&lt;/STRONG&gt;Data science courses are&amp;nbsp;&lt;SPAN&gt;like&lt;/SPAN&gt;&amp;nbsp;computer programming classes in that student workloads involve a variety of frameworks and tools. The process to train machine learning models is often GPU\CPU intensive where students may need access to specific hardware for optimal performance.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Cybersecurity class –&amp;nbsp;&lt;/STRONG&gt;In a cybersecurity class, students need access to several VM environments so that they can practice scenarios where one VM demonstrates a vulnerability, and another is used to exploit the vulnerability. For this class, each student is provided a Windows Server host VM that has several nested VMs and can be completely isolated from your network.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Digital design class –&amp;nbsp;&lt;/STRONG&gt;Students can be assigned a GPU-based lab that includes digital arts and media software like Adobe Creative Cloud or Autodesk, to run on a wide range of devices, including older devices and Chromebooks. A license server can be connected from on-premises or hosted in Azure.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For more information on how to leverage&amp;nbsp;&lt;SPAN&gt;Azure Lab Services&lt;/SPAN&gt;&amp;nbsp;for common lab environments, refer to the&amp;nbsp;&lt;A href="https://learn.microsoft.com/azure/lab-services/class-types" target="_blank" rel="noopener"&gt;class types overview&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;EM&gt;What is Azure Virtual Desktop?&lt;/EM&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop &lt;SPAN&gt;(AVD)&lt;/SPAN&gt; is Azure’s platform desktop and app virtualization service. Azure Virtual Desktop, formerly Windows Virtual Desktop, is not necessarily education-specific and addresses a wide range of scenarios.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop enables organizations to securely deliver Windows virtual desktops and remote apps with maximum control to any device from a flexible cloud virtual desktop infrastructure (VDI) platform. Azure Virtual Desktop can bring together Microsoft 365 and Azure to provide users with the only multi-session Windows 11 and Windows 10 experience, with exceptional scale and reduced IT costs.&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop is a&amp;nbsp;&lt;EM&gt;managed service&lt;/EM&gt;&amp;nbsp;since it oversees the connections to VMs; however, organizations have greater responsibility when it comes to configuring and managing the involved AAD tenant and infrastructure. For more information, refer to the&amp;nbsp;&lt;A href="https://docs.microsoft.com/azure/virtual-desktop/" target="_blank" rel="noopener"&gt;Azure Virtual Desktop documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Azure Virtual Desktop scenarios&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop is best suited to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Give access to individual Windows line-of business or Microsoft 365 apps&lt;/LI&gt;
&lt;LI&gt;Provide users with continuous, 24-hour access to apps or desktop environments&lt;/LI&gt;
&lt;LI&gt;Minimize costs by sharing and scaling pooled VMs across users&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some educational use cases where Azure Virtual Desktop is ideal to use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Virtual computers for libraries or offices –&amp;nbsp;&lt;/STRONG&gt;Institutions looking to replace general-use Windows computers, such as library computers, with a cloud-based offering can use a virtualized environment for this purpose. For example, library computers usually provide students with access to basic applications such as Office and a browser.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Accounting class that only needs Excel –&amp;nbsp;&lt;/STRONG&gt;Azure Virtual Desktop’s&amp;nbsp;remote app virtualization is ideal for classes that only need to provide students with access to a single application. For example, an accounting class where the students need to learn and have access to Excel.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;There are additional factors that should be considered when choosing between these two offerings. The following table summarizes key comparison points based on the&amp;nbsp;&lt;EM&gt;current&lt;/EM&gt;&amp;nbsp;functionality for each offering.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;EM&gt;How are they different?&lt;/EM&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to the following guide to explore the differences between Azure Lab Services and Azure Virtual Desktop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class=" lia-align-center" style="border-style: inset;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;H2&gt;Azure Lab Services&lt;/H2&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;H2&gt;Azure Virtual Desktop&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Introduction&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Overview&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-overview" target="_blank" rel="noopener"&gt;Azure Lab Services&lt;/A&gt; is a cloud-based lab platform to easily set up and provide on-demand access to preconfigured virtual machines (VMs) to support educational scenarios like teach a class, train professionals, run a hackathon or a hands-on lab, and more. Simply define your needs and the service will roll the lab out to your audience. Users access all their lab VMs from a single place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://azure.microsoft.com/products/virtual-desktop/" target="_blank" rel="noopener"&gt;Azure Virtual Desktop&lt;/A&gt; (formerly Windows Virtual Desktop) is a flexible cloud virtual desktop infrastructure (VDI) platform that securely delivers virtual desktops and remote apps with maximum control and is optimized for flexibility.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Pricing&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each VM incurs cost when run by students which is measured in lab units (bundled compute, network, snapshots, and disks). Billing in this simplified model is at an hourly rate where you only pay for active usage and nothing when VMs are turned off.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Azure Lab Serv&lt;/SPAN&gt;&lt;SPAN&gt;ices Pricing &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If lab images are saved to a compute gallery or advanced networking is enabled, additional costs may be incurred.&lt;/P&gt;
&lt;P&gt;&lt;A href="#community--1-other-costs-related-to-labs&amp;quot;" target="_blank" rel="noopener"&gt;Costs related to Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pricing includes user access rights (with an option to use eligible licenses like M365 or CAL) and Azure infrastructure costs (storage, compute, and network) based on usage.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Azure Virtual De&lt;/SPAN&gt;&lt;SPAN&gt;sktop pricing&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop consumption costs are the sum of all Azure resource charges for users accessing an AVD host pool.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/remote-app-streaming/total-costs" target="_blank" rel="noopener"&gt;Understanding total Azure Virtual Desktop deployment costs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Setup&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Lab Management&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Educators have a simplified experience (that requires&amp;nbsp;no&amp;nbsp;technical expertise) to easily set up and manage labs within the policies established by their IT department.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IT will likely need to set up and manage the pool of VMs and related resources since technical expertise and access to the institution’s Azure subscription is required.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Lab VM Types&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Labs can be created with predefined Windows or Linux VMs.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide#vm-sizing" target="_blank" rel="noopener"&gt;VM sizing with Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VMs can be provisioned with&amp;nbsp;Windows versions. Linux VMs are not supported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Integrations&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is Canvas integration as an inherited app. Students only need Canvas permissions. Instructors will need both Azure and Canvas permissions.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-within-canvas-overview" target="_blank" rel="noopener"&gt;&amp;nbsp;Azure Lab Services within Canvas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Azure Lab Services can be set up as a Teams app to sync class rosters and streamline the student experience. Alternatively, Teams can be installed in lab as a collaboration tool.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-within-teams-overview" target="_blank" rel="noopener"&gt;Azure Lab Services within Microsoft Teams&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Azure Lab Services has AAD Group support where a class roster can be synced from a designated AAD Group.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-student-usage#sync-users-with-azure-ad-group" target="_blank" rel="noopener"&gt;Add lab users from an AAD Group with Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Teams can be installed within Azure Virtual Desktop for chat and collaboration.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/teams-on-avd" target="_blank" rel="noopener"&gt;Use Microsoft Teams on Azure Virtual Desktop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop supports AAD groups and AAD join.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/architecture/example-scenario/wvd/azure-virtual-desktop-azure-active-directory-join" target="_blank" rel="noopener"&gt;Azure AD join for Azure Virtual Desktop&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;IT admin&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Customize and Reuse Lab VMs&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Labs can be created with custom VM images.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/approaches-for-custom-image-creation" target="_blank" rel="noopener"&gt;Recommended approaches for creating custom images for labs - Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Labs can be configured with templates that grant permission for instructors to specific software or files.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/administrator-guide#rbac-roles" target="_blank" rel="noopener"&gt;RBAC roles with Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Azure Labs supports free Marketplace images that can be utilized across multiple labs, subscriptions, and regions.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/specify-marketplace-images" target="_blank" rel="noopener"&gt;Specify marketplace images for a lab in Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Save custom images to Azure Compute Gallery or bring a custom image from a VHD.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/approaches-for-custom-image-creation" target="_blank" rel="noopener"&gt;Recommended approaches for creating custom images for labs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A custom image can be used with Azure Virtual Desktop that contains all the apps and configuration settings for deployment.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/set-up-golden-image" target="_blank" rel="noopener"&gt;Create an Azure Virtual Desktop golden image&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A virtual hard disk (VHD) image can also be uploaded to Azure to provision Azure Virtual Desktop.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/set-up-customize-master-image" target="_blank" rel="noopener"&gt;Prepare and customize a VHD image of Azure Virtual Desktop - Azure&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop supports capturing images in a Compute Gallery or as a managed image.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/set-up-golden-image#capture-the-vm" target="_blank" rel="noopener"&gt;Create an Azure Virtual Desktop golden image&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Cost control&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IT admins and educators can limit exactly how many hours that a student can access a lab VM by setting user schedules and quotas – this ensures the budget is never exceeded. Idle settings can also be configured to shutdown inactive lab VMs.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/cost-management-guide#manage-costs" target="_blank" rel="noopener"&gt;Cost management guide for Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IT admins can save costs in Azure Virtual Desktop sharing VMs across users and scaling VMs to automatically start\stop during specified hours.&lt;/P&gt;
&lt;P&gt;There is no ability to set user quotas.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/remote-app-streaming/total-costs" target="_blank" rel="noopener"&gt;Understanding Azure Virtual Desktop deployment costs&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Session Sharing&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Students are each assigned their own dedicated VM where they connect using a single session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop supports dedicated VMs, it also supports multi-session with Windows 11 and Windows 10, which allows multiple concurrent user sessions for cost savings, not collaboration. Multiple students can share a host VM in separate sessions.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/windows-10-multisession-faq" target="_blank" rel="noopener"&gt;Windows 10 and Windows 11 Enterprise multi-session with Azure Virtual Desktop&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Instructor&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Customize Lab VMs&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructors may be granted permission to prepare labs with specific software or files for students to use.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-create-manage-template" target="_blank" rel="noopener"&gt;Create and manage a template in Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop labs are typically configured by an IT admin.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;LMS Integration&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When a lab is created in Canvas, Azure Lab Services will sync with the class roster.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-within-canvas-overview" target="_blank" rel="noopener"&gt;&amp;nbsp;Azure Lab Services within Canvas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Virtual Desktop does not have direct LMS support.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Teams Integration&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Azure Lab Services can be integrated with Teams to sync class rosters and streamline the student experience. Alternatively, Teams can be installed in lab as a collaboration tool.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/lab-services-within-teams-overview" target="_blank" rel="noopener"&gt;Azure Lab Services within Microsoft Teams&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Teams can be installed within Azure Virtual Desktop for chat and collaboration.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/teams-on-avd" target="_blank" rel="noopener"&gt;Use Microsoft Teams on Azure Virtual Desktop&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Student&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Student Account Access&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Students connect using a Microsoft account unless using Canvas. There is an option to link a non-Microsoft account with a Microsoft account. Azure Lab Services does not require AAD domain joining, which allows students to connect to the lab VM that is isolated from a school network.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-configure-student-usage#student-accounts" target="_blank" rel="noopener"&gt;Student accounts with Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-access-vm-for-students-within-canvas" target="_blank" rel="noopener"&gt;Access a VM (student view) in Azure Lab Services from Canvas&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Users will need to authenticate through Azure Active Directory (AAD). Azure Virtual Desktop supports hybrid identities through AAD, including Active Directory Federation Service (AD FS) and hybrid AAD-joined session hosts.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/authentication" target="_blank" rel="noopener"&gt;Azure Virtual Desktop identities and authentication&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Device Connection&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Students may connect from any device that has a native remote desktop client installed; this includes Windows, Android, MacOS or iOS device. Default connectivity for Windows is RDP and default connectivity for Linux is SSH.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/connect-virtual-machine" target="_blank" rel="noopener"&gt;How to connect to an Azure Lab Services VM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same as&amp;nbsp;&lt;SPAN&gt;Az&lt;/SPAN&gt;ure Labs. In addition, Azure Virtual Desktop supports thin clients, and web access.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/compare-remote-desktop-clients" target="_blank" rel="noopener"&gt;Compare the features of the Remote Desktop clients for Azure Virtual Desktop&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Persistent Student Workspace&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Students’ work and data on the VM is persistent across sessions until a lab’s template VM is republished, or the lab is deleted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/setup-guide#how-will-students-save-their-work" target="_blank" rel="noopener"&gt;Accelerated lab setup guide for Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Students can save their work across external locations like OneDrive, GitHub, or Azure Files.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-attach-external-storage" target="_blank" rel="noopener"&gt;Use external file storage in Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With&amp;nbsp;&lt;SPAN&gt;FSLogix&lt;/SPAN&gt;&amp;nbsp;profile containers, users have persistent access to their user settings and their user profile folder which includes subfolders such as Desktop, Documents, Music, Pictures, etc. User profiles are maintained across VMs and when VMs are reimaged.&lt;/P&gt;
&lt;P&gt;Users may be assigned their own dedicated VM so that their work and data is persistent across sessions for the lifetime of the VM.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/fslogix-containers-azure-files" target="_blank" rel="noopener"&gt;Azure Virtual Desktop FSLogix profile containers files&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="147px"&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Login&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="237px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Students can be assigned a VM with either an admin or non-admin login.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/lab-services/tutorial-setup-lab#create-a-lab" target="_blank" rel="noopener"&gt;Create a lab using Azure Lab Services&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="238px"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Students can be granted a local user account on the VM or can be configured with admin account on a dedicated VM.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-desktop/manage-app-groups" target="_blank" rel="noopener"&gt;Manage app groups for Azure Virtual Desktop&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;EM&gt;Can they be used together?&lt;/EM&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes! Many schools use Azure Lab Services and Azure Virtual Desktop as complementary solutions to meet their requirements in a secure, cost-effective way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would like to learn more, please review this case study on pairing the services together to enable remote learning.&lt;/P&gt;
&lt;P&gt;&lt;A title="Sheffield Hallam University delivers remote access to business-critical software with Azure Virtual Desktop and Azure Lab Services" href="https://customers.microsoft.com/en-us/story/1410363304401416399-sheffield-hallam-university-higher-education-azure-virtual-desktop" target="_blank" rel="noopener"&gt;Sheffield Hallam University delivers remote access to business-critical software &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 20:59:04 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/education-scenarios-with-azure-lab-services-and-azure-virtual/ba-p/3737800</guid>
      <dc:creator>laurendunlap</dc:creator>
      <dc:date>2023-06-27T20:59:04Z</dc:date>
    </item>
    <item>
      <title>How to use the “Lab Services should restrict allowed virtual machine SKU sizes” Azure Policy?</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/how-to-use-the-lab-services-should-restrict-allowed-virtual/ba-p/3612009</link>
      <description>&lt;P&gt;Let’s walkthrough how a lab administrator can allow only non-GPU SKUs, so educators can create only non-GPU SKU labs.&lt;/P&gt;
&lt;P&gt;1. In Azure Portal, go to your subscription.&lt;/P&gt;
&lt;P&gt;2. Select &lt;STRONG&gt;Policies&lt;/STRONG&gt; under &lt;STRONG&gt;Settings&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;3. Select &lt;STRONG&gt;Assignment&lt;/STRONG&gt; under &lt;STRONG&gt;Authoring&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;4. Select &lt;STRONG&gt;Assign Policy&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;5.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Select the &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Scope&lt;/STRONG&gt;&lt;SPAN&gt; which you would like to assign the policy to. Optionally, you can select a resource group if you would like to apply it to a specific resource group.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;6. Select the Policy Definition and search for “Lab Services” and select &lt;STRONG&gt;Lab Services should restrict allowed virtual machine SKU sizes&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;7. Select &lt;STRONG&gt;Next&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;8. Uncheck the &lt;STRONG&gt;Only show parameters that need input or review&lt;/STRONG&gt; to show all parameters.&lt;/P&gt;
&lt;P&gt;9.&amp;nbsp;The Allowed SKU names parameter shows SKU names and by default the SKU names applicable are selected . Uncheck the SKUs that shouldn’t be allowed. In our case we will check the following non-GPU SKUs: CLASSIC_FSV2_2_4GB_128_S_SSD, CLASSIC_FSV2_4_8GB_128_S_SSD, CLASSIC_FSV2_8_16GB_128_S_SSD, CLASSIC_DSV4_4_16GB_128_P_SSD, CLASSIC_DSV4_8_32GB_128_P_SSD.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the table below to determine which SKU names to apply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;&lt;STRONG&gt;SKU Name&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;&lt;STRONG&gt;VM Size&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="30px"&gt;&lt;STRONG&gt;VM Size Details&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_FSV2_2_4GB_128_S_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Small&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;2vCPUs, 4GB RAM, 128GB, Standard SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_FSV2_4_8GB_128_S_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Medium&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;4vCPUs, 8GB RAM, 128GB, Standard SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_FSV2_8_16GB_128_S_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Large&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;8vCPUs, 16GB RAM, 128 GB, Standard SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_DSV4_4_16GB_128_P_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Medium (Nested virtualization)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;4 vCPUs, 16GB RAM, 128 GB, Premium SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_DSV4_8_32GB_128_P_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Large (Nested virtualization)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;8vCPUs, 32GB RAM, 128GB, Premium SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_NCSV3_6_112GB_128_S_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Small GPU (Compute)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;6vCPUs, 112GB RAM, 128GB, Standard SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_NVV4_8_28GB_128_S_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Small GPU (Visualization)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;8vCPUs, 28GB RAM, 128GB, Standard SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;CLASSIC_NVV3_12_112GB_128_S_SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;Medium GPU (Visualization)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;
&lt;P&gt;12vCPUs, 112GB RAM, 128GB, Standard SSD&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;10.&amp;nbsp;For the Effect, choose the &lt;A title="Deny" href="https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects#deny" target="_blank" rel="noopener"&gt;Deny&lt;/A&gt;&amp;nbsp;Choosing deny will prevent a lab from even being created if an educator tries to create a lab with a GPU SKU.&lt;/P&gt;
&lt;P&gt;11. Select &lt;STRONG&gt;Next&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;12. On the &lt;STRONG&gt;Remediation&lt;/STRONG&gt; tab, select &lt;STRONG&gt;Next&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;13. For the &lt;STRONG&gt;Non-compliance message&lt;/STRONG&gt;, provide a non-compliance message of your choice. For example, "selected SKU is not allowed".&lt;/P&gt;
&lt;P&gt;14. Select &lt;STRONG&gt;Next&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;15.&amp;nbsp;On the &lt;STRONG&gt;Review + Create&lt;/STRONG&gt; tab, select &lt;STRONG&gt;Create&lt;/STRONG&gt; to create the policy assignment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have successfully created a policy assignment for “Lab Services should restrict allowed virtual machine SKU sizes” and allowed only to use non-GPU SKUs for labs. Creating a lab with any other SKU will fail and would not be created.&amp;nbsp; The policy assignment takes 30 minutes to take effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Exclusions&lt;/H3&gt;
&lt;P&gt;When applying a built-in policy, you can choose to exclude certain resources.&amp;nbsp; For example, if the scope of your policy assignment is a subscription, you can exclude resources in a resource group.&amp;nbsp; This is set using the &lt;STRONG&gt;Exclusions&lt;/STRONG&gt; property on the &lt;STRONG&gt;Basics&lt;/STRONG&gt; tab when creating a policy definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if you need to exclude a lab plan from a policy assignment the steps are different.&amp;nbsp; The exclusions scope shown in the &lt;STRONG&gt;Basics&lt;/STRONG&gt; tab while assigning the policy doesn’t support lab plans.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would like to exclude a lab plan resource, you will first need to get the resource id of the lab plan.&amp;nbsp; To get the resource id for the lab plan resource that you want to exclude, do the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Open the lab plan resource in the Azure portal.&lt;/P&gt;
&lt;P&gt;2. Under &lt;STRONG&gt;Settings&lt;/STRONG&gt;, select the &lt;STRONG&gt;Properties&lt;/STRONG&gt; page.&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;Under the &lt;STRONG&gt;Essentials&lt;/STRONG&gt;, copy the &lt;STRONG&gt;Id&lt;/STRONG&gt; property.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When creating a policy assignment, enter the lab plan to exclude on the &lt;STRONG&gt;Parameters&lt;/STRONG&gt; tab.&lt;/P&gt;
&lt;P&gt;4. On the &lt;STRONG&gt;Parameters&lt;/STRONG&gt; tab, uncheck &lt;STRONG&gt;Only show parameters that need input or review&lt;/STRONG&gt;. For &lt;STRONG&gt;Lab Plan Id to exclude&lt;/STRONG&gt;, enter the previously copied resource id of the lab plan.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Lab Services Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/how-to-use-the-lab-services-should-restrict-allowed-virtual/ba-p/3612009</guid>
      <dc:creator>agopinathan</dc:creator>
      <dc:date>2022-09-02T16:00:00Z</dc:date>
    </item>
    <item>
      <title>What’s new with Azure Policy for Lab Services?</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/what-s-new-with-azure-policy-for-lab-services/ba-p/3609557</link>
      <description>&lt;P&gt;Azure Lab Services has added 4 built-in &lt;A title="Azure policies" href="https://docs.microsoft.com/en-us/azure/governance/policy/overview" target="_blank" rel="noopener"&gt;Azure policies&lt;/A&gt;. Azure Policy help IT administrators to manage&amp;nbsp;and prevent issues automatically.&amp;nbsp; Policy definitions enforce rules and effects for your resource. This blogpost summarizes the new policies available with Azure Lab Services that use lab plan.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&amp;nbsp;Lab Services should enable all options for auto shutdown&lt;/LI&gt;
&lt;LI&gt;Lab Services should not allow template virtual machines for labs&lt;/LI&gt;
&lt;LI&gt;Lab Services should require non-admin user for labs&lt;/LI&gt;
&lt;LI&gt;Lab Services should restrict allowed virtual machine SKU sizes&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For a full list of built-in policies, including &lt;A href="https://docs.microsoft.com/azure/governance/policy/samples/built-in-policies#lab-services" target="_blank" rel="noopener"&gt;policies for Lab Services&lt;/A&gt;, see &lt;A href="https://docs.microsoft.com/azure/governance/policy/samples/built-in-policies" target="_blank" rel="noopener"&gt;Azure Policy built-in policy definitions&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;Lab Services should enable all options for auto shutdown&lt;/H3&gt;
&lt;P&gt;This policy is used to enforce that all &lt;A title="shutdown options" href="https://docs.microsoft.com/azure/lab-services/how-to-configure-auto-shutdown-lab-plans" target="_blank" rel="noopener"&gt;shutdown options&lt;/A&gt; are enabled while creating the lab. During policy assignment, lab administrators can choose the following effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Effect&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Audit&lt;/TD&gt;
&lt;TD width="50%"&gt;Labs will show on the &lt;A href="https://docs.microsoft.com/azure/governance/policy/assign-policy-portal#identify-non-compliant-resources" target="_blank" rel="noopener"&gt;compliance dashboard&lt;/A&gt; as non-compliant when all shutdown options are not enabled for a lab.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Deny&lt;/TD&gt;
&lt;TD width="50%"&gt;Lab creation will fail if all shutdown options are not enabled.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Lab Services should not allow template virtual machines for labs&lt;/H3&gt;
&lt;P&gt;This policy can be used to restrict &lt;A title="customization of lab templates" href="https://docs.microsoft.com/azure/lab-services/tutorial-setup-lab#create-a-lab" target="_blank" rel="noopener"&gt;customization of lab templates&lt;/A&gt;. While creating a new lab, there is an option either to “&lt;EM&gt;create a template virtual machine&lt;/EM&gt;” or “&lt;EM&gt;Use virtual machine image without customization&lt;/EM&gt;”. If this policy is enabled, only the “&lt;EM&gt;Use virtual machine image without customization&lt;/EM&gt;” is allowed . During policy assignment, lab administrators can choose the following effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Effect&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Audit&lt;/TD&gt;
&lt;TD width="50%"&gt;Labs will show on the &lt;A title="compliance dashboard" href="https://docs.microsoft.com/azure/governance/policy/assign-policy-portal#identify-non-compliant-resources" target="_blank" rel="noopener"&gt;compliance dashboard&lt;/A&gt; as non-compliant when a template virtual machine is used for a lab.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Deny&lt;/TD&gt;
&lt;TD width="50%"&gt;Lab creation to fail if “create a template virtual machine” option is used for a lab.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;Lab Services require non-admin user for labs&lt;/H3&gt;
&lt;P&gt;This policy is used to enforce &lt;A title="using non-admin accounts while creating a lab" href="https://docs.microsoft.com/azure/lab-services/tutorial-setup-lab#create-a-lab" target="_blank" rel="noopener"&gt;using non-admin accounts while creating a lab&lt;/A&gt;. When using a lab plan-base lab, you can choose to add a non-admin account to the VM image. This new feature allows you to keep separate credentials for VM admin and non-admin users. For more information to create a lab with a non-admin user, see &lt;A title="Tutorial: Create and publish a lab" href="https://docs.microsoft.com/azure/lab-services/tutorial-setup-lab#create-a-lab" target="_self"&gt;Tutorial: Create and publish a lab&lt;/A&gt;, which shows how to give a student non-administrator account rather than default administrator account on the “Virtual machine credentials” page of the new lab wizard.&lt;BR /&gt;During the policy assignment the lab administrator can choose the following effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;&lt;STRONG&gt;Effect&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="57px"&gt;Audit&lt;/TD&gt;
&lt;TD width="50%" height="57px"&gt;Labs show on the &lt;A title="compliance dashboard" href="https://docs.microsoft.com/azure/governance/policy/assign-policy-portal#identify-non-compliant-resources" target="_blank" rel="noopener"&gt;compliance dashboard&lt;/A&gt; as non-compliant when non-admin accounts is not used while creating the lab.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Deny&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Lab creation will fail if “&lt;EM&gt;Give lab users a non-admin account on their virtual machines&lt;/EM&gt;” is not checked while creating a lab. &amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;Lab Services should restrict allowed virtual machine SKU sizes&lt;/H3&gt;
&lt;P&gt;This policy is used to enforce which SKUs are allowed to be used while creating the lab. For example, a lab administrator might want to prevent educators from creating labs with GPU SKUs since they are not needed for any classes being taught. This policy would allow lab administrators to enforce which SKUs are allowed to be used while creating the lab. During the policy assignment the Lab Administrator can choose the following effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;&lt;STRONG&gt;Effect&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="57px"&gt;Audit&lt;/TD&gt;
&lt;TD width="50%" height="57px"&gt;Labs shows on the &lt;A title="compliance dashboard" href="https://docs.microsoft.com/azure/governance/policy/assign-policy-portal#identify-non-compliant-resources" target="_self"&gt;compliance dashboard&lt;/A&gt; as non-compliant when a non-allowed SKU is used while creating the lab.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Deny&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Lab creation will fail if SKU chosen while creating a lab is not allowed as per the policy assignment.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In tomorrow’s blogpost we’ll see how to use the “&lt;EM&gt;Lab Services should restrict allowed virtual machine SKU sizes&lt;/EM&gt;” azure policy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Lab Services Team&lt;BR /&gt;&lt;BR /&gt;References:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="List of Lab Services policies" href="https://docs.microsoft.com/azure/lab-services/azure-polices-for-lab-services " target="_blank" rel="noopener"&gt;List of Lab Services policies&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A title="What is azure policy?" href="https://docs.microsoft.com/en-us/azure/governance/policy/overview" target="_blank" rel="noopener"&gt;What is azure policy?&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:36:43 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/what-s-new-with-azure-policy-for-lab-services/ba-p/3609557</guid>
      <dc:creator>agopinathan</dc:creator>
      <dc:date>2024-06-20T22:36:43Z</dc:date>
    </item>
    <item>
      <title>Moving from Lab account to Lab plan</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/moving-from-lab-account-to-lab-plan/ba-p/3601579</link>
      <description>&lt;P&gt;This guide explains how to move from lab accounts to the August update lab plan.&amp;nbsp; We’ll identify which version of the service is being used, discuss some of the differences, and move a lab account to a lab plan.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can you identify if you are using the newest version?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The easiest way to identify if you are using the latest version is to look in the Azure portal.&amp;nbsp; Labs are visible as resources if you are using lab plans.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How much of a change are lab plan-based labs for educators and students?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;While there are a lot of improvements, almost all these changes are not visible to the educator or student.&amp;nbsp; The two version of lab services can live side by side; the educators will see both types of labs in the &lt;A href="https://labs.azure.com/" target="_blank" rel="noopener"&gt;Labs.Azure.com&lt;/A&gt; portal.&amp;nbsp; The students will see all their VMs in the same view, regardless of whether the lab is associated with a lab plan or lab account.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Can I move all my existing resources to the newer version?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Behind the scenes there are custom roles, which we’ll discuss later in the document.&lt;/P&gt;
&lt;P&gt;The team worked hard to keep a consistent user experience for educators and students. There are significant updates to the service itself&lt;SPAN&gt;.&lt;/SPAN&gt; You can learn more about these distinctions in the &lt;A href="https://docs.microsoft.com/azure/lab-services/lab-services-whats-new#lab-plans-replace-lab-accounts" target="_blank" rel="noopener"&gt;Azure Lab Services documentation&lt;/A&gt;.&lt;/P&gt;
&lt;H1&gt;Transition from lab accounts to lab plans&lt;/H1&gt;
&lt;P&gt;Let’s walk through the recommended next steps for moving from an existing lab account to a lab plan.&lt;/P&gt;
&lt;H2&gt;Review existing lab account&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In your existing lab account, some of the key items to identify are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is it peered with a network?
&lt;OL&gt;
&lt;LI&gt;The network information is in the Lab account – Lab Settings.&amp;nbsp; This feature will need to be set up during lab plan creation.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;What regions are the labs in? or should be?
&lt;OL&gt;
&lt;LI&gt;Lab plans allow more specific control of regions, but the specific regions need to be set in the lab plan.&amp;nbsp; While lab accounts don’t have specific Azure regions and there isn’t a direct correlation between the two.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Is there an Azure Compute Gallery (Shared Image gallery)?
&lt;OL&gt;
&lt;LI&gt;Multiple lab accounts and lab plans can be connected to a gallery and use the same images simultaneously.&amp;nbsp; The gallery will need to be connected to the lab plan, so labs can use the existing images.&amp;nbsp; Don't forget to &lt;A href="https://learn.microsoft.com/azure/lab-services/how-to-attach-detach-shared-image-gallery#enable-and-disable-images" target="_blank" rel="noopener"&gt;enable the images for the new lab plan&lt;/A&gt;!&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Are custom roles being used?
&lt;OL&gt;
&lt;LI&gt;With the addition of more specialized built-in roles, these may not be needed.&amp;nbsp; More information on the new roles is available in the &lt;A href="https://docs.microsoft.com/azure/lab-services/administrator-guide#rbac-roles" target="_self"&gt;Administrator guide - Azure Lab Services | Microsoft Docs&lt;/A&gt;,&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;How many VMs and what size are you using in the labs under the specific lab account?&lt;/LI&gt;
&lt;LI&gt;Are or would you want labs to be integrated with Teams or Canvas LMS?&lt;/LI&gt;
&lt;/OL&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Review Resource Group&lt;/H2&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This is a noticeable change between lab accounts and lab plans. The resource group is more significant when creating labs. It identifies which lab plans are available as a template. In action, the lab creator will select the resource group name in the Labs.Azure.com portal, then when creating a lab select the lab plan in that resource group to be the template.&lt;/P&gt;
&lt;H2&gt;Start creating a lab plan&lt;/H2&gt;
&lt;P&gt;The easiest way to is to start creating a new lab plan in the resource group from above.&lt;/P&gt;
&lt;P&gt;The first items are the name and the region when creating a lab plan.&amp;nbsp; Lab accounts and lab plans are different types of Azure resources so you can use the same name on the lab plan as your existing lab account name.&amp;nbsp; There is a &lt;A href="https://docs.microsoft.com/en-us/azure/lab-services/administrator-guide#naming" target="_blank" rel="noopener"&gt;Naming section&lt;/A&gt; in the Administrators guide, if you have questions.&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://docs.microsoft.com/en-us/azure/availability-zones/az-overview" target="_blank" rel="noopener"&gt;region&lt;/A&gt; you select is the default region that labs can be created in, you can add additional regions after creation.&lt;/P&gt;
&lt;H2&gt;Advanced networking&lt;/H2&gt;
&lt;P&gt;If your existing lab account isn’t peered to an Azure Virtual Network skip to the next section.&amp;nbsp; The networking information can be found under Lab Settings – Networking.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the case where your existing lab account has been peered to a virtual network, lab plans use a different and more flexible connection commonly called “vnet injection”.&amp;nbsp; Both a lab account and lab plan can be connected to the same virtual network as they use different connection types and IP ranges.&amp;nbsp; In the case of a simple licensing server with a virtual network peered to an existing lab account, you can follow these steps to connect to a lab plan.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a new subnet for the lab plan.&lt;/LI&gt;
&lt;LI&gt;Delegate the subnet to Microsoft labs.&lt;/LI&gt;
&lt;LI&gt;Add a network security group to allow RDP and SSH access.&lt;/LI&gt;
&lt;LI&gt;Connect virtual network and subnet to Lab Plan.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Depending on the configuration of the virtual network this may be more complex and require adjusting the virtual network.&amp;nbsp; There are specific documents on how to &lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-connect-vnet-injection" target="_self"&gt;use advanced networking&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Complete creation and request quota&lt;/H2&gt;
&lt;P&gt;At this point you can finish the lab plan creation; additional changes will need to be made once the lab plan has finished creating.&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-important-container-editor"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-important-container-editor"&gt;&lt;STRONG&gt;Lab plans use a new capacity management system, so once the lab plan is created.&amp;nbsp; As the initial number of cores in a lab plan is limited, you should&amp;nbsp;&lt;A href="https://docs.microsoft.com/azure/lab-services/capacity-limits#request-a-limit-increase" target="_self"&gt;request a limit increase&lt;/A&gt; to match what you are using with the current labs in the lab account you are moving.&amp;nbsp; Existing cores in the lab account will NOT be available in the lab plan. The limit increase will need to know which region for the additional cores (see below).&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;Enable regions&lt;/H2&gt;
&lt;P&gt;Enabling multiple regions is not required, if you don’t need or want multiple regions continue to the next section.&amp;nbsp; Lab accounts used "geolocations", but Lab plan use &lt;A href="https://azure.microsoft.com/global-infrastructure/geographies/#geographies" target="_self"&gt;Azure Regions&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If you need labs in different &lt;A href="https://azure.microsoft.com/global-infrastructure/geographies/#geographies" target="_self"&gt;regions&lt;/A&gt;, you will need to explicitly &lt;A href="https://docs.microsoft.com/azure/lab-services/create-and-configure-labs-admin" target="_self"&gt;enable those regions&lt;/A&gt;. This can be changed in the Lab Plan – Settings – Enabled Regions. Having multiple regions is not a requirement, you can request cores in a single region and have all the labs in that region.&amp;nbsp; With lab accounts you would select “generalized” regions and the service would select Azure regions depending on need and availability.&amp;nbsp; There isn’t a direct correlation between lab account regions and lab plan regions.&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Attach existing Azure Compute Gallery&lt;/H2&gt;
&lt;P&gt;If the existing lab account does not have an Azure Compute gallery, continue to the next section.&lt;/P&gt;
&lt;P&gt;The existing Azure Compute gallery (formerly Shared Image Gallery) can be attached to both a lab account and a lab plan simultaneously.&amp;nbsp; This is in the Lab Plan – Azure Compute Gallery – Attach existing gallery.&amp;nbsp; The images created using labs in the lab account can be used to create labs with a lab plan.&amp;nbsp; There reverse is not true, Labs under a Lab Account cannot use the Lab Plan created mages as Lab Plan based labs support &lt;A href="https://docs.microsoft.com/azure/virtual-machines/generation-2" target="_self"&gt;Generation 2 vms&lt;/A&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Images created using Lab Account based labs &lt;STRONG&gt;CAN&lt;/STRONG&gt; be used in Lab Plan based labs.&lt;/LI&gt;
&lt;LI&gt;Images created using Lab Plan based labs &lt;STRONG&gt;CANNOT&lt;/STRONG&gt; be used in Lab Account based labs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;Roles&lt;/H2&gt;
&lt;P&gt;If the subscription, resource group, or lab account only has built-in roles add &lt;A href="https://docs.microsoft.com/azure/lab-services/administrator-guide#rbac-roles" target="_self"&gt;the appropriate roles&lt;/A&gt; to the same resource.&lt;/P&gt;
&lt;P&gt;If there are custom roles created for the lab account, you will need to review them and determine if one of the &lt;A href="https://docs.microsoft.com/azure/lab-services/administrator-guide#rbac-roles" target="_self"&gt;new built-in roles&lt;/A&gt; can be used instead.&amp;nbsp; If the built-in roles don’t meet your needs, existing roles can be updated to add Microsoft.LabServices/labplans and Microsoft.LabServices/labs actions.&amp;nbsp; If you are unsure of which actions, it is recommended to &lt;A href="https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles-portal#clone-a-role" target="_blank" rel="noopener"&gt;clone a Lab Services role and adjusting as necessary&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Teams or Canvas integration&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;If the labs under the lab account were integrated with Teams, &lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-get-started-create-lab-within-teams" target="_self"&gt;labs using a lab plan have the same capabilities&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;With the August update labs can be integrated with Canvas LMS systems.&amp;nbsp; If you want this capability, then &lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-get-started-create-lab-within-canvas#link-lab-plans-to-canvas" target="_self"&gt;the lab plan will need to be linked to Canvas&lt;/A&gt;.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With that the new lab plan will have the same functionality as the lab account and new labs can be created using it.&lt;/P&gt;
&lt;H2&gt;Additional information&lt;/H2&gt;
&lt;P&gt;If there is any supporting code for managing or updating lab accounts, the code will need to be changed to support lab plans and the new model.&amp;nbsp; For more details on the specific languages.&amp;nbsp; Below are links to the different models and code.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/rest/api/labservices/" target="_self"&gt;REST API&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/powershell/module/az.labservices/" target="_self"&gt;PowerShell&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://pypi.org/project/azure-mgmt-labservices/" target="_self"&gt;Python&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;There is a &lt;A href="https://github.com/Azure/LabServices" target="_self"&gt;Lab Services repository&lt;/A&gt; with additional samples on managing lab plan-based version of labs.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:30:35 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/moving-from-lab-account-to-lab-plan/ba-p/3601579</guid>
      <dc:creator>RogerBestMSFT</dc:creator>
      <dc:date>2024-06-20T22:30:35Z</dc:date>
    </item>
    <item>
      <title>Update to Azure Lab Services</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/update-to-azure-lab-services/ba-p/3589439</link>
      <description>&lt;P&gt;The product team has been busy working on fundamental improvements for the service to boost performance, reliability, and scalability. It has been a multi-quarter effort, and we’re excited to announce all the great changes now available!&amp;nbsp;The latest update is a generally available which is intended for running production labs with real students\classes and is backed by the service &lt;A href="https://azure.microsoft.com/en-us/support/legal/sla/lab-services" target="_self"&gt;SLA&lt;/A&gt;.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;We have a bunch of exciting new features, so let’s walk through all the goodness one by one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/lab-services-whats-new#lab-plans-replace-lab-accounts" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Lab plans replace lab accounts&lt;/STRONG&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;The lab account concept is being replaced with a new concept called a lab plan. Although similar in functionality, there are some fundamental differences between the two concepts. The lab plan serves as a collection of settings that apply to the labs created from it. Also, labs are now an Azure resource and a sibling resource to lab plans.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-get-started-create-lab-within-canvas" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Canvas Integration&lt;/STRONG&gt;&lt;/A&gt;. Now, instructors don’t have to leave Canvas to create their labs. Students can connect to a virtual machine from inside their course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/capacity-limits#per-customer-assigned-capacity" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Per customer assigned capacity&lt;/STRONG&gt;&lt;/A&gt;. No more sharing capacity with others. If your organization has requested more quota, Azure Lab Services will save it just for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-connect-vnet-injection" target="_blank" rel="noopener"&gt;Advanced networking&lt;/A&gt;. Virtual network peering is replaced by virtual network injection. In your own subscription, create a virtual network in the same region as the lab plan and delegate a subnet to Azure Lab Services. Lab plans with advanced networking (i.e., vnet injection) will cause labs to create VMs attached to your virtual network.&amp;nbsp; Checkout our tutorial at&amp;nbsp;&lt;A href="https://docs.microsoft.com/azure/lab-services/tutorial-create-lab-with-advanced-networking" target="_self"&gt;Tutorial: Set up lab to lab communication with advanced networking&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-configure-auto-shutdown-lab-plans" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Improved auto-shutdown&lt;/STRONG&gt;&lt;/A&gt;. Auto-shutdown settings are now available for&amp;nbsp;&lt;EM&gt;all&lt;/EM&gt;&amp;nbsp;operating systems!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/administrator-guide#rbac-roles" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;More built-in roles&lt;/STRONG&gt;&lt;/A&gt;. Previously, there was only the Lab Creator built-in role. We’ve added a few more roles including Lab Operator and Lab Assistant. Lab operators can manage existing labs, but not create new ones. Lab assistants can only help students by starting, stopping, or redeploying virtual machines. Lab assistants can't adjust quota or set schedules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/cost-management-guide#separate-the-costs" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Improved cost tracking in Azure Cost Management&lt;/STRONG&gt;&lt;/A&gt;. Lab virtual machines are now the cost unit tracked in Azure Cost Management. Tags for lab plan ID and lab name are automatically added to each cost entry. If you want to track the cost of a single lab, group the lab VM cost entries together by the lab name tag. Custom tags on labs will also propagate to Azure Cost Management entries to allow further cost analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-manage-labs" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Updates to lab owner experience&lt;/STRONG&gt;&lt;/A&gt;. Now you can choose to skip the template creation process when creating a new lab if you already have an image ready to use. We’ve also added the ability to add a non-admin user to lab VMs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-manage-vm-pool#redeploy-vms" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Updates to student experience&lt;/STRONG&gt;&lt;/A&gt;. Students can now redeploy their VM without losing data. We also updated the registration experience for some scenarios. A lab VM is assigned to students&amp;nbsp;&lt;EM&gt;automatically&lt;/EM&gt;&amp;nbsp;if the lab is set up to use Azure AD group sync, Teams, or Canvas.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SDKs&lt;/STRONG&gt;. The Azure Lab Services PowerShell is now be integrated with the &lt;A href="https://www.powershellgallery.com/packages/Az.LabServices/0.1.0" target="_blank" rel="noopener"&gt;Az PowerShell module&lt;/A&gt;. Also, check out the &lt;A href="https://www.nuget.org/packages/Microsoft.Azure.Management.LabServices" target="_blank" rel="noopener"&gt;.NET SDK&lt;/A&gt;&amp;nbsp;and &lt;A href="https://pypi.org/project/azure-mgmt-labservices/" target="_self"&gt;Python SDKs.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;FONT size="6" color="#7928A1"&gt;&lt;A href="https://docs.microsoft.com/azure/lab-services/tutorial-setup-lab-plan" target="_blank" rel="noopener"&gt;Give it a try!&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this release, there are a few known issues:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When using virtual network injection, use caution in making changes to the virtual network and subnet. Changes may cause the lab VMs to stop working. For example, deleting your virtual network will cause all the lab VMs to stop working. We plan to improve this experience in the future, but for now make sure to delete labs before deleting networks.&lt;/LI&gt;
&lt;LI&gt;Moving lab plan and lab resources from one Azure region to another isn't supported.&lt;/LI&gt;
&lt;LI&gt;Azure Compute&amp;nbsp;&lt;A href="https://docs.microsoft.com/azure/azure-resource-manager/management/resource-providers-and-types" target="_blank" rel="noopener"&gt;resource provider must be registered&lt;/A&gt;&amp;nbsp;before Azure Lab Services can&amp;nbsp;&lt;A href="https://docs.microsoft.com/azure/lab-services/how-to-attach-detach-shared-image-gallery#create-and-attach-a-compute-gallery" target="_blank" rel="noopener"&gt;create and attach an Azure Compute Gallery resource&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We hope you enjoy all the new features! Look for more in-depth blog posts coming soon. For now, check out our updated documentation at &lt;A href="https://docs.microsoft.com/azure/lab-services" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/lab-services&lt;/A&gt;.&amp;nbsp; If you are interested in working with the Azure Lab Services Customer Success team to provide feedback, please fill out our &lt;A href="https://aka.ms/azlabs/customerengagementform" target="_blank" rel="noopener"&gt;engagement form&lt;/A&gt;.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Azure Lab Services Team&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:20:02 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/update-to-azure-lab-services/ba-p/3589439</guid>
      <dc:creator>planetmaher</dc:creator>
      <dc:date>2024-06-20T22:20:02Z</dc:date>
    </item>
    <item>
      <title>What's new in the Azure Lab Services</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/what-s-new-in-the-azure-lab-services/ba-p/3581198</link>
      <description>&lt;P&gt;This is a presentation highlighting the new features introduced in the latest preview for Azure Lab Services.&lt;div data-video-id="https://youtu.be/e9ng2v7uffs" data-video-remote-vid="https://youtu.be/e9ng2v7uffs" class="lia-video-container lia-media-is-center lia-media-size-small"&gt;&lt;iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fe9ng2v7uffs%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3De9ng2v7uffs&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fe9ng2v7uffs%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" allowfullscreen="" style="max-width: 100%"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:53:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/what-s-new-in-the-azure-lab-services/ba-p/3581198</guid>
      <dc:creator>lucabol</dc:creator>
      <dc:date>2024-06-20T22:53:00Z</dc:date>
    </item>
    <item>
      <title>Azure Lab Services Tutorial Video</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-tutorial-video/ba-p/3486265</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is a complete tutorial about Azure Lab Services' features. It walks through the steps of setting up a Lab Account, creating a Lab, and accessing it as a student.&amp;nbsp; It includes the latest features available when using lab plans.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div data-video-id="https://youtu.be/KUcDOJHdqUM" data-video-remote-vid="https://youtu.be/KUcDOJHdqUM" class="lia-video-container lia-media-is-center lia-media-size-small"&gt;&lt;iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKUcDOJHdqUM%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKUcDOJHdqUM&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKUcDOJHdqUM%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" allowfullscreen="" style="max-width: 100%"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:54:22 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/azure-lab-services-tutorial-video/ba-p/3486265</guid>
      <dc:creator>lucabol</dc:creator>
      <dc:date>2024-06-20T22:54:22Z</dc:date>
    </item>
    <item>
      <title>How to use Cost Management + Billing to help track Azure Lab Services costs.</title>
      <link>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/how-to-use-cost-management-billing-to-help-track-azure-lab/ba-p/3394959</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;Cost management is one of the top concerns with education, especially with cloud resources.&amp;nbsp; No one wants to be surprised by a large bill at the end of the class session.&amp;nbsp; There are two key methods to getting a better handle on costs.&amp;nbsp; The first method is budgeting, which includes being able to set a target for the maximum cost of a lab, department, or school.&amp;nbsp; Part of the budget is to have alerts that warn the consumer before there is a problem.&amp;nbsp; The second area is analysis, once the lab has costs allocated to it the consumer will be able to review the costs to verify &amp;nbsp; that the usage was appropriate and plan for the next classes budget.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;With the release of the &lt;A href="https://docs.microsoft.com/azure/lab-services/lab-services-whats-new" target="_blank" rel="noopener"&gt;Azure Lab Services April 2022 Update (preview)&lt;/A&gt;, there are several additions that, used in conjunction with &lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/" target="_blank" rel="noopener"&gt;Azure Cost Management + Billing,&lt;/A&gt; can help you have better view of costs.&amp;nbsp; We’ll look at the analysis first to see the different options that are available to create a budget on.&amp;nbsp; For this example, I’ll analyze the costs for a single lab then add a budget with alerts.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="6"&gt;&lt;STRONG&gt;Analyzing costs&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;To analyze cost, first open the Azure portal and select the “Cost Management + Billing” and go into “Cost Management” and then “Cost Analysis”&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;In this view you can see the overall costs, the forecasted cost, a budget, and the budget overage.&amp;nbsp; For more details you can check the &lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-acm-create-budgets" target="_blank" rel="noopener"&gt;Cost Management + Billing documentation&lt;/A&gt;.&amp;nbsp; For now, we will look at the ways to change the views for the AccumulatedCosts.&amp;nbsp; The first change is the date range, by default the view is set to the current month.&amp;nbsp; But classes and the corresponding labs can be weeks or months long and have start/stop dates that aren’t at the beginning or end of the month. We want to make sure we are seeing all the costs in that timeframe. So, the view can be changed using the “Custom Date Range” to include the entire time the class is running.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Cost for multiple labs (by lab plan)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Now for this example we’ve set up the Azure lab services where each division or group has their own lab plan and every lab is used by a class in that group.&amp;nbsp; &amp;nbsp;We’ll use the new tags to filter down the costs to what we want to see.&amp;nbsp; To do this select the “+filter” pill and select the “Tag” option.&amp;nbsp; A “pill” is the elongated oval shaped button, like a pill, at the upper section of the view. This will add another pill to select the tag name which is “ms-labplanid” for the lab plan.&amp;nbsp; The last pill is the lab plan id value, the id is fairly long and can be truncated in the pulldown.&amp;nbsp; If you hover over a specific option a flyout will show the entire resource id. Once you check the plan id(s) you want, the chart will change to show you all the cost for every lab in the lab plan.&amp;nbsp; This view of the costs can be saved to review at a later date without rebuilding the filter.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Cost per lab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Now that’s nice but let’s dig a little deeper to see the details for a specific lab.&amp;nbsp; We’ll do the same action of adding another tag filter, but this tag name is “ms-labname” and the value is the lab name you want the costs for.&amp;nbsp; Select the filter pill, select “tag”, select “ms-labname”, then choose the lab name you want.&amp;nbsp; The visualization changes to show the costs for just that lab.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Cost for vms&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Now the last automatic tag only pertains to labs that have a &lt;A href="https://docs.microsoft.com/en-us/azure/lab-services/how-to-create-manage-template" target="_blank" rel="noopener"&gt;template vm&lt;/A&gt;.&amp;nbsp; This will allow you to filter to only show the cost of the student vms, not the template vm.&amp;nbsp; Following the same pattern with the filter to choose the “Tag”, then the “ms-istemplate” name and select value to be false.&amp;nbsp; Selecting true would only show the template vm cost.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Given the &amp;nbsp;spike of student vm usage you could infer that this was the first day of the class.&amp;nbsp; There is more detailed documentation for &lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/cost-analysis-common-uses" target="_blank" rel="noopener"&gt;common cost analysis uses&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Custom Tags&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;FONT size="4"&gt;If you want something with more details than the automatic tags, you can define your own custom tags at either the resource group, the lab plan or the lab level.&amp;nbsp; Any tags on the lab plan will be included in any labs created with it. &amp;nbsp;Custom tags can be added to the specific labs from the Azure Portal or programmatically. &amp;nbsp;The same filtering steps that we did with the automatic tags can be done using the custom tags.&amp;nbsp; There are some constraints on custom tags, like tags aren’t applied to historical data, which are documented in the “&lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/understand-cost-mgt-data#how-tags-are-used-in-cost-and-usage-data" target="_blank" rel="noopener"&gt;Understanding Cost Management Data&lt;/A&gt;”.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;While the “AccumulatedCosts” view is really good for seeing cost growth and forecasting, the “CostByResource” view gives you a view into the costs per vm.&amp;nbsp; To get there in the view section change “AccumulatedCosts” to “CostByResource”, this will reset the date range and remove all the filters. Change the date range back to the same dates as the class/lab to get all the data.&amp;nbsp; You can either add a filter using the tags for the lab name or enter the lab name in the quick filter at the top of the resource list.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Cost by vm&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In the view above there are costs for two vms within the lab that we are analyzing.&amp;nbsp; From the tags vm 0 is the template vm for the lab, the second is a student vm (1).&amp;nbsp; So now to find the student that is burning up money!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The actual vm name isn’t displayed in either the Azure portal (portal.azure.com) or the Labs portal (labs.azure.com), so we’ll have to use to get the detailed vm information.&amp;nbsp; To get this setup you’ll need to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/shows/it-ops-talk/how-to-install-powershell-7" target="_blank" rel="noopener"&gt;Open PowerShell (I recommend using PowerShell 7)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Once PowerShell is open here are the commands to install the Az modules and get the lab vms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="powershell"&gt;Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
Install-Module Az.LabServices
Connect-AzAccount -Subscription &amp;lt;your subscription id&amp;gt;
$vm = Get-AzLabServicesVm -LabName &amp;lt;labName&amp;gt; -ResourceGroupName &amp;lt;groupName&amp;gt; -Name &amp;lt;name ie 1&amp;gt;
Get-AzLabServicesUser -ResourceId $vm.ClaimedByUserId | Format-List -Property Email&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;This will give you the email address of the student that is using the vm named 1 in this example.&amp;nbsp; At this point you have detailed information on what the cost is for a specific vm, and the student that the vm is assigned to.&amp;nbsp; Now that we have lab costs down to the individual vm, let’s take a look at budgeting.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Lab Budgeting&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;So, let’s set up a budget for a lab using the same tags that will send an email alert when costs reach 50%, 75%, and 90% of the budget and when the cost exceeds the budget.&lt;/P&gt;
&lt;P&gt;The first item is to &lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-acm-create-budgets" target="_blank" rel="noopener"&gt;create a budget&lt;/A&gt; so in the Azure Portal open the “Cost Management + Billing” and go into “Cost Management” and then “Budget”.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;We’ll select “ + Add” to create a new budget. &amp;nbsp;In the “Create budget” screen we’ll use the filters to select the lab specific tag.&amp;nbsp; So, select the “Add filter” pill, select “Tag”, then “ms-labname”, and for the value the lab name. &amp;nbsp;Set the name to identify the budget and set the “Reset Period” to monthly.&amp;nbsp; The Creation Date and Expiration date should be the same as the lab.&amp;nbsp; Then set the overall lab budget.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Calculating Budget amount&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Budgets are reset on Monthly, Quarterly, or Annually basis.&amp;nbsp; The issue is that the lab costs that are displayed in the lab website (&lt;A href="https://labs.azure.com" target="_blank" rel="noopener"&gt;https://labs.azure.com&lt;/A&gt;) are for the entire time of the class, which could be for multiple months.&amp;nbsp; The simple solution is to set the budget to be the displayed lab cost divided by the number of months.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Set Alerts&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Select “Next” to move to the “Set alerts” page where you &lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/cost-mgt-alerts-monitor-usage-spending" target="_blank" rel="noopener"&gt;can set conditions to send out emails when lab costs reach key percentages&lt;/A&gt;.&amp;nbsp; I would recommend that you set up a few alerts to give you early warnings.&amp;nbsp; Below I’ve set up alerts at 50%, 75%, and 90% based on actual usage. Then add in the emails to the appropriate people.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the lab costs reach the specific percentage of actual cost you’ll receive an email from “azure-noreply@microsoft.com” that will list out the details of the budget, the alert, the cost, and other details.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Now you have a budget specific to a lab that will alert people when costs reach specific cost levels.&amp;nbsp; This is a sample to get you up and running with cost management focused on Azure Lab Services.&amp;nbsp; For more information go to the &lt;A href="https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/cost-mgt-alerts-monitor-usage-spending" target="_blank" rel="noopener"&gt;Cost Management + Billing documentation&lt;/A&gt;, there they have tutorials, concept information, How-to guides, references, and samples.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Roger&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 17:33:40 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/azure-lab-services-blog/how-to-use-cost-management-billing-to-help-track-azure-lab/ba-p/3394959</guid>
      <dc:creator>RogerBestMSFT</dc:creator>
      <dc:date>2022-06-01T17:33:40Z</dc:date>
    </item>
  </channel>
</rss>

