Why i am getting this error while running the PowerShell script via Intune on devices?

Vinod Survase 4,706 Reputation points
2023-08-31T16:57:40.7766667+00:00

Why i am getting this error while running the PowerShell script via Intune on devices?

I am trying to deploy an agent on devices via PowerShell script which has https://cdn.xxx.xxxx domain which will download the agent on devices and install on the devices but its not working as expected.

What could be reason that its not deploying from Intune?

See below error:

[PowerShell] Fail, the details are {"Version":1,"SigningCode":649,"EncryptionCode":633,"SigningMsg":"(Success) AccountId:22c338ff-3d65-4be1-a208-xxxxxxxxxdcf,PolicyId:ffb27f60-295a-47fb-9089-xxxxxxxxxx,Type:1,Enforce: Enforcement2. OSVersion:10.0.19045,AgentVersion:1.69.111.0. ","EncryptMsg":"run in legacy mode","ExecutionMsg":"Powershell execution has exceeded defined timeout."}

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,734 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
882 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,258 questions
Microsoft Intune Updates
Microsoft Intune Updates
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
81 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,406 questions
{count} votes