microsoft / EntraExporter

PowerShell module to export a local copy of an Entra (Azure AD) tenant configuration.
https://aka.ms/EntraExporter
MIT License
568 stars 89 forks source link

Unable to open .json outputs #33

Closed jashanic14 closed 1 year ago

jashanic14 commented 2 years ago

Hello,

after running the 'Export-AzureAD' command (without any issue) I am unable to open any of the .json output files. I tried opening it with the following editors:

The command has been run 2 times where each time a new and empty folder was used.

The error message is the following: 2022-09-06 10_20_12-78ee050a-9026-4b34-9426-3d49ba1e31a1 json - Visual Studio Code

Best regards, LJ

merill commented 1 year ago

Is this still happening @jashanic14 ?

jashanic14 commented 1 year ago

hello. yes, unfortunately, this is still happening.

merill commented 1 year ago

Are you running this in PowerShell 5.1 or 7.x? Can you try running in the latest version of PowerShell 7.x and see if that fixes the issue?

jashanic14 commented 1 year ago

Hi,

sorry for the late response. I've tried running the Export-AzureAD cmdlet using PSv7:

image

The files are being created successfully. However, the same issue still persists:

image

Best regards, LJ

merill commented 1 year ago

Can you please try with the new EntraExporter module and re-open this issue if it is still not working? Tx.