In Part I we have answered the basic questions on how to have Arabic Office 365 tenant, in this article we will go through more advanced tasks in managing and administering Office 365.
Users Bulk Import
Creating bulk users on Office 365 can be done based on CSV file and through one of the following options:
I will not cover using the portal as it is straight forward process, check this article for more details: http://onlinehelp.microsoft.com/en-us/office365-enterprises/ff637601.aspx
Typically we will have users’ list on Excel sheet or on DB then export it to Excel or Access, at the end what we need to have is CSV file, in my experience I’ve found that CSV file with 50,000 users as one batch is good and easy to manage.
This CSV file must be saved as Unicode so Arabic characters can be displayed.
Before playing with the CSV file I have some best practices steps that were very useful on the Admin machine (which will be used to manage and upload users):
The CSV file format is simple, you can you the following template or create your own template:
USERNAME,FIRSTNAME,LASTNAME,DISPLAYNAME,TITLE,DEPARTMENT,CITY,COUNTRY,upn
mohamed.marzouk,محمد,مرزوق,محمد مرزوق,مدير مبيعات,مبيعات,القاهرة,EGYPT,mohamed.marzouk@meamcs.com
The next step is to use ISE to upload the CSV file to your tenant, follow the following steps:
1. Open ISE and connect to your tenant using the following cmdlet: Connect-MsolService 2. Run the following cmdlet to import the CSV file: Import-Csv D:\arab-users.csv | ForEach-Object -Process {New-MsolUser -UserPrincipalName $_.upn -FirstName $_.firstname -LastName $_.lastname -Department $_.department -Title $_.title -City $_.city -Country $_.country -DisplayName $_.displayname -LicenseAssignment meamcs:ENTERPRISEPACK -UsageLocation EG} | Export-Csv -Path d:\result.csv -Encoding unicode Check the following snapshot:
1. Open ISE and connect to your tenant using the following cmdlet:
Connect-MsolService
2. Run the following cmdlet to import the CSV file:
Import-Csv D:\arab-users.csv | ForEach-Object -Process {New-MsolUser -UserPrincipalName $_.upn -FirstName $_.firstname -LastName $_.lastname -Department $_.department -Title $_.title -City $_.city -Country $_.country -DisplayName $_.displayname -LicenseAssignment meamcs:ENTERPRISEPACK -UsageLocation EG} | Export-Csv -Path d:\result.csv -Encoding unicode
Check the following snapshot:
Before checking the result file, let’s explain this cmdlet, this cmdlet contains 3 parts:
Last step is to check the result file for two things:
In this article we explained how to import Arabic users with PowerShell, next part we will discuss how to manage the Arabic users.
Other Parts:
Part I: Arabic Problems
Part II: Users Bulk Creation
Part III: Users Bulk Modification
Part IV: Dynamic Distribution Group