Skip to content

Commit 13807aa

Browse files
committed
Update README to include 'az login'
1 parent d70ce27 commit 13807aa

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,16 @@ If you have any questions or feature requests, please create new issue with deta
2929

3030
## Running the sample in `IoTCentralApp` folder
3131
1. Make sure [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest) has been installed on your dev machine.
32-
2. In console Window, change directory to `src` folder.
33-
3. Type `dotnet run` and press enter.
34-
4. Follow the output in the console window to create your IoT Central App with a connected device. Basically, you will be doing the following things.
32+
2. In console window, run below command to login:
33+
34+
```cmd
35+
az login
36+
az account get-access-token --resource https://apps.azureiotcentral.com
37+
```
38+
39+
3. In console window, change directory to `src` folder.
40+
4. Type `dotnet run` and press enter.
41+
5. Follow the output in the console window to create your IoT Central App with a connected device. Basically, you will be doing the following things.
3542
- Login via Azure CLI.
3643
- Select a subscrption with arrow keys.
3744
- Create a new resource group or not.

0 commit comments

Comments
 (0)