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.
Description
When using
@meUserNamein 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
@meIdworks for user ID validation.