Table of Contents

Get-PnPEntraIDActivityReportSignIn

SYNOPSIS

Required Permissions

  • Microsoft Graph API: AuditLog.Read.All and Directory.Read.All

Returns the sign in logs generated by Entra ID.

SYNTAX

Get-PnPEntraIDActivityReportSignIn [-Identity <string>] [-Filter <string>] [-Connection <PnPConnection>]

DESCRIPTION

This cmdlet gets the list of sign in logs generated by Entra ID.

EXAMPLES

EXAMPLE 1

Get-PnPEntraIDActivityReportSignIn

Returns all sign logs generated by Entra ID.

EXAMPLE 2

Get-PnPEntraIDActivityReportSignIn -Identity "da364266-533d-3186-a8b2-44ee1c21af11"

Returns the sign in log with specific ID.

EXAMPLE 3

Get-PnPEntraIDActivityReportSignIn -Filter "startsWith(appDisplayName,'Graph')"

Returns the sign in logs based on filter condition.

PARAMETERS

-Identity

Specify the ID of the sign in log.

Type: string
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Filter

Specify the Filter condition for the sign in log report.

Type: string
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices