Skip to content

IntuneWifiConfigurationPolicyMacOS:unable to import #5971

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

Closed
CovidtheDog2024 opened this issue Mar 30, 2025 · 0 comments · Fixed by #5995 or #6024
Closed

IntuneWifiConfigurationPolicyMacOS:unable to import #5971

CovidtheDog2024 opened this issue Mar 30, 2025 · 0 comments · Fixed by #5995 or #6024

Comments

@CovidtheDog2024
Copy link

CovidtheDog2024 commented Mar 30, 2025

Description of the issue

Resource: IntuneWifiConfigurationPolicyMacOS
Unable to import the configuration that is export from different tenant.

[ResourceNotFound] : {
"_version": 3,
"Message": "DeviceConfigurations not found: Profile 00000000-0000-0000-0000-000000000000 - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID:
00000000-0000-0000-0000-000000000000 - Url: https://fef.msuc06.manage.microsoft.com/DeviceConfiguration_2503/StatelessDeviceConfigurationFEService/deviceManagement/deviceConfigurations(
' 00000000-0000-0000-0000-000000000000 )/assignments?api-version=5024-10-08",
"CustomApiErrorPhrase": "",
"RetryAfter": null,
"ErrorSourceService": "",
"HttpHeaders": "{}"
}
+ CategoryInfo : InvalidOperation: ({ DeviceConfigu... , Headers = }:) [], CimException
+ FullyQualifiedErrorId : ResourceNotFound,Microsoft.Graph.Beta.PowerShell.Cmdlets.GetMgBetaDeviceManagementDeviceConfigurationAssignment_List
+ PSComputerName : localhost

Microsoft 365 DSC Version

1.25.326.1

Which workloads are affected

Intune

The DSC configuration

IntuneWifiConfigurationPolicyMacOS "IntuneWifiConfigurationPolicyMacOS-test-macOSwificonfig"
        {
            Assignments                    = @();
            ConnectAutomatically           = $False;
            ConnectWhenNetworkNameIsHidden = $False;
            Credential                     = $Credscredential;
            Description                    = "IntuneWifiConfigurationPolicyMacOS";
            DisplayName                    = "test-macOSwificonfig";
            Ensure                         = "Present";                    
            Id                            = "00000000-0000-0000-0000-000000000000";
            NetworkName                    = "00000000-0000-0000-0000-000000000000";
            ProxySettings                  = "none";
            Ssid                           = "name";
            WiFiSecurityType               = "wpaPersonal";
        }

Verbose logs showing the problem

[ResourceNotFound] : {
  "_version": 3,
  "Message": "DeviceConfigurations not found: Profile 00000000-0000-0000-0000-000000000000- Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: 
00000000-0000-0000-0000-000000000000 - Url: https://fef.msuc06.manage.microsoft.com/DeviceConfiguration_2503/StatelessDeviceConfigurationFEService/deviceManagement/deviceConfigurations(
'00000000-0000-0000-0000-000000000000')/assignments?api-version=5024-10-08",
  "CustomApiErrorPhrase": "",
  "RetryAfter": null,
  "ErrorSourceService": "",
  "HttpHeaders": "{}"
}
    + CategoryInfo          : InvalidOperation: ({ DeviceConfigu... , Headers =  }:) [], CimException
    + FullyQualifiedErrorId : ResourceNotFound,Microsoft.Graph.Beta.PowerShell.Cmdlets.GetMgBetaDeviceManagementDeviceConfigurationAssignment_List
    + PSComputerName        : localhost

Environment Information + PowerShell Version

Get-ComputerInfo -Property @(
'OsName',
'OsOperatingSystemSKU',
'OSArchitecture',
'WindowsVersion',
'WindowsBuildLabEx',
'OsLanguage',
'OsMuiLanguages')

$PSVersionTable


OsName               : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Key   : PSVersion
Value : 5.1.22621.4391
Name  : PSVersion

Key   : PSEdition
Value : Desktop
Name  : PSEdition

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name  : PSCompatibleVersions

Key   : BuildVersion
Value : 10.0.22621.4391
Name  : BuildVersion

Key   : CLRVersion
Value : 4.0.30319.42000
Name  : CLRVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion
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