Building and customizing solutions using Microsoft 365 Copilot APIs and tools
To sign in to an Azure Lab or use GitHub Copilot with a lab VM, there is no generic “other user” username and password. The correct credentials depend on how the lab and accounts were set up.
Use these checks:
- Verify the lab VM username and password
- For Azure Lab Services, the instructor or lab creator defines the VM username and password.
- If the lab was created with “Use same password for all virtual machines,” all students use the same username/password.
- If a custom password was set per student, use the specific credentials provided for that lab VM.
- If the password was forgotten
- From the lab portal, use the option to reset the VM password for the lab machine. After reset, use the new password to log in.
- As a last resort, reimage the lab VM. This restores access but deletes all user data on that VM and it cannot be recovered.
- If the lab uses a custom image
- If no one can log in with the common lab username/password and the lab uses an Azure Compute Gallery image, use the username and password that were used when the image was created, or reset the password on the VM.
- If the machine might be compromised
- Reset the password to regain access.
- Use strong, unique passwords and avoid sharing them.
- Ensure lab access is restricted only to the intended students.
- Remote Desktop Gateway considerations
- If the RDP client is configured with a Remote Desktop Gateway, first enter the gateway credentials when prompted, then the lab VM credentials.
To use GitHub Copilot with Azure resources from tools like Visual Studio Code or GitHub Copilot for Azure:
- Install the GitHub Copilot for Azure extension in Visual Studio Code.
- Sign in to Azure using
az loginand select the correct subscription withaz account set. - Ensure a GitHub account with an active GitHub Copilot subscription is available when using Copilot-based tools.
If login still fails, contact the lab instructor or administrator to confirm the exact username and password and to check whether the account or VM has been modified.
References: