-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-M365DSCReportFromConfiguration: parsed content was null #4559
Comments
Can someone please point me on the right direction to resolve issue above? "parsed content was null" |
Can you confirm that your configuration.ps1 holds a configuration? In most cases this exception is due to an empty configuration or file. |
Hi Andi, Thanks for taking the time to answer my question. What do you mean by holding a configuration? This is the script that is available on github and makes reference to Microsoft365DSC. Can you please elaborate on your answer? Please, check documentation on the script from the link, and let me know if I missed anything here. Cheers |
Please open the file at c:\temp\securitychecks\config.ps1 and check if there are any resources in |
What should be the correct configuration under that script? All the script that I'm running are from Github. Can you please provide an example that what is supposed to be under that file? Node localhost {} |
Depending on the selected resources the file should contain something like the first Example on this page here: https://microsoft.github.io/Microsoft365DSC/resources/azure-ad/AADApplication/ |
Thanks Andi, I was under the impression the configuration file is already filled out with that information. Do we have to manually build that file? I read from another blog with similar error that we must run the command Import-DscResource -ModuleName Microsoft365DSC Is that correct? |
Hello, It might be related to this issue: |
Description of the issue
Unable to run following script:
How to Install - Microsoft365DSC - Your Cloud Configuration
Validate that the customer runs PowerShell version 5.1 and 7.3+
Install-Module Microsoft365DSC -Force
Update-M365DSCDependencies
Get-Module Microsoft365DSC -ListAvailable | select ModuleBase, Version
Update-Module Microsoft365DSC
Update-M365DSCDependencies
Export-M365DSCConfiguration -LaunchWebUI
#make sure to select all checkboxes and option from the GUI
#Planner, Power Platform, can be excluded from the selection.
Microsoft 365 DSC Version
PROD
Which workloads are affected
Azure Active Directory (Entra ID), Exchange Online, Intune, Office 365 Admin, Security & Compliance Center, SharePoint Online
The DSC configuration
No response
Verbose logs showing the problem
No response
Environment Information + PowerShell Version
No response
The text was updated successfully, but these errors were encountered: