Graph api Managed Device ShutDown

Bhujbal, Shreyas 21 Reputation points
2022-04-26T05:54:54.933+00:00

Hi ,
I wanted to use graph api to shutDown managed Devices.
Reference : https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-shutdown?view=graph-rest-1.0.

It is throwing error
---> Status Code: BadRequest
Microsoft.Graph.ServiceException: Code: BadRequest

shutDown Action is even possible with graph api?
Any other actions I can do with managed devices with graph api?

please give any information ..

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,327 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lu Dai-MSFT 28,431 Reputation points
    2022-04-26T06:50:32.093+00:00

    @Bhujbal, Shreyas Thanks for posting in our Q&A.

    Honestly, I didn't find there is the shut down button in intune portal, so I'm not sure if this action is possible with graph api. Please note that graph api issue is more related to develop scope. With Q&A limitation resources, it is suggested to create an online support ticket to get more accurate help. Here is the support link:
    https://learn.microsoft.com/en-us/mem/get-support

    Thanks for your understanding.


    If the answer is the right solution, 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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.