How to manage Intune>Devices>Enroll Devices>Windows Enrollment>Automatic Enrollment settings via PS?

Oleg Tserkovnyuk 521 Reputation points
2022-09-29T09:00:23.253+00:00

Hi,

I am looking for PS commands or Graph endpoint to manage settings which can be accessed:

Intune>Devices>Enroll Devices>Windows Enrollment>Automatic Enrollment
or
Azure portal > Azure Active Directory > Mobility (MDM and MAM) > Microsoft Intune

I would like to change values described in this article https://learn.microsoft.com/en-us/mem/intune/enrollment/windows-enroll in section 'Configure automatic MDM enrollment'.

I could not find any PS commands for this and Intune does not contact Graph when I change these settings.

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,708 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,241 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
{count} votes

Accepted answer
  1. Harpreet Singh Matharoo 7,471 Reputation points Microsoft Employee
    2022-09-29T10:38:00.877+00:00

    Hello @Oleg Tserkovnyuk

    I have reviewed the request and understand that you would like to confirm if there is any PowerShell command to edit/manage Mobility (MDM and MAM) settings available in Azure Portal.

    We would like to confirm that as of today there is no PowerShell command which would be able to manage or update these settings, however you can use following MS Graph calls to manage these settings. I would request you to please review following API queries that can be used from Microsoft Graph:

    246042-image.png

    246053-image.png

    I hope this answers your question.

    ----------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful