Custom Script for Linux device on Intune
Hello everyone,
Currently I am using Ubuntu 20.04 LTS device enrolled in Intune for device management. First created a custom script with execution context with ‘User’ and execution frequency is 15 minutes. But the script executed only when sign-in with the Intune app. Also, the script doesn’t execute once in 15 minutes and execute only if I manually refresh it in Intune app. Then, I tried execution context with ‘root’ and the script doesn’t even executed and returns error with error code 0 in Intune admin center.
When manually executed the script on device, it runs with no problem. Script was uploaded as file in the portal, execution retries set to 1, and device group is assigned correctly, and can anyone h what is the problem?
Hello everyone,Currently I am using Ubuntu 20.04 LTS device enrolled in Intune for device management. First created a custom script with execution context with ‘User’ and execution frequency is 15 minutes. But the script executed only when sign-in with the Intune app. Also, the script doesn’t execute once in 15 minutes and execute only if I manually refresh it in Intune app. Then, I tried execution context with ‘root’ and the script doesn’t even executed and returns error with error code 0 in Intune admin center. When manually executed the script on device, it runs with no problem. Script was uploaded as file in the portal, execution retries set to 1, and device group is assigned correctly, and can anyone h what is the problem? Read More