How to use VM Environments to Complete Power Platform Labs on MS Learn
Published Aug 15 2022 12:00 AM 12.9K Views

A picture showing blog bannerA picture showing blog banner
Microsoft Learn just introduced a better learning experience with hands-on-labs that citizens, professional developers, educators, and students can complete using VM Environments. This allows all developers, students, and educators to build and run lab solutions without using up any of the school, work, or personal account resources.


  • Set up a VM environment for a lab
  • Complete a lab using a VM environment
  • Next Steps

Set Up A VM Environment

  1. Go to the Power Platform Labs Cloud Skills Challenge and join the challenge
  2. Click on Navigation in a canvas app in PowerApps. You can choose a module of your choice here to see the VM environment in action.
  3. Go through and complete the first two units namely Understanding navigation and The navigation and back function.Someleze_Diko_1-1660343038202.png
  4. Once these are completed click continue to move to the Lab - Create navigation functionsSomeleze_Diko_2-1660343038322.png
  5. On this unit, you will need a VM environment to complete the lab. To do so, click on Launch VM mode as this will launch a VM environment.
  6. A PowerShell window and a Windows Command window will appear. After about two to three minutes, they'll close, and Power Apps will open automatically. Wait for the Power Apps home screen.
  7. To see the lab instructions, select the Instructions tab on the lab side bar.

Complete a Lab using the VM Environment

  1. Go to the Power Apps Studio. If you're already using the virtual environment, skip to the next step.
  2. Select the New app dropdown and choose Canvas
  3. A new window will open in your browser, create a name and choose Tablet layout. Select Create.
  4. In the new blank app, select the Insert Tab, select the New screen dropdown, and choose Blank


  5. This will create a new blank screen in your app. Repeat once more to have three screens total.
  6. On Screen1, insert a Button control and change the Text property to Next.
  7. On Screen2, add a Button control and change the Text to Next.
  8. Add another Button control and change the Text to Back.
  9. On Screen3, add a Button control and change the Text property to Back.
  10. On Screen1, set the Next button OnSelect property to Navigate(Screen2,ScreenTransition.Fade).Someleze_Diko_6-1660343038101.png


  11. On Screen2, set the OnSelect property for the Next button to Navigate(Screen3,ScreenTransition.Cover).
  12. Set the OnSelect property for the Back button to Back().


  13. On Screen 3, set the OnSelect property for the Back button to Back().


  14. To test this, select Screen 1, and put the app in** Preview** or Play mode and navigate through the app as a user would.
  15. Once finished with the lab, click on Done this will end the session on the VM Environment. Then click on Continue to complete the rest of the module.

Next Steps or Call to action

  1. Join and complete the Power Platform Labs Cloud Skills Challenge. Make sure to complete the modules in this challenge and labs within the modules.
  2. Tag me or @mention me on twitter, Someleze Diko, to share your progress, your experience and thoughts/feedback about these labs and if you want to see more of these on Microsoft Learn modules.
1 Comment
Version history
Last update:
‎Aug 12 2022 06:11 PM
Updated by: