Skip to content
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

Some EXO Role Groups not cloned #5725

Closed
barnaba92 opened this issue Feb 4, 2025 · 0 comments · Fixed by #5896 or #5911
Closed

Some EXO Role Groups not cloned #5725

barnaba92 opened this issue Feb 4, 2025 · 0 comments · Fixed by #5896 or #5911

Comments

@barnaba92
Copy link

Description of the issue

When cloning the AAD workloads, I see these kinds of errors.
Then, when I manually check, I see this ComplianceAdmins_1725493597 EXO group in the source tenant but not in the destination tenant.

The same happens to the:
EXORoleGroup-ExchangeServiceAdmins_-793248816
EXORoleGroup-GlobalReaders_1254074281
EXORoleGroup-RIM-MailboxAdmins89306a92a2b645b2b27ec5e43e6490b5
EXORoleGroup-TenantAdmins_-1181446097

The user that pushes the configuration to the destination tenant is the global admin.

Microsoft 365 DSC Version

1.25.129.1

Which workloads are affected

Exchange Online

The DSC configuration

EXORoleGroup "EXORoleGroup-ComplianceAdmins_1725493597"
        {
            Credential           = $Credscredential;
            Description          = "Membership in this role group is synchronized across services and managed centrally. This role group is not manageable through Microsoft Exchange or Unified Compliance Center(UCC). By default, this group is not assigned any roles. However, it will be a member of the ‘Records Management’ and ‘Compliance Management’ role groups in Exchange and ‘Conmpliance Administrator’ role group in UCC. It will inherit the rights of these groups.";
            Ensure               = "Present";
            Name                 = "ComplianceAdmins_1725493597";
            Roles                = @();
        }

Verbose logs showing the problem

VERBOSE: [WIN-E8DU6GU3JDU]:                            [[EXORoleGroup]EXORoleGroup-ComplianceAdmins_1725493597] Setting Role Group con
figuration for ComplianceAdmins_1725493597
VERBOSE: [WIN-E8DU6GU3JDU]:                            [[EXORoleGroup]EXORoleGroup-ComplianceAdmins_1725493597] Getting Role Group con
figuration for ComplianceAdmins_1725493597
VERBOSE: [WIN-E8DU6GU3JDU]:                            [[EXORoleGroup]EXORoleGroup-ComplianceAdmins_1725493597] Role Group ComplianceA
dmins_1725493597 does not exist.
VERBOSE: [WIN-E8DU6GU3JDU]:                            [[EXORoleGroup]EXORoleGroup-ComplianceAdmins_1725493597] Role Group 'Compliance
Admins_1725493597' does not exist but it should. Create and configure it.
Cannot validate argument on parameter 'Roles'. The argument is null, empty, or an element of the argument collection contains a null 
value. Supply a collection that does not contain any null values and then try the command again.
    + CategoryInfo          : InvalidData: (:) [], CimException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,New-RoleGroup
    + PSComputerName        : localhost
 
VERBOSE: [WIN-E8DU6GU3JDU]: LCM:  [ End    Set      ]  [[EXORoleGroup]EXORoleGroup-ComplianceAdmins_1725493597]  in 2.9240 seconds.

The PowerShell DSC resource '[EXORoleGroup]EXORoleGroup-ComplianceAdmins_1725493597' with SourceInfo 
'C:\Users\Administrator\Downloads\DSC\Configurations\2\M365TenantConfig-2.ps1::30110::9::EXORoleGroup' threw one or more 
non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called 
Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
    + CategoryInfo          : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
    + PSComputerName        : localhost

Environment Information + PowerShell Version

OsName               : Microsoft Windows Server 2022 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage           : en-US
OsMuiLanguages       : {en-US}



PS C:\Users\Administrator> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.20348.1
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.20348.1
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant