{"id":355,"date":"2016-02-21T22:40:50","date_gmt":"2016-02-21T19:40:50","guid":{"rendered":"http:\/\/as7ablog.com\/kinan\/?p=355"},"modified":"2017-06-24T22:04:08","modified_gmt":"2017-06-24T19:04:08","slug":"import-using-csvde-with-unicode-switch-error","status":"publish","type":"post","link":"http:\/\/as7ablog.com\/kinan\/?p=355","title":{"rendered":"Import Using CSVDE with Unicode Switch Error"},"content":{"rendered":"<p dir=\"ltr\">This is an old method, yeh I know. But not everyone moved on to the PowerShell yet.<\/p>\n<p dir=\"ltr\">Anyway, if you&#8217;re trying to import a CSV file to Active Directory, and got the error\u00a0 message says:<br \/>\nInvalid file format. DN Attribute not defined<\/p>\n<p dir=\"ltr\">Just try to remove the Unicode switch &#8220;-u&#8221; from your command. If that works, then re-save (save as) the CSV file using Notepad, and make sure to select the unicode option, <span style=\"text-decoration: underline\">NOT the UTF-8<\/span><\/p>\n<p dir=\"ltr\">HTH some1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an old method, yeh I know. But not everyone moved on to the PowerShell yet. Anyway, if you&#8217;re trying to import a CSV file to Active Directory, and got the error\u00a0 message says: Invalid file format. DN Attribute not defined Just try to remove the Unicode switch &#8220;-u&#8221; from your command. If that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[18,14,19],"class_list":["post-355","post","type-post","status-publish","format-standard","hentry","category-4","tag-active-directory","tag-microsoft","tag-windows-domain"],"_links":{"self":[{"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=\/wp\/v2\/posts\/355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=355"}],"version-history":[{"count":1,"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions"}],"predecessor-version":[{"id":356,"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions\/356"}],"wp:attachment":[{"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=355"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/as7ablog.com\/kinan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}