-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botSSHService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.VM SSHcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Description
It seems that if your UPN has a "-" (hyphen, dash) at the beginning, Azure AD gets it right, but when trying to log into a Linux VM via Azure AD Credentials, it fails with an error "Bad character".
I reproduced this in my lab, and every time I try it it fails.
I tried to create a local account starting with a "-" but is not possible.
Seems that Linux will not accept it. I even tried the --badnames option and does not allow.
Therefore, I assume we should update the Docs to reflect that the UPN should not start with "-"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 29a90500-fe23-5ae5-caad-9b897ed5ac6c
- Version Independent ID: 588d5bec-fcbe-75f9-5206-616746e61d5f
- Content: az ssh
- Content Source: latest/docs-ref-autogen/ssh.yml
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botSSHService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.VM SSHcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.