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.