-
Notifications
You must be signed in to change notification settings - Fork 647
IntuneDeviceRemediation : [UnknownError] : Processing of the HTTP request resulted in an exception #5932
Copy link
Copy link
Closed
Description
Description of the issue
WorkLoad : Intune
Resource : IntuneDeviceRemediation
Error : [UnknownError] : Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.
+ CategoryInfo : InvalidOperation: ({ Headers = , b...eHealthScript }:) [], CimException
+ FullyQualifiedErrorId : UnknownError,Microsoft.Graph.Beta.PowerShell.Cmdlets.NewMgBetaDeviceManagementDeviceHealthScript_Create
+ PSComputerName : localhost
Microsoft 365 DSC Version
1.25.312.1
Which workloads are affected
Intune
The DSC configuration
"IntuneDeviceRemediation-Mytest"
{
Assignments = @();
Credential = $Credscredential;
Description = "";
DetectionScriptContent = "dummy12123232";
DeviceHealthScriptType = "deviceHealthScript";
DisplayName = "Mytest";
EnforceSignatureCheck = $False;
Ensure = "Present";
Id = "00000000-0000-0000-0000-000000000000";
IsGlobalScript = $True;
Publisher = "Microsoft";
RemediationScriptContent = "dummy121232323";
RoleScopeTagIds = @("0");
RunAs32Bit = $True;
RunAsAccount = "system";
}Verbose logs showing the problem
[UnknownError] : Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.
+ CategoryInfo : InvalidOperation: ({ Headers = , b...eHealthScript }:) [], CimException
+ FullyQualifiedErrorId : UnknownError,Microsoft.Graph.Beta.PowerShell.Cmdlets.NewMgBetaDeviceManagementDeviceHealthScript_Create
+ PSComputerName : localhost
WARNING: [MyPc]: [[IntuneDeviceRemediation]IntuneDeviceRemediation-Mytest] Skipping assignment for the group with Display
Name {Mytest} as it could not be found in the directory.
Please update your DSC resource extract with the correct groupId or groupDisplayName.
VERBOSE: [MyPc]: LCM: [ End Set ] [[IntuneDeviceRemediation]IntuneDeviceRemediation-Mytest] in 2.9220 seconds.
The PowerShell DSC resource '[IntuneDeviceRemediation]IntuneDeviceRemediation-Mytest' with SourceInfo
'C:\DSC\IntuneDeviceRemediationnew.ps1::104::9::IntuneDeviceRemediation' 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
VERBOSE: [MyPc]: LCM: [ End Set ]
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : localhostEnvironment Information + PowerShell Version
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 : SerializationVersionReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels