You can use any text editor, or an application like Microsoft Office Excel, to create the CSV file. Format the file as described in the "CSV file format" section of this topic and save the file with the extension ".csv".
Each row under the header row represents an individual user and supplies the information required for the Windows Live ID and the Outlook Live mailbox and address book listing. The attributes in each individual user row must be in the same order as the attribute names in the header row. Each attribute value is separated by a comma. If the attribute value for a particular record is null, don't type anything for that attribute. However, make sure that you include the comma to separate the null value from the next attribute.
Here's an example of the correct format for a CSV file. In this example, two mailbox users are being provisioned: one for Tamara Johnston and one for Ayla Kol.
This table lists all the supported attributes.
|
Attribute name
|
Required/Optional
|
Description
|
|---|
|
Action
|
Always required
|
Action refers to the type of procedure being performed. Valid options are:
-
Add This value creates new users in your domain. If you attempt an Add action, and the Name attribute and the Type attribute that you specify matches the Name attribute and Type attribute of an existing user, the
CSV_parser.ps1 script automatically converts the Add action to an Update action on the existing user. If the Name attributes match, but the Type attributes are different, the Add action fails.
-
Update This value updates existing users in your domain.
Caution If you define an attribute in the header row, but specify a null value for the attribute for the user in an Update action, the existing value of the attribute is removed from the user.
-
Delete This value deletes existing users from your domain. When you delete a mailbox user, the mailbox is deleted, and the corresponding Windows Live ID is put into a forced rename state. For more information about the forced rename state, see Import or Evict Existing Windows Live IDs.
-
PasswordReset This value resets the password for an existing user. When you use this action, the only attributes that you specify are Name and Password. All other attributes are ignored.
Important Avoid combining Add actions and Update actions in the same CSV file. And remember: if you define an attribute in the header row but specify a null value for the attribute for the user in an Update action, the existing value of the attribute is removed from the user.
|
|
Type
|
Always required
|
Type specifies the user type. Valid entries are:
-
Mailbox This value specifies mailbox users in your domain that have a mailbox and a corresponding Windows Live ID.
-
MailContact This value specifies a mail contact, a user outside your domain that doesn't have a Windows Live ID or a mailbox in your domain, but can receive e-mail messages at an external e-mail address. The e-mail address can't be in an accepted domain of the Outlook Live organization. Use MailContact for users that are outside your domain. Mail contacts are also known as external contacts.
-
MailUser This value specifies a mail user, a user that doesn't have a mailbox in your domain. The e-mail address must exist in an accepted domain of the Outlook Live organization. Use MailUser for members of your organization who don't have an Outlook Live mailbox. For example, use MailUser for the faculty and staff of a university where only the students and alumni have Outlook Live mailboxes.
|
|
Name
|
Always required
|
Name specifies an identifier for the user. When you create new mailbox users, the value of Name is used as the name of the Windows Live ID. The value of Name must be unique in your domain. You can't modify the value of the Name attribute on an existing user. The Name attribute is important for Windows PowerShell operations on Outlook Live users, but the value of the Name attribute isn't visible outside Windows PowerShell. The DisplayName attribute is modifiable for existing users and is visible in the Outlook Live address book.
Note Make sure the value that you use for Name is unique in your Outlook Live organization. If you create two accounts with the same value of Name but different Windows Live IDs, Outlook Live will have problems properly associating the Windows Live ID with the correct mailbox.
|
|
DisplayName
|
-
Optional for Add and Update actions
-
Not used with Delete actions
|
DisplayName specifies how the user name is displayed in the address book and in the Web management interface. If you don't specify a value for DisplayName when you create new users, the value of EmailAddress is used for DisplayName.
To create the display name "Last, First", enclose the value in double quotation marks. If you use Excel to create or modify the CSV file, don't include the double quotation marks in the cell values.
|
|
EmailAddress
|
-
Required for Add and Update actions
-
Not used with Delete actions
|
EmailAddress specifies the e-mail address of a new user. When you create new mailbox users, the EmailAddress attribute is used as the e-mail address for the mailbox and is used to create the corresponding Windows Live ID. The value of EmailAddress must be unique in the Outlook Live organization.
For mailbox users and mail users, the value of EmailAddress must be in an accepted domain of the Outlook Live organization. For mail contacts, the value of EmailAddress can't be in an accepted domain of the Outlook Live organization.
You can't update the e-mail address for an existing user.
For more information about accepted domains, see Accepted Domains.
|
|
FirstName
|
-
Required for Add actions on mailbox users
-
Optional for Add or Update actions on mail contacts or mail users
-
Not used with Delete actions
|
FirstName specifies the first name that is listed for the user in the address book. When you create new mailbox users, the value of FirstName is also used as the first name of the Windows Live ID.
|
|
KeepWindowsLiveID
|
-
Optional for Delete actions on mailboxes.
-
Not used with Add or Update actions
|
KeepWindowsLiveID is only available when you delete mailboxes. When set to Y, the Windows Live ID that is associated with the deleted mailbox is retained. If the KeepWindowsLiveID attribute isn't defined in the header row, or if the value of KeepWindowsLiveID isn't Y, the Windows Live ID of the removed mailbox is deleted.
|
|
LastName
|
-
Required for Add actions on mailbox users
-
Optional for Add or Update options on mail contacts or mail users
-
Not used with Delete actions
|
LastName specifies the last name that is listed for the user in the address book. When you create new mailbox users, the value of LastName as also used as the last name of the Windows Live ID.
|
|
MailboxPlan
|
-
Optional for Add actions on mailbox users
-
Not used with Update or Delete actions
|
MailboxPlan is only available when you are creating new mailbox users. If you don't specify a value for MailboxPlan, the default mailbox plan for your organization is used. Typical values are DefaultMailboxPlan and GalDisabledMailboxPlan. For more information about mailbox plans, see Mailbox Plans for Outlook Live.
|
|
Password
|
-
Required for Add actions on mailbox users
-
Optional for Update actions on mailbox users
-
Not used with Delete actions
|
Password is the Windows Live ID password for a mailbox user. The Password attribute is required when you create new mailbox users and can be used optionally to reset an existing mailbox user's password. The Password attribute doesn't apply to mail contacts or mail users.
To force a mailbox user to change their password after they log on, use the ForceChangePassword attribute.
For more information about passwords, see Password Guidelines for Outlook Live.
|
|
City
|
-
Always optional
-
Not used with Delete actions
|
City specifies the city that is listed for the user in the address book. If you don’t supply this information, the City field is left blank.
|
|
Company
|
-
Always optional
-
Not used with Delete actions
|
Company specifies the company name that is listed for the user in the address book. If you don’t supply this information, the Company field is left blank.
|
|
CountryorRegion
|
-
Always optional
-
Not used with Delete actions
|
CountryorRegion specifies the ISO 3166 two-letter country code or the name of the country or region that is listed for the user in the address book. You can find the valid values for the CountryorRegion attribute in the Country / Region field in the Contact Information section of the account properties in the Web management interface for Outlook Live.
|
|
CustomAttributeN where N is an integer from 1 through 15.
|
-
Always optional
-
Not used with Delete actions
|
This parameter specifies the Custom Attribute N property where N is an integer from 1 through 15. The Custom Attribute N properties aren't visible in the Web management interface or the address book. However, you can use the Custom Attribute N values as filters in Windows PowerShell operations, such as creating dynamic distribution groups. For more information, see Dynamic Distribution Groups.
|
|
Department
|
-
Always optional
-
Not used with Delete actions
|
Department specifies the department that is listed for the user in the address book. If you don’t supply this information, the Department field is left blank.
|
|
EmailAddressN where N is an integer from 2 through 5.
|
-
Always optional
-
Not used with Add or Delete actions
|
EmailAddressN specifies up to 4 additional e-mail addresses, known as proxy addresses for the user. For mailbox users and mail users, the proxy address must be in an accepted domain of the Outlook Live organization. For mail contacts, the proxy address can't be in an accepted domain of the Outlook Live organization. For more information about accepted domains, see Accepted Domains.
|
|
Fax
|
-
Always optional
-
Not used with Delete actions
|
Fax specifies the fax number that is listed for the user in the address book. If you don’t supply this information, the Fax field is left blank.
|
|
ForceChangePassword
|
-
Optional for Add actions on mailbox users
-
Not used with Update or Delete actions
|
ForceChangePassword is available only when you are creating new mailbox users. When ForceChangePassword is set to 1, or if the ForceChangePassword attribute isn't defined in the header row, ForceChangePassword creates a Windows Live ID that requires new users to change their password after they log on for the first time. When ForceChangePassword is set to 0, new users aren't required to change their password after they log on for the first time.
|
|
HomePhone
|
-
Always optional
-
Not used with Delete actions
|
HomePhone specifies the home phone number that is listed for the user in the address book. If you don’t supply this information, the Home phone field is left blank.
|
|
Initials
|
-
Always optional
-
Not used with Delete actions
|
Initials specifies the middle initial that is listed for the user in the address book. If you don’t supply this information, the Initial field is left blank.
|
|
MobilePhone
|
-
Always optional
-
Not used with Delete actions
|
MobilePhone specifies the mobile phone number that is listed for the user in the address book. If you don’t supply this information, the Mobile phone field is left blank.
|
|
Notes
|
-
Always optional
-
Not used with Delete actions
|
The Notes field specifies additional information that is listed for the user in the address book. If you don't provide any information, the Notes field is left blank.
|
|
Office
|
-
Always optional
-
Not used with Delete actions
|
Office specifies the office location that is listed for the user in the address book. If you don’t supply this information, the Office field is left blank.
|
|
Phone
|
-
Always optional
-
Not used with Delete actions
|
Phone specifies the work phone number that is listed for the user in the address book. If you don’t supply this information, the Work phone field is left blank.
|
|
PostalCode
|
-
Always optional
-
Not used with Delete actions
|
PostalCode specifies the postal code that is listed for the user in the address book. If you don’t supply this information, the Zip / Postal code field is left blank.
|
|
StateorProvince
|
-
Always optional
-
Not used with Delete actions
|
StateorProvince specifies the state or province that is listed for the user in the address book. If you don’t supply this information, the State / Province field is left blank.
|
|
StreetAddress
|
-
Always optional
-
Not used with Delete actions
|
StreetAddress specifies the street address that is listed for the user in the address book. If you don’t supply this information, the Street field is left blank.
|
|
Title
|
-
Always optional
-
Not used with Delete actions
|
Title specifies the title that is listed for the user in address book. If you don’t supply this information, the Title field is left blank.
|
|
WebPage
|
-
Always optional
-
Not used with Delete actions
|
WebPage specifies the Web page address that is listed for the user in the address book. If you don’t supply this information, the Web page field is left blank.
|