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
When I run the unit tests locally, they fail on this specific line. But somehow the unit tests run fine when ran in GitHub Actions.
@namratagupta2024, since you created this resource: Could you please have a look at this issue?
Microsoft 365 DSC Version
Dev
Which workloads are affected
Exchange Online
The DSC configuration
N/A
Verbose logs showing the problem
[-] DSC Resource 'EXOArcConfig'.Configuration needs updating.Should call the Set method 73ms (71ms|2ms)
ParameterBindingException: Cannot bind parameter because parameter 'Identity' is specified more than once. To provide multiple values to parameters that can accept multiple values, use the array syntax. For example,"-parameter value1,value2,value3".
at Set-TargetResource, C:\src\Microsoft365DSC\Modules\Microsoft365DSC\DSCResources\MSFT_EXOArcConfig\MSFT_EXOArcConfig.psm1:186
at <ScriptBlock>, C:\src\Microsoft365DSC\Tests\Unit\Microsoft365DSC\Microsoft365DSC.EXOArcConfig.Tests.ps1:72
Environment Information + PowerShell Version
PSv5.1
The text was updated successfully, but these errors were encountered:
Description of the issue
This resource has both the IsSingleInstance and Identity parameter added:
Microsoft365DSC/Modules/Microsoft365DSC/DSCResources/MSFT_EXOArcConfig/MSFT_EXOArcConfig.psm1
Lines 118 to 125 in ebf2e90
This does not make much sense, especially since in the call to Set-ArcConfig, the Identity is hardcoded to
Default
:Microsoft365DSC/Modules/Microsoft365DSC/DSCResources/MSFT_EXOArcConfig/MSFT_EXOArcConfig.psm1
Line 186 in ebf2e90
When I run the unit tests locally, they fail on this specific line. But somehow the unit tests run fine when ran in GitHub Actions.
@namratagupta2024, since you created this resource: Could you please have a look at this issue?
Microsoft 365 DSC Version
Dev
Which workloads are affected
Exchange Online
The DSC configuration
N/A
Verbose logs showing the problem
Environment Information + PowerShell Version
PSv5.1
The text was updated successfully, but these errors were encountered: