-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
Using a windows sandbox environment (so a fresh DSC install) I ran the following using an administrative PowerShell window.
Install-Module -Name Microsoft365DSC
Import-Module Microsoft365DSC
Update-M365DSCDependencies
Export-M365DSCConfiguration
I use the credential option and use a admin account that doesn't have MFA enabled. I get a few graph permission errors but I'm not too worried about that at this point.
once I get to the exodkimsigning config I get this message and the export stops:

I attempt to import the module ad directed and I get the following error:

Expected behavior
complete configuraiton exportActual behavior
partial configuration exportError details
Import-Module : Could not load file or assembly 'file:///C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredSt
ateConfiguration\Microsoft.Windows.DSC.CoreConfProviders' or one of its dependencies. The system cannot find the file
specified.
At line:1 char:1
+ Import-Module PSDesiredStateConfiguration -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommandEnvironment data
5.1.22621.963Version
N/A
Visuals
No response