SyncDevice API takes a random amount of time for device to sync

Big Joe 1 Reputation point
2021-03-05T19:10:07.07+00:00

I have an iOS Device (iPhone) that is setup in Microsoft Intune. The iOS device is supervised so that Kiosk Mode can be set in a device configuration profile. I have setup a config profile with Kiosk Mode and assigned that to a group. Then I use the Graph API to add the iOS device to this "Kiosk Mode" group. Then I immediately call the SyncDevice Graph API. My expectation is that the device will go into Kiosk Mode within a few seconds after calling SyncDevice. The problem is that it takes a random amount of time before the device actually goes into Kiosk Mode - (anywhere between 30 seconds and 60 minutes). Question: How can I make the iOS device sync so that it immediately goes into Kiosk Mode?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 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
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yash Garg 91 Reputation points Microsoft Employee
    2021-03-08T11:00:16.86+00:00

    Hi ,

    The time taken in this case can be due to the device config profile which is getting targeted . The device profile needs to be completely succeeded in order to apply the kiosk profile because that is the only one which is initiating the device to kiosk mode. When you need to make an immediate check-in with Intune service you are calling the device sync API which will be ultimately checking the policies targeted on the devices and applying them accordingly . what my understanding says is that the device will take some time in order to process the policies which are targeted and sometimes it varies with the network on which which we are performing the things.

    1 person found this answer helpful.