Practice Lab 0 - Validate lab environment

WWL Tenants - Terms of Use

If you are being provided with a tenant as a part of an instructor-led training delivery, please note that the tenant is made available for the purpose of supporting the hands-on labs in the instructor-led training.

Tenants should not be shared or used for purposes outside of hands-on labs. The tenant used in this course cannot be used or accessed after the class is over and are not eligible for extension.

Tenants must not be converted to a paid subscription. Tenants obtained as a part of this course remain the property of Microsoft Corporation and we reserve the right to obtain access and repossess at any time.

[!IMPORTANT] This lab provides you with a Microsoft 365 tenant and licenses for the Power Platform applications you will be using in this course. You will only be provided with one tenant for the practice labs in this course. The settings and actions you take within this tenant do not roll-back or reset, whereas the virtual machine you are provided with does reset each time you close the lab session. Please be aware that Microsoft 365 and Power Platform are evolving all the time. The instructions in this document may be different from what you experience in your actual tenant. It is also possible to experience a delay of several minutes before the virtual machine has network connectivity to begin the labs.

Exercise 1 - Download lab files

  1. From the lab virtual machine, select the Windows Start icon and search for PowerShell then open PowerShell as Administrator.

    Start Powershell as administrator.

  2. Select Yes if prompted.

  3. Run the following commands to download the latest version of the lab files to the virtual machine.

    [!NOTE] If any of the commands fail run them again until they are successful.

  4. Create folder for lab files.

    New-Item -Path "C:\" -Name "LabFiles" -ItemType "directory"   
    
  5. Download ZIP file from GitHub.

    ([System.Net.WebClient]::new()).DownloadFile('https://github.com/MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer/archive/master.zip', 'C:\LabFiles\master.zip')
    
  6. Expand ZIP file.

    Expand-Archive -Path 'C:\LabFiles\master.zip' -DestinationPath 'C:\LabFiles'
    
  7. Move files to C:\Labfiles

    Move-item -Path "C:\LabFiles\PL-400_Microsoft-Power-Platform-Developer-master\Allfiles\Labs\*" -Destination "C:\LabFiles" -confirm: $false
    

    Powershell commands.

  8. Delete files not required for labs.

    Remove-item 'C:\LabFiles\PL-400_Microsoft-Power-Platform-Developer-master' -recurse -force
    
  9. Delete zip file.

    Remove-item 'C:\LabFiles\master.zip'
    

    [!NOTE] Please note, the files are copied to C:\Labfiles and whenever asked to navigate to a lab files, you should use this location.

    Labfiles folders.

  10. Close the PowerShell window.

Exercise 2 – Power Platform license

In this exercise, you will add Power Apps for Developer to the tenant and assign licenses to users.

Task 2.1 – Sign into the Microsoft 365 admin portal

  1. Verify that you have your Microsoft 365 credentials from the Authorized Lab Host available.

  2. Navigate to the Microsoft 365 admin center https://admin.microsoft.com

  3. Enter the email address from your Microsoft 365 credentials in the text box that says Email, phone, or Skype.

  4. Select Next.

  5. Enter the password from your Microsoft 365 credentials.

  6. Select Sign in.

  7. Select Yes to stay signed in.

Task 2.2 – Sign up for Power Apps for Developer

  1. In a new browser tab, navigate to https://powerapps.microsoft.com

  2. Select Try for free, then Start building apps.

  3. Enter the email address provided by the Authorized Lab Host.

  4. Select Next.

  5. Select Sign In.

  6. Enter the password provided by the Authorized Lab Host, if prompted.

  7. Leave the Country or Region as the default value.

  8. If prompted, enter 0123456789 for Business phone number.

  9. Select Get Started.

  10. Select Get Started again.

  11. The Power Apps Maker portal will open in a new tab.

Task 2.3 – Verify Power Apps license is assigned to your user

  1. Navigate to the Microsoft 365 admin center https://admin.microsoft.com

  2. In the left navigation, expand Users and select Active users.

  3. Select your user, MOD Administrator, to open the user details panel and select the Licenses and apps tab.

    Mod Administrator licenses.

  4. Verify that Microsoft Power Apps for Developer is checked. Check it, if not.

  5. Select Save changes.

  6. Select the X in the top right of the user details panel to close the panel.

Task 2.4 – Assign Power Apps licenses to other users

  1. Navigate to the Microsoft 365 admin center https://admin.microsoft.com

  2. In the left navigation, expand Users and select Active users.

  3. Check the boxes next to the other users, click on the ellipses (…) in the action bar, and select Manage product licenses.

    Select other users.

  4. Select Assign more and check the box for Microsoft Power Apps for Developer.

    Add more licenses.

  5. Select Save changes.

  6. Select Done.

Exercise 3 - Create environments

In this exercise, you will create a Development environment that you will do the majority of your lab work in and a Live environment to use to deploy solutions.

[!NOTE] Depending on the browser that you are using, it is suggested that you disable any pop-up blockers that maybe enabled. This will prevent popup screens from not appearing as they should.

Task 3.1 – Create development environment

  1. Navigate to the Power Platform admin center https://admin.powerplatform.microsoft.com and sign in with your Microsoft 365 credentials if prompted again.

  2. Select Get Started if a Welcome to the Power Platform admin center popup is shown.

  3. Select Environments from the left navigation pane. There should be a default environment, Contoso (default), and possibly another environment named Dev One.

  4. Select + New.

    Environment in the Power Platform admin center.

  5. In the Name text box, enter [my initials] Development. (Example: PL Development).

  6. In the Type drop down, select Developer.

  7. Leave all other selections as default and select Next.

    New environment.

  8. On the Add Dataverse tab, select Save.

  9. Your Development environment should now show in the list of environments.

    Environment in the Power Platform admin center.

  10. Your Development environment may take a few minutes to provision. Refresh the list if needed. When the environment shows as Ready, select the Development environment by selecting the ellipsis (…) menu next to the name to expand the drop-down menu and selecting Settings.

    Environment in the Power Platform admin center.

  11. Explore the different areas in Settings that you may be interested in but do not make any changes yet.

Task 3.2 – Create production environment

  1. Navigate to Environments in the Power Platform admin center https://admin.powerplatform.microsoft.com/environments

  2. Select + New.

  3. In the Name text box, enter [my initials] Live. (Example: PL Live).

  4. In the Type drop-down, select Developer.

  5. Leave all other selections as default and select Next.

  6. On the Add Dataverse tab, select Save.

  7. You should now see the following environments; Contoso (default), Development, and Live.

    Environments.

    Important: You will use the Development environment for all customizations in the labs. The Live environment will act as your test/production environment.

Exercise 4 - Azure subscription

In this exercise, you will create an Azure subscription that you will be using in later labs.

Task 4.1 – Redeem Azure Pass

  1. Obtain a new Azure Pass (valid for 30-days) from the instructor, lab provider, or other source.

  2. Navigate to the Azure Pass redemption page https://www.microsoftazurepass.com and sign in with your Microsoft 365 credentials.

  3. Follow these instructions to redeem your Azure Pass.

    Redeem a Microsoft Azure Pass

  4. On the Your profile page, change Last name from Administrator to Developers.

  5. On the Your profile page, you will need to enter a valid Address line 1, City, and Postal Code and agree to the subscription offer. Do not change any other details.

    Note: If you are prompted for a Phone number when using the Power Platform or Azure portals, enter 0123456789 and select Submit.

  6. Wait for the Azure subscription to be provisioned and select Maybe later.

  7. Select Subscriptions. You should see Azure Pass - Sponsorship.

    Azure Pass subscription.