Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Zero KB CSV files after running script. Good or bad? #49

Closed
amp9020 opened this issue Jan 13, 2021 · 2 comments · Fixed by #65
Closed

Zero KB CSV files after running script. Good or bad? #49

amp9020 opened this issue Jan 13, 2021 · 2 comments · Fixed by #65
Assignees
Labels
question This issue is a request for information or needs discussion

Comments

@amp9020
Copy link

amp9020 commented Jan 13, 2021

I ran this script successfully. It created some files on the desktop but they are ALL 0KB.

What does this mean when 0KB is the result?

SAMLToken_Operations_Export
PSMailbox_Operations_Export
Domain_Operations_Export
AppUpdate_Operations_Export
ServicePrincipal_Operations_Export
AppRoleAssignment_Operations_Export
Consent_Operations_Export

Is this a good outcome?

Also when it asked for a specific application to scan I said NO,
If i hit yes, it asks for input, but I do not know what parameters are valid.
Does this have any affect when selecting NO for that question?

@jh2007
Copy link

jh2007 commented Jan 15, 2021

I also am curious if a null csv file means there was either no data to report or the script failed to obtain the data for some reason? I don't get any errors when executing the script and I assume if there were an issue during execution PowerShell would kick back its glaring red text to let me know.. But I have noticed after running the script that some csv files contain information while others do not.

@genericdevname genericdevname self-assigned this Jan 19, 2021
@genericdevname genericdevname linked a pull request Feb 10, 2021 that will close this issue
9 tasks
@genericdevname
Copy link
Collaborator

genericdevname commented Feb 10, 2021

Hello, I added some logic to eliminate CSVs that have no data. If you want, you can try to re-run Sparrow again to see if that resolves some of your questions about the null CSVs.

Please note that zero CSVs can be created by no corresponding data to report, incorrect permissions on the account running Sparrow, or if there was an error running Sparrow/PowerShell.

@genericdevname genericdevname added need info This issue or pull request requires further information question This issue is a request for information or needs discussion and removed need info This issue or pull request requires further information labels Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question This issue is a request for information or needs discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants