cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

Minimal permissions for 'entra user' commands

Open Jwaegebaert opened this issue 2 months ago • 2 comments

We're adding a new Permissions section to all commands. This section will document the minimal delegated and application permissions required to execute the command.

The goal is to:

  • Make it easier to run the CLI with custom app registrations and application permissions.
  • Ensure we only document the minimal set of permissions needed.
  • Keep documentation consistent by placing the Permissions section right before the Examples section.
  • If there are multiple resources, order them alphabetically
  • If there are commands that only support one type of auth (like delegated or app-only), we have an example for that as well. E.g. m365 planner tenant settings list - Permissions

Resources

Commands in scope

This issue covers the following commands:

  • m365 entra user add
  • m365 entra user get
  • m365 entra user hibp
  • m365 entra user list
  • m365 entra user remove
  • m365 entra user set

Jwaegebaert avatar Oct 01 '25 13:10 Jwaegebaert

i would like to work on this could u please assign this to me?

santhosh-7777 avatar Oct 02 '25 10:10 santhosh-7777

All yours @santhosh-7777. Feel free to ping us when you need help!

Jwaegebaert avatar Oct 02 '25 13:10 Jwaegebaert