Skip to content

Bug report: validators fail when using @meUserName #4599

Description

@milanholemans

Description

When using @meUserName in a command that has UPN option validation, the command fails.

Steps to reproduce

Run any command that uses UPN validation, example: m365 aad user license list --userName "@meUserName"

Expected results

The command should execute.

Actual results

Error: @meusername is not a valid user principal name (UPN)

Diagnostics

No response

CLI for Microsoft 365 version

v6.4.0

nodejs version

v16.18.1

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

@meId works for user ID validation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions