4. Test Power Platform CLI
LAB SCENARIO
You will import the current solution and use this to start your work. You will also add a column to a table and modifying the app to use it. You will also configure and test the Power Platform CLI.
In Exercise 4 you will learn and test the Power Platform CLI.
4.1 Test the Power Platform CLI​
- Open Visual Studio Code.
- Select the Power Platform tab and click Add Auth Profile.
The sign in popup should appear.
Provide your credentials and sign in.
Right click on the auth profile you created and select Name/Rename Auth profile.
- Type Dev Auth and ENTER.
- You should now have at least one auth profile. If you have more than profile, make sure the profile you created is selected.
- Go to the Environments & Solutions pane and expand the environment you are using for this lab.
- You should see all the solutions in the environment.
- Right click on the dev environment you created and select copy the Environment Url.
- Click Terminal and select New Terminal.
- Run the command below to select the dev environment. Replace [YOUR ENVIRONEMNT URL] with the environment URL you copied.
pac org select --environment [YOUR ENVIRONMENT URL]
- Run the command below to see list of solutions.
pac solution list
🤖 Note: You should see list of solutions installed on your environment.