MsIntune api for screen lock enabled status

Tushar Kanojiya 0 Reputation points
2023-07-16T11:16:04.5166667+00:00

I want to know whether screen lock is enabled or not on device, which Intune api should i use and what is the key in the api i should refer as a screen lock status ?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,757 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,415 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,441 Reputation points
    2023-07-17T02:05:24.25+00:00

    @Tushar Kanojiya Thanks for posting in our Q&A.

    For this issue, if you deploy a screen lock profile via intune, why don't you view report under this target profile? It will show if the devices are successfully applied this profile.

    https://learn.microsoft.com/en-us/mem/intune/configuration/device-profile-monitor#view-existing-profiles

    Honestly, I didn't find an api that can monitor whether screen lock is enabled on devices. Let's wait if someone else can share more helpful information.


    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

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.