Skip to content

Bug report: 'm365 spo serviceprincipal grant list' doesn't work anymore #6757

@Saurabh7019

Description

@Saurabh7019

Priority

(Low) Something is a little off

Description

Running the m365 spo serviceprincipal grant list command results in an 'Unknown Error'.

Steps to reproduce

  • m365 login as a global admin
  • Execute m365 spo serviceprincipal grant list
  • Observe error

Expected results

should return a list of all the permissions granted to the tenant

Actual results

Image

Diagnostics

m365 spo sp grant list --debug.txt

CLI for Microsoft 365 version

v10.8.0

nodejs version

v22.16.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

m365 cli doctor.txt

Additional Info

This doesn't seem to be a M365 CLI specific issue. The error also occurs in PnP PowerShell.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions