Monitoring Password Compliance for User Devices Using PowerShell and Intune

Swahela Mulla 90 Reputation points
2023-10-16T14:10:05.9633333+00:00

Hello,

I'm looking for guidance on monitoring password compliance for user devices managed through Microsoft Intune using PowerShell. Specifically, I want to determine the percentage of endpoints that have passwords meeting the complexity requirements outlined in our organization's policy.

Is there a PowerShell script, command, or API available that can help me gather these details, or perhaps a step-by-step document to achieve this?

I appreciate any assistance or insights you can provide to help me assess and improve password compliance on our managed devices.

Thank you for your time and expertise.

Best regards,

Swahela Mulla

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,781 questions
Microsoft Intune Reporting
Microsoft Intune Reporting
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Reporting: The process of giving an account of something that has been observed, heard, done, or investigated.
65 questions
Microsoft Intune Compliance
Microsoft Intune Compliance
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Compliance: Adhering to rules, standards, policies, and laws.
143 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,648 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,256 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 45,486 Reputation points Microsoft Vendor
    2023-10-17T01:54:32.06+00:00

    @Swahela Mulla, Thanks for posting in Q&A. For your request, if you want to monitor local user password compliance state, you can firstly set Password related compliance policy setting to apply to the device.

    https://video2.skills-academy.com/en-us/mem/intune/protect/compliance-policy-create-windows#password

    Then monitor the compliance state. After researching, I find a link describe the method to get the data. You can refer to it.

    https://doitpsway.com/get-intune-compliance-data-using-powershell-leveraging-graph-api

    Note: Non-Microsoft link, just for the reference.

    Hope the above information 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.