Intune Management Extension Shuts down

Copper Contributor

I have got a tenant with 3x AVD session hosts, AAD joined and enrolled to Intune. The enrol is processed during the provision of the AVD session hosts. Now the session hosts have been running for 2 months but I have found scripts and apps were not deploying. Found two of the 3 no longer appears in Intune after noticing the Intune management extension service no longer existed. I have raised a case with my CSP but this can take a while, So in the mean time I have deployed 3 new hosts. All registered in Intune but after time one disappeared, another I can see the service has disappeared.

 

the following is reported in the intuneManagmentExtension.log then the service shuts down

Chiners68_0-1689705595457.png

 

 

 

 

Add MdmDeviceCertificate E81631447F06C4B9923647XXXXXXXXXXXXXXXX into WebRequest

 

[SendWebRequestInternal] Sending network request...  Current proxy is https://fef.amsub0502.manage.microsoft.com/TrafficGateway/TrafficRoutingService/SideCar/StatelessSid...

 

[IsWebExceptionRetryable] web exception status = ProtocolError

 

statuscode is 400

 

[SendWebRequestInternal] Web Exception occurs when sending network request, non-retryable, the exception is System.Net.WebException: The remote server returned an error: (400) Bad Request.

   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Microsoft.Management.Services.IntuneWindowsAgent.AgentCommon.EmsServiceBase.<SendWebRequestInternal>d__15.MoveNext()

 

 

[ServiceBase] Non-retriable web exception happens with check in app id, ex = System.Net.WebException: The remote server returned an error: (400) Bad Request.

   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Microsoft.Management.Services.IntuneWindowsAgent.AgentCommon.EmsServiceBase.<SendWebRequestInternal>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Management.Services.IntuneWindowsAgent.AgentCommon.EmsServiceBase.<SendWebRequest>d__16.MoveNext()

 

2 Replies

@Chiners68  Did you find solution on this ? We have few Azure virtual desktops recently built but all of them are stuck on Win32 app deployment and in the log I get the same error as shown by you.

 

Regards,

Suraj

@SurajMalusare_8758 

 

Hey, I got rid of this error when I added a work or school account. Not sure why it's needed for IME though. It used to work without work or school account... What did you end up doing, did you get rid of that error somehow differently?