PS C:\Temp> $SourceCredential = Get-Credential cmdlet Get-Credential at command pipeline position 1 Supply values for the following parameters: Credential PS C:\Temp> Update-M365DSCAllowedGraphScopes -ResourceNameList @("Intune") -Type Read File settings.json was not found for resource {Intune} Allowed Graph scopes updated! PS C:\Temp> Export-M365DSCConfiguration -Components @("Intune") -Credential $SourceCredential Exporting Microsoft 365 configuration for Components: Intune Authentication methods specified: - Credentials ⌛ Export took {1 seconds} Destination Path: C:\Temp PS C:\Temp> $TargetCredential = Get-Credential cmdlet Get-Credential at command pipeline position 1 Supply values for the following parameters: Credential PS C:\Temp> Update-M365DSCAllowedGraphScopes -ResourceNameList @("Intune") -Type Update File settings.json was not found for resource {Intune} Allowed Graph scopes updated! PS C:\Temp> .\M365TenantConfig.ps1 -Credential $TargetCredential Import-Module : The version of Windows PowerShell on this computer is '5.1.19041.3803'. The module 'C:\Program Files\WindowsPowerShell\Modules\PSDesiredStateConfiguration\2.0.7\PSDesiredStateConfiguration.psd1' requires a minimum Windows PowerShell version of '6.1' to run. Verify that you have the minimum required version of Windows PowerShell installed, and then try again. At line:3 char:25 + ... Import-Module PSDesiredStateConfiguration -Verbose:$false ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (C:\Program File...figuration.psd1:String) [Import-Module], Invalid OperationException + FullyQualifiedErrorId : Modules_InsufficientPowerShellVersion,Microsoft.PowerShell.Commands.ImportModuleCommand