Skip to content

The property 'HasSignedInWithMfa' cannot be found on this object - When processing downloaded json log file #84

@jab60

Description

@jab60

Describe the bug

Script produces the error below (twice) for each log entry processed
PropertyNotFoundException: The property 'HasSignedInWithMfa' cannot be found on this object. Verify that the property exists.

To Reproduce

Steps to reproduce the behavior:
Download sign in log as json file (Enterprise tenant)
Run command
Export-MsIdAzureMfaReport "C:\Temp\MFAReadinessReport_FromLog" -SignInsJsonPath .\signinlog.json
Excel file is created but missing the data for the MFA Status & Az columns. The Cross Tick icon is not present.

Expected behavior

Result shoud match the same as when run and querying the log directly which works

Screenshots

If applicable, add screenshots to help explain your problem.

Environment (please complete the following information)

  • Operating System: [Win 11]
  • PowerShell Version: [e.g. Windows PowerShell 7.5.0 ]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions