{"id":75466,"date":"2023-06-05T13:09:41","date_gmt":"2023-06-05T17:09:41","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=75466"},"modified":"2023-06-05T13:09:41","modified_gmt":"2023-06-05T17:09:41","slug":"run-the-maid-import-script","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script","title":{"rendered":"Run the MAID Import Script"},"content":{"rendered":"\n

A Managed Apple ID (MAID) is required to enroll a personal iOS device in MDM. JumpCloud provides an import script that you can use to upload a large number of MAIDs into JumpCloud.<\/p>\n\n\n\n

<\/p><\/div>

Warning:<\/strong> \n

If an admin changes a user’s Managed Apple ID (a possible instance of this is a name change), the user must unenroll and re-enroll in MDM before the current enrollment expires. <\/p>\n <\/div><\/div><\/div><\/div>\n\n\n\n

The MAID script is located in a JumpCloud Support repository. After you download and save the script, you\u2019ll use a JumpCloud PowerShell command to run the script.<\/p>\n\n\n\n

Prerequisite<\/strong>: The JumpCloud PowerShell Module must be installed on your device. For instructions on setting up PowerShell, see Install the JumpCloud PowerShell Module<\/a>.<\/p>\n\n\n\n

To upload a large number of MAIDs into JumpCloud<\/strong>:<\/p>\n\n\n\n

    \n
  1. Access this URL: https:\/\/github.com\/TheJumpCloud\/support\/blob\/master\/scripts\/automation\/updateManagedAppleId.ps1<\/a>.<\/li>\n\n\n\n
  2. Download the updateManagedAppleId.ps1<\/kbd> script to a convenient location.<\/li>\n\n\n\n
  3. Open a PowerShell terminal.<\/li>\n\n\n\n
  4. Navigate to the script\u2019s location. For example, if you saved the script to your C:\\Temp directory:<\/li>\n<\/ol>\n\n\n\n
    \n

    PS C:\\WINDOWS\\system32> cd C:\\Temp<\/p>\n<\/div><\/div>\n\n\n\n

      \n
    1. Run the script:<\/li>\n<\/ol>\n\n\n\n
      \n

      PS C:\\Temp> .\/updateManagedAppleId.ps1<\/p>\n<\/div><\/div>\n\n\n\n

      <\/p><\/div>

      Note:<\/strong> \n

      You can run the JumpCloud PowerShell Module on macOS devices. See Install the JumpCloud PowerShell Module<\/a>. <\/p>\n <\/div><\/div><\/div><\/div>\n\n\n\n

      The script searches for a CSV file called ManagedAppleDiscovery.csv. <\/p>\n\n\n\n

        \n
      1. If the CSV file does not exist, type Y<\/strong> at the prompt to generate a CSV file containing the user\u2019s ID, email, and a blank ManagedAppleID<\/kbd> field. The ManagedAppleID<\/kbd> attribute field will always be blank, even if the user has an assigned MAID. After the CSV file is generated, the script will pause and allow you to make edits.<\/li>\n\n\n\n
      2. As the script runs, any blank fields in the CSV file for user IDs or emails will be skipped and a detailed message appears onscreen after the script completes. If you know that a user already has a managedAppleID<\/kbd> attribute set, you can leave that field blank in the CSV file to skip that user, or you can preemptively delete that user\u2019s row.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

        A Managed Apple ID (MAID) is required to enroll a personal iOS device in MDM. JumpCloud provides an import script […]<\/p>\n","protected":false},"author":203,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[2925,2856,2852,2916,2995],"support_tag":[],"coauthors":[2837,3011],"acf":[],"yoast_head":"\nRun the MAID Import Script - JumpCloud<\/title>\n<meta name=\"description\" content=\"Understand the requirement for managed Apple IDs (MAID) to enroll personal devices in MDM, and learn how to use the PS module script to import multiple IDs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run the MAID Import Script\" \/>\n<meta property=\"og:description\" content=\"Understand the requirement for managed Apple IDs (MAID) to enroll personal devices in MDM, and learn how to use the PS module script to import multiple IDs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/202405-MISC-JumpCloudHelpCenter-SiteDisplay-min-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"890\" \/>\n\t<meta property=\"og:image:height\" content=\"525\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"derekpietras, nickconrad\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script\",\"url\":\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script\",\"name\":\"Run the MAID Import Script - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"datePublished\":\"2023-06-05T17:09:41+00:00\",\"dateModified\":\"2023-06-05T17:09:41+00:00\",\"description\":\"Understand the requirement for managed Apple IDs (MAID) to enroll personal devices in MDM, and learn how to use the PS module script to import multiple IDs.\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support\",\"item\":\"https:\/\/jumpcloud.com\/support\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Run the MAID Import Script\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jumpcloud.com\/#website\",\"url\":\"https:\/\/jumpcloud.com\/\",\"name\":\"JumpCloud\",\"description\":\"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.\",\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jumpcloud.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jumpcloud.com\/#organization\",\"name\":\"JumpCloud\",\"url\":\"https:\/\/jumpcloud.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"width\":598,\"height\":101,\"caption\":\"JumpCloud\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Run the MAID Import Script - JumpCloud","description":"Understand the requirement for managed Apple IDs (MAID) to enroll personal devices in MDM, and learn how to use the PS module script to import multiple IDs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script","og_locale":"en_US","og_type":"article","og_title":"Run the MAID Import Script","og_description":"Understand the requirement for managed Apple IDs (MAID) to enroll personal devices in MDM, and learn how to use the PS module script to import multiple IDs.","og_url":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script","og_site_name":"JumpCloud","og_image":[{"width":890,"height":525,"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/202405-MISC-JumpCloudHelpCenter-SiteDisplay-min-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes","Written by":"derekpietras, nickconrad"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script","url":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script","name":"Run the MAID Import Script - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"datePublished":"2023-06-05T17:09:41+00:00","dateModified":"2023-06-05T17:09:41+00:00","description":"Understand the requirement for managed Apple IDs (MAID) to enroll personal devices in MDM, and learn how to use the PS module script to import multiple IDs.","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/support\/run-the-maid-import-script"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/support\/run-the-maid-import-script#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"Support","item":"https:\/\/jumpcloud.com\/support"},{"@type":"ListItem","position":3,"name":"Run the MAID Import Script"}]},{"@type":"WebSite","@id":"https:\/\/jumpcloud.com\/#website","url":"https:\/\/jumpcloud.com\/","name":"JumpCloud","description":"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.","publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jumpcloud.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jumpcloud.com\/#organization","name":"JumpCloud","url":"https:\/\/jumpcloud.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","width":598,"height":101,"caption":"JumpCloud"},"image":{"@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/75466"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/support"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/203"}],"version-history":[{"count":3,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/75466\/revisions"}],"predecessor-version":[{"id":88622,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/75466\/revisions\/88622"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=75466"}],"wp:term":[{"taxonomy":"support_category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_category?post=75466"},{"taxonomy":"support_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_tag?post=75466"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=75466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}