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
Same problem as described in #3970 and #3971, #3973 and #3975, the policy gets created but the Id field is bogus so when running Test-DSCConfiguration it says that it found a policy with that Id (which isn't true) and Graph complains that it actually doesn't exist. Trying to deploy any changes to the policy result in same error message.
Microsoft 365 DSC Version
1.23.1122.1
Which workloads are affected
other
The DSC configuration
# Generated with Microsoft365DSC version 1.23.1122.1# For additional information on how to use Microsoft365DSC, please visit https://aka.ms/M365DSCparam (
[parameter()]
[System.Management.Automation.PSCredential]
$Credential
)
ConfigurationIntuneWifiConfigurationPolicyAndroidOpenSourceProject
{
param (
[parameter()]
[System.Management.Automation.PSCredential]
$Credential
)
if ($null-eq$Credential)
{
<# Credentials #>$Credscredential=Get-Credential-Message "Credentials"
}
else
{
$CredsCredential=$Credential
}
$OrganizationName=$CredsCredential.UserName.Split('@')[1]
Import-DscResource-ModuleName 'Microsoft365DSC'-ModuleVersion '1.23.1122.1'
Node localhost
{
IntuneWifiConfigurationPolicyAndroidOpenSourceProject "IntuneWifiConfigurationPolicyAndroidOpenSourceProject-IntuneWifiConfigurationPolicyAndroidOpenSourceProject_1"
{
Assignments =@(
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType ='none'
dataType ='#microsoft.graph.exclusionGroupAssignmentTarget'
groupId ='053dc89a-be83-411a-bad3-909904b7239e'
}
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType ='none'
dataType ='#microsoft.graph.groupAssignmentTarget'
groupId ='b0b8fd3f-af2a-453b-be57-80182d599f02'
}
);
ConnectAutomatically =$False;
ConnectWhenNetworkNameIsHidden =$True;
Credential =$Credscredential;
DisplayName ="IntuneWifiConfigurationPolicyAndroidOpenSourceProject_1";
Ensure ="Present";
Id ="7cb1c5e8-58e2-497e-b544-faac420e025d";
NetworkName ="sf";
PreSharedKeyIsSet =$True;
Ssid ="sf";
WiFiSecurityType ="wpaPersonal";
}
}
}
IntuneWifiConfigurationPolicyAndroidOpenSourceProject -ConfigurationData .\ConfigurationData.psd1 -Credential $Credential
Verbose logs showing the problem
[[IntuneWifiConfigurationPolicyAndroidOpenSourceProject]IntuneWifiConfigurationPolicyAndroidOpenSourceProject-IntuneWifiConfigurationPolicyAndroidOpenSourceProject_1] Testing configuration of
{7cb1c5e8-58e2-497e-b544-faac420e025d}
VERBOSE: [REDACTED]:
[[IntuneWifiConfigurationPolicyAndroidOpenSourceProject]IntuneWifiConfigurationPolicyAndroidOpenSourceProject-IntuneWifiConfigurationPolicyAndroidOpenSourceProject_1] Found something with id
{7cb1c5e8-58e2-497e-b544-faac420e025d}
[ResourceNotFound] : {
"_version": 3,"Message": "DeviceConfigurations not found: Profile 7cb1c5e8-58e2-497e-b544-faac420e025d - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID:20363475-83a8-41bd-bd4f-20e2f559a2eb - Url: https://fef.msub07.manage.microsoft.com/DeviceConfiguration_2311/StatelessDeviceConfigurationFEService/deviceManagement/deviceConfigurations('7cb1c5e8-58e2-497e-b544-faac420e025d')/assignments?api-version=5023-10-14","CustomApiErrorPhrase": "","RetryAfter": null,"ErrorSourceService": "","HttpHeaders": "{}"
}
+ CategoryInfo : InvalidOperation: ({ DeviceConfigu...ndProperty = }:) [], CimException
+ FullyQualifiedErrorId : ResourceNotFound,Microsoft.Graph.Beta.PowerShell.Cmdlets.GetMgBetaDeviceManagementDeviceConfigurationAssignment_List
+ PSComputerName : localhost
Description of the issue
Same problem as described in #3970 and #3971, #3973 and #3975, the policy gets created but the Id field is bogus so when running Test-DSCConfiguration it says that it found a policy with that Id (which isn't true) and Graph complains that it actually doesn't exist. Trying to deploy any changes to the policy result in same error message.
Microsoft 365 DSC Version
1.23.1122.1
Which workloads are affected
other
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: