AAD report error due to invalid JSON result #1607
Labels
bug
This issue or pull request addresses broken functionality
public-reported
This issue is reported by the public users of the tool.
Milestone
🐛 Summary
When using ScubaGear 1.5.0 to scan AAD, it reports the following error:
To reproduce
My Azure tenant can always reproduces the error, but another tenant is OK.
The invoke command is as below:
Env:
ScubaGear: 1.5.0
Powershell: 5.1.19041.5369
Windows 10 Pro: 10.0.19045 N/A Build 19045
Expected behavior
There should be no such error.
Any helpful log output or screenshots
The generated JSON result is as below:
The
risky_third_party_service_principals
field is missing its value.Possibly the error is related to the following code in
PowerShell/ScubaGear/Modules/Providers/ExportAADProvider.psm1
:Error in PowerShell:
The text was updated successfully, but these errors were encountered: