Skip to content

aad user password validate

Check a user's password against the organization's password validation policy

Usage

m365 aad user password validate [options]

Options

-p, --password <password>
The password to be validated.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

Attention

This command is based on an API that is currently in preview and is subject to change once the API reached general availability.

Examples

Validate password cli365P@ssW0rd against the organization's password validation policy

m365 aad user password validate --password "cli365P@ssW0rd"