Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Icybiubiubiu opened this issue Feb 25, 2025 · 3 comments
Closed

Comments

@Icybiubiubiu
Copy link

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_
@Icybiubiubiu Icybiubiubiu added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Feb 25, 2025
@andrueastman andrueastman transferred this issue from microsoftgraph/msgraph-sdk-dotnet Feb 26, 2025
@timayabi2020
Copy link
Contributor

Hi @Icybiubiubiu please update to the latest version (2.26.1) and try again.

@timayabi2020 timayabi2020 added status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Feb 26, 2025
@Icybiubiubiu
Copy link
Author

Icybiubiubiu commented Mar 12, 2025

@timayabi2020 , In fact, it doesn't work either with the latest version.

Image

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Attention 👋 and removed status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close labels Mar 12, 2025
@Icybiubiubiu
Copy link
Author

reopen as issue was not resolved wth latest cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants