Priority
(Urgent) I can't use the CLI
Description
When running m365 setup to create an app registration to create an app registration to use with CLI for Microsoft 365 you get an error stating that a permission cannot be found.
Steps to reproduce
> m365 setup
Welcome to the CLI for Microsoft 365 setup!
This command will guide you through the process of configuring the CLI for your needs.
Please, answer the following questions and we'll define a set of settings to best match how you intend to use the CLI.
✔ CLI for Microsoft 365 requires a Microsoft Entra app. Do you want to create a new app registration or use an existing
one? Create a new app registration
✔ What scopes should the new app registration have? All (easy way to use all CLI commands)
✔ How do you plan to use the CLI? Interactively
✔ How experienced are you in using the CLI? Proficient
✔ Based on your preferences, we'll configure the following settings:
- Entra app: Create a new app registration with all scopes
- autoOpenLinksInBrowser: true
- copyDeviceCodeToClipboard: true
- output: text
- printErrorsAsPlainText: true
- prompt: true
- showHelpOnFailure: true
- helpMode: options
- authType: browser
You can change any of these settings later using the m365 cli config set command or reset them to default using m365 cli config reset.
Do you want to apply these settings now? Yes
Configuring settings...
✔ CLI for Microsoft 365 will now sign in to your Microsoft 365 tenant as Microsoft Azure CLI to create a new app
registration. Continue? Yes
Expected results
App registration is created in target tenant
Actual results
Error: Permission Reports.ReadWrite.All for service principal https://graph.microsoft.com not found
Diagnostics
No response
CLI for Microsoft 365 version
10.3.0
nodejs version
v18.20.6
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response
Priority
(Urgent) I can't use the CLI
Description
When running
m365 setupto create an app registration to create an app registration to use with CLI for Microsoft 365 you get an error stating that a permission cannot be found.Steps to reproduce
> m365 setupWelcome to the CLI for Microsoft 365 setup!
This command will guide you through the process of configuring the CLI for your needs.
Please, answer the following questions and we'll define a set of settings to best match how you intend to use the CLI.
✔ CLI for Microsoft 365 requires a Microsoft Entra app. Do you want to create a new app registration or use an existing
one? Create a new app registration
✔ What scopes should the new app registration have? All (easy way to use all CLI commands)
✔ How do you plan to use the CLI? Interactively
✔ How experienced are you in using the CLI? Proficient
✔ Based on your preferences, we'll configure the following settings:
You can change any of these settings later using the
m365 cli config setcommand or reset them to default usingm365 cli config reset.Do you want to apply these settings now? Yes
Configuring settings...
✔ CLI for Microsoft 365 will now sign in to your Microsoft 365 tenant as Microsoft Azure CLI to create a new app
registration. Continue? Yes
Expected results
App registration is created in target tenant
Actual results
Error: Permission Reports.ReadWrite.All for service principal https://graph.microsoft.com not foundDiagnostics
No response
CLI for Microsoft 365 version
10.3.0
nodejs version
v18.20.6
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response