Intune Password expiration (days) iOS/iPadOS PowerShell / Microsoft Graph Intune

jguevarajr 0 Reputation points
2023-03-04T15:44:56.16+00:00

I have been trying to query via Microsoft Graph, Microsoft Graph for Intune or PowerShell to no avail, so wanted to ask for peer insight here. I have a need to define Password expiration (days) to 90 on my Intune Device compliance policy.

From research I can confirm this is indeed applied successfully on the MDM Profile on iOS/iPad Devices. I would like to determine if you can query Password/Passcode expiration (days) on iOS/iPadOS via PowerShell or Graph?

The MSFT recommendation to find the latest password expiration date, is manual and does not offer insight into where this value is stored.

https://learn.microsoft.com/en-us/troubleshoot/mem/intune/device-configuration/password-expiration-setting-not-working

Attempting to use Graph v1.0 or beta has not provided me desired results.

https://learn.microsoft.com/en-us/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-get?view=graph-rest-1.0

GET https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations/{deviceConfigurationId}

Anyone have any insight or guidance into this would be greatly appreciated.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,525 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
185 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.
54 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,307 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,037 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,341 Reputation points
    2023-03-06T02:49:12.05+00:00

    @jguevarajr Thanks for posting in our Q&A.

    Please note graph issues are more related to develop scope. With Q&A limitation resource, it is suggested to create a Premier or Unified support ticket to get more help. Here is the support link:

    https://learn.microsoft.com/en-us/mem/get-support#premier-and-unified-support-options

    Thanks for your understanding and hope everything goes well with you.


    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