Forum Discussion
Learner2023
Aug 18, 2024Copper Contributor
Unable to run Export-MsIdAzureMfaReport getting error please advise
Unable to run Export-MsIdAzureMfaReport .\report.xlsx getting errors PowerShell 7.4.4 PS C:\Windows\System32> Connect-MgGraph -Scopes Directory.Read.All, AuditLog.Read.All, UserAuthenticationMethod...
Aug 18, 2024
Run it in VSCode, check what line uses Compare-Object, and see how the variable referenced by DifferenceObject is filled. But first, run the script with the -Verbose parameter to see what's happening.