You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At C:\M365DSC\AAD.ps1:197 char:41
+ } State = 'default'
+ ~
There is an incomplete property assignment block in the instance definition.
At C:\M365DSC\AAD.ps1:230 char:9
+ }
+ ~
Unexpected token '}' in expression or statement.
At C:\M365DSC\AAD.ps1:6540 char:5
+ }
+ ~
Unexpected token '}' in expression or statement.
At C:\M365DSC\AAD.ps1:6541 char:1
+ }
+ ~
Unexpected token '}' in expression or statement.
At C:\M365DSC\AAD.ps1:182 char:9
+ AADAuthenticationMethodPolicyAuthenticator "AADAuthentication ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Resource 'AADAuthenticationMethodPolicyAuthenticator' requires that a value of type 'String' be provided for property
'Id'.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : IncompletePropertyAssignmentBlock
Environment Information + PowerShell Version
OsName : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}
Name Value
---------
PSVersion 5.1.17763.1971
PSEdition Desktop
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.17763.1971
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The text was updated successfully, but these errors were encountered:
Description of the issue
I did an export of the AAD components
$SourceCredential = Get-Credential
Connect-M365Tenant -Workload 'MicrosoftGraph' -Credential $SourceCredential
Update-M365DSCAllowedGraphScopes -All -Type Read -Environment 'Global'
Export-M365DSCConfiguration -Credential $SourceCredential
-Components @("AADAdministrativeUnit", "AADApplication", "AADAuthenticationMethodPolicy", "AADAuthenticationMethodPolicyAuthenticator", "AADAuthenticationMethodPolicyEmail", "AADAuthenticationMethodPolicyFido2", "AADAuthenticationMethodPolicySms", "AADAuthenticationMethodPolicySoftware", "AADAuthenticationMethodPolicyTemporary", "AADAuthenticationMethodPolicyVoice", "AADAuthenticationMethodPolicyX509", "AADAuthenticationStrengthPolicy", "AADAuthorizationPolicy", "AADConditionalAccessPolicy", "AADCrossTenantAccessPolicy", "AADCrossTenantAccessPolicyConfigurationDefault", "AADCrossTenantAccessPolicyConfigurationPartner", "AADEntitlementManagementAccessPackage", "AADEntitlementManagementAccessPackageAssignmentPolicy", "AADEntitlementManagementAccessPackageCatalog", "AADEntitlementManagementAccessPackageCatalogResource", "AADEntitlementManagementConnectedOrganization", "AADGroupLifecyclePolicy", "AADGroupsNamingPolicy", "AADGroupsSettings", "AADNamedLocationPolicy", "AADRoleDefinition", "AADRoleSetting", "AADSecurityDefaults", "AADTenantDetails", "AADTokenLifetimePolicy")
-Path "C:\M365DSC" `
-FileName "AAD.ps1"
Exporting the config of tenant using the following command: .\AAD.ps1 -Credential $TargetCredential errors out
AAD.zip
Microsoft 365 DSC Version
1.23.830.1
Which workloads are affected
Azure Active Directory
The DSC configuration
AAD.zip
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: