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
There are two groups in the environment where I am using this module, and they have the same display name but distinct IDs. When I run the New-M365DSCDeltaReport command to compare two configurations, even if the configurations are completely identical, deltas show up saying that the first group with the shared display name in the config is changing to the second group with the shared display name in the config.
Microsoft 365 DSC Version
V1.24.717.1
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
Source
-----------# Generated with Microsoft365DSC version 1.24.717.1# For additional information on how to use Microsoft365DSC, please visit https://aka.ms/M365DSCparam (
)
ConfigurationCustomer1
{
param (
)
$OrganizationName=$ConfigurationData.NonNodeData.OrganizationNameImport-DscResource-ModuleName 'Microsoft365DSC'-ModuleVersion '1.24.717.1'
Node localhost
{
AADGroup "AADGroup-Group1"
{
ApplicationId =$ConfigurationData.NonNodeData.ApplicationId;
ApplicationSecret =New-Object System.Management.Automation.PSCredential ('ApplicationSecret', (ConvertTo-SecureString$ConfigurationData.NonNodeData.ApplicationSecret-AsPlainText -Force));
Description ="TestGroup";
DisplayName ="TestGroup";
Ensure ="Present";
GroupTypes =@("Unified");
Id ="93490934-f565-4dc5-a44c-12d22f0b729c";
MailEnabled =$True;
MailNickname ="TEST123";
MemberOf =@();
Members =@();
Owners =@("[email protected]");
SecurityEnabled =$False;
TenantId =$OrganizationName;
Visibility ="Public";
}
AADGroup "AADGroup-Group2"
{
ApplicationId =$ConfigurationData.NonNodeData.ApplicationId;
ApplicationSecret =New-Object System.Management.Automation.PSCredential ('ApplicationSecret', (ConvertTo-SecureString$ConfigurationData.NonNodeData.ApplicationSecret-AsPlainText -Force));
Description ="TestGroup";
DisplayName ="TestGroup";
Ensure ="Present";
GroupTypes =@("Unified");
Id ="cefc0143-af71-4ddb-b149-ce4828ed6b77";
MailEnabled =$True;
MailNickname ="TEST";
MemberOf =@();
Members =@("[email protected]");
Owners =@("[email protected]");
SecurityEnabled =$False;
TenantId =$OrganizationName;
Visibility ="Private";
}
}
}
Customer1 -ConfigurationData .\ConfigurationData.psd1
Destination
-----------# Generated with Microsoft365DSC version 1.24.717.1# For additional information on how to use Microsoft365DSC, please visit https://aka.ms/M365DSCparam (
)
ConfigurationCustomer1
{
param (
)
$OrganizationName=$ConfigurationData.NonNodeData.OrganizationNameImport-DscResource-ModuleName 'Microsoft365DSC'-ModuleVersion '1.24.717.1'
Node localhost
{
AADGroup "AADGroup-Group1"
{
ApplicationId =$ConfigurationData.NonNodeData.ApplicationId;
ApplicationSecret =New-Object System.Management.Automation.PSCredential ('ApplicationSecret', (ConvertTo-SecureString$ConfigurationData.NonNodeData.ApplicationSecret-AsPlainText -Force));
Description ="TestGroup";
DisplayName ="TestGroup";
Ensure ="Present";
GroupTypes =@("Unified");
Id ="93490934-f565-4dc5-a44c-12d22f0b729c";
MailEnabled =$True;
MailNickname ="TEST123";
MemberOf =@();
Members =@();
Owners =@("[email protected]");
SecurityEnabled =$False;
TenantId =$OrganizationName;
Visibility ="Public";
}
AADGroup "AADGroup-Group2"
{
ApplicationId =$ConfigurationData.NonNodeData.ApplicationId;
ApplicationSecret =New-Object System.Management.Automation.PSCredential ('ApplicationSecret', (ConvertTo-SecureString$ConfigurationData.NonNodeData.ApplicationSecret-AsPlainText -Force));
Description ="TestGroup";
DisplayName ="TestGroup";
Ensure ="Present";
GroupTypes =@("Unified");
Id ="cefc0143-af71-4ddb-b149-ce4828ed6b77";
MailEnabled =$True;
MailNickname ="TEST";
MemberOf =@();
Members =@("[email protected]");
Owners =@("[email protected]");
SecurityEnabled =$False;
TenantId =$OrganizationName;
Visibility ="Private";
}
}
}
Customer1 -ConfigurationData .\ConfigurationData.psd1
Description of the issue
There are two groups in the environment where I am using this module, and they have the same display name but distinct IDs. When I run the New-M365DSCDeltaReport command to compare two configurations, even if the configurations are completely identical, deltas show up saying that the first group with the shared display name in the config is changing to the second group with the shared display name in the config.
Microsoft 365 DSC Version
V1.24.717.1
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: