{"id":16466,"date":"2022-11-11T19:30:09","date_gmt":"2022-11-11T19:30:09","guid":{"rendered":"https:\/\/www.applivery.com\/?post_type=docs&#038;p=16466"},"modified":"2024-10-10T23:55:15","modified_gmt":"2024-10-10T23:55:15","password":"","slug":"automatic-local-account-creation","status":"publish","type":"docs","link":"https:\/\/www.applivery.com\/pt-br\/docs\/mobile-device-management\/apple-mdm\/macos\/automatic-local-account-creation\/","title":{"rendered":"Automatic local account creation"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"16466\" class=\"elementor elementor-16466\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d5a5e49 e-con-full e-flex e-con e-parent\" data-id=\"d5a5e49\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f37e6ee elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"f37e6ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Note<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">Please note that this feature is only available for macOS.<\/span>\n\t\t\t\n\t\t\t\t\t\t<button type=\"button\" class=\"elementor-alert-dismiss\" aria-label=\"Dismiss this alert.\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;<\/span>\n\t\t\t\t\t\t\t<\/button>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-220a1f5 elementor-widget elementor-widget-text-editor\" data-id=\"220a1f5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>When <a href=\"\/docs\/mobile-device-management\/apple\/apple-device-enrollment-program-dep\/\">enrolling devices through the Apple Device Enrollment Program (DEP)<\/a>, as part of the Apple Business Manager integration, you can automate the local user account creation as part of the provisioning process. Below you can see how you can automate local account creation under the following use cases:<\/p><ul><li>Pre-defined account configuration by the IT administrator.<\/li><li>Pre-filled account creation based on Single Sign-On information.<\/li><li style=\"font-size: 17px;\">Automatic account creation based on Single Sign-On information.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bddab09 elementor-widget elementor-widget-heading\" data-id=\"bddab09\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Configuring local accounts in Smart enrollments<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce694aa elementor-widget elementor-widget-text-editor\" data-id=\"ce694aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\tThe first step is to create a new smart enrollment (you can learn how to do it <a href=\"https:\/\/www.applivery.com\/docs\/mobile-device-management\/apple\/smart-enrollment\/\">here<\/a>) and configure the <strong>Account configuration<\/strong>.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-984907d elementor-widget elementor-widget-image\" data-id=\"984907d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"509\" src=\"https:\/\/www.applivery.com\/wp-content\/uploads\/2023\/08\/Screenshot-2024-02-15-at-034422-1024x651.png\" class=\"attachment-large size-large wp-image-38655\" alt=\"apple-smart-enrollment-5\" srcset=\"https:\/\/www.applivery.com\/wp-content\/uploads\/2023\/08\/Screenshot-2024-02-15-at-034422-1024x651.png 1024w, https:\/\/www.applivery.com\/wp-content\/uploads\/2023\/08\/Screenshot-2024-02-15-at-034422-300x191.png 300w, https:\/\/www.applivery.com\/wp-content\/uploads\/2023\/08\/Screenshot-2024-02-15-at-034422-768x488.png 768w, https:\/\/www.applivery.com\/wp-content\/uploads\/2023\/08\/Screenshot-2024-02-15-at-034422-1536x977.png 1536w, https:\/\/www.applivery.com\/wp-content\/uploads\/2023\/08\/Screenshot-2024-02-15-at-034422-2048x1302.png 2048w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" title=\"apple-smart-enrollment-5 | Applivery\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-088df8b elementor-widget elementor-widget-text-editor\" data-id=\"088df8b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\tDuring the automatic local account creation, you will be able to configure the Admin account details (including password) and Primary account details. The primary account will be created as an admin account by default unless it is <em>set as a standard account<\/em> in the form. It can be locked so that the user cannot modify the data during device configuration.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c2b6813 elementor-alert-warning elementor-widget elementor-widget-alert\" data-id=\"c2b6813\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Note<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">Please note that by Apple design, the Primary account password can not be remotely configured. It must be created during device configuration by the user.<\/span>\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-be46105 elementor-widget elementor-widget-heading\" data-id=\"be46105\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Using SSO user data in forms<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f0c3628 elementor-widget elementor-widget-text-editor\" data-id=\"f0c3628\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>When integrating any Single Sign-On provider in Applivery, we will be able to retrieve from the Identity Provider directory some of the user data fields as variables so that you can use them to automatically fill out some fields, for instance, for automatic local account creation in Apple Device Management for MacOS.<\/p><p>Below you can see the entire list of fields that will be accessible:<\/p><ul><li><code>{{sso.firstname}}<\/code> User&#8217;s first name<\/li><li><code>{{sso.lastname}}<\/code> User&#8217;s last name<\/li><li><code>{{sso.username}}<\/code> User&#8217;s username<\/li><li><code>{{sso.email}}<\/code> User&#8217;s full email address<\/li><li><code>{{sso.email.username}}<\/code> User&#8217;s email address username<\/li><\/ul><p>Note that you can combine the tags above to create complex structures such as the following one:<br \/><code>{{sso.firstname}}.{{sso.lastname}}<\/code> will be automatically translated to <code>daniel.garcia<\/code> if <code>{{sso.firstname}}<\/code> contains the value <code>daniel<\/code> and <code>{{sso.lastname}}<\/code> contains the value <code>garcia<\/code>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Learn how to automate local account creation for MacOS device provisioning<\/p>\n","protected":false},"author":1,"featured_media":32390,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","inline_featured_image":false,"footnotes":""},"product":[315],"doc_category":[332],"doc_tag":[],"class_list":["post-16466","docs","type-docs","status-publish","format-standard","has-post-thumbnail","hentry","product-apple-mdm","doc_category-macos"],"aioseo_notices":[],"year_month":"2026-05","word_count":340,"total_views":"1516","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"applivery","author_nicename":"applivery","author_url":"https:\/\/www.applivery.com\/pt-br\/blog\/author\/applivery\/"},"doc_category_info":[{"term_name":"macOS","term_url":"https:\/\/www.applivery.com\/docs\/mobile-device-management\/apple-mdm\/macos\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs\/16466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/comments?post=16466"}],"version-history":[{"count":10,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs\/16466\/revisions"}],"predecessor-version":[{"id":49214,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs\/16466\/revisions\/49214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/media\/32390"}],"wp:attachment":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/media?parent=16466"}],"wp:term":[{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/product?post=16466"},{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/doc_category?post=16466"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/doc_tag?post=16466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}