Set the following values in the Networking tab of the Create a virtual machine page.
| Setting | Value | 
|---|---|
| NIC network security group | Select Advanced. | 
| Configure network security group | Select the network security group described in Creating the Azure network rules. |