question

BhujbalShreyas-9202 avatar image
0 Votes"
BhujbalShreyas-9202 asked Crystal-MSFT commented

Graph api managed devices rebootNow

I am trying to reboot pc with graph api : https://docs.microsoft.com/en-us/graph/api/intune-devices-manageddevice-rebootnow?view=graph-rest-1.0.

Request gets successfully excecuted. but there is time delay in actual reboot.

what time delay is related to rebootNow action with graph api?

mem-intune-graph
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is there any way to do immediate reboot?
With graph api time delay stretchers further for 10-30 min.

0 Votes 0 ·
Crystal-MSFT avatar image Crystal-MSFT BhujbalShreyas-9202 ·

@BhujbalShreyas-9202, Thanks for the reply. After doing research, I didn't find the option to immediately reboot in Intune side. Here, we suggest to feedback in the uservoice to see if the feature can be added in the future:
https://feedbackportal.microsoft.com/feedback/forum/ef1d6d38-fd1b-ec11-b6e7-0022481f8472

Meanwhile, I notice the delay can be 10-30 minutes. After researching, I find, the execute action will do at the end of the sync session.
https://docs.microsoft.com/en-us/windows/client-management/mdm/reboot-csp

Please go to the device side,Settings->Accounts->Access work or school, find the user and click sync to see if the time period will reduce?

Hope it can help. If there's any update, feel free to let us know.


If the answer is helpful, please click "Accept Answer" and kindly upvote it.

0 Votes 0 ·

@BhujbalShreyas-9202, Hope things are going well. I am writing to see if the time will reduce when we perform a sync. If there's any update, feel free to let us know.

0 Votes 0 ·
Show more comments

1 Answer

Crystal-MSFT avatar image
0 Votes"
Crystal-MSFT answered Crystal-MSFT commented

@BhujbalShreyas-9202, For the rebootNow action, it actually perform a reboot on the device. When the user is loggin, the device receive the action and will be restarted within 5 minutes. Here is a link with more details for the reference:
https://docs.microsoft.com/en-us/mem/intune/remote-actions/device-restart

Hope it can help.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.