Skip to content

Get-MgAuditLogSignIn : Resource not found for the segment 'signIns' #3189

@Icybiubiubiu

Description

@Icybiubiubiu

Describe the bug

cannot use mgauditlogsignin to fetch sign in logs of a specifc users in Mooncake/21vAzure

Details

Image

Error:

Image

also, run with no parameter will hit error either.

Image

Debug:

  1. the app has enough permisison: application and delegation permission: audit logs read.all

Image

  1. the report module is lates.

Expected behavior

could work as document mentioned.
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.reports/get-mgauditlogsignin?view=graph-powershell-1.0

How to reproduce

  1. login to 21v AAD.
  2. using above cmd , then repro. //althou the app already has the proper permision to read audit logs.

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions