Export (0) Print
Expand All
Expand Minimize

Set-EOPUser

Exchange 2013
 

Applies to: Exchange Online Protection

Topic Last Modified: 2014-07-07

This cmdlet is available only in Exchange Online Protection.

Use the Set-EOPUser cmdlet to modify general user object attributes in Microsoft Exchange Online Protection. Email-related attributes are available on the Set-EOPMailUser cmdlet.

NoteNote:
Typically, Exchange Online Protection (EOP) customers that also have on-premises Active Directory organizations would use directory synchronization to create users and groups in EOP. However, if you can’t use directory synchronization, then you can use cmdlets to create and manage users and groups in EOP.
ImportantImportant:
This cmdlet uses a batch processing method that results in a propagation delay of a few minutes before the results of the cmdlet are visible.

For information about the parameter sets in the Syntax section below, see Syntax.

Set-EOPUser [-City <String>] [-Company <String>] [-CountryOrRegion <CountryInfo>] [-Department <String>] [-DisplayName <String>] [-ExternalDirectoryObjectId <String>] [-Fax <String>] [-FirstName <String>] [-HomePhone <String>] [-Identity <UserIdParameter>] [-Initials <String>] [-LastName <String>] [-MobilePhone <String>] [-Notes <String>] [-Office <String>] [-Organization <OrganizationIdParameter>] [-Phone <String>] [-PostalCode <String>] [-StateOrProvince <String>] [-StreetAddress <String>] [-Title <String>] [-WebPage <String>]

This example sets the company, display name, and title properties for the user Kitty Petersen.

Set-EOPUser -Identity "Kitty Petersen" -Company Contoso -DisplayName "Kitty Petersen" -Title "Vice President"

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Users, Contacts, and Role Groups" entry in the Feature permissions in EOP topic.

 

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.UserIdParameter

The Identity parameter specifies the user object that you want to modify.

You can use any value that uniquely identifies the user object. For example:

  • Canonical DN

    Example: "Atlanta.Corp.Contoso.Com/Users/Jeff Phillips"

  • Display name

    Example: "Jeff Phillips"

  • Domain\<account name>

    Example: Atlanta\JPhillips

  • Distinguished name (DN)

    Example: CN=JPhillips,CN=Users,DC=Atlanta,DC=Corp,DC=contoso,DC=com

  • GUID

    Example: fb456636-fe7d-4d58-9d15-5af57d0354c2

  • Name

    Example: "Jeff Phillips"

  • Security Account Manager (SAM) account name

    Example: jphillips

  • Security identifier (SID)

    Example: S-1-5-21-2566577876-3854474493-3520236071-1531

  • User ID or User Principal Name (UPN)

    Example: jphillips@contoso.com

City

Optional

System.String

The City parameter specifies the user's city.

Company

Optional

System.String

The Company parameter specifies the user's company.

CountryOrRegion

Optional

Microsoft.Exchange.Data.Directory.CountryInfo

The CountryOrRegion parameter specifies the user's country or region.

Department

Optional

System.String

The Department parameter specifies the user's department.

DisplayName

Optional

System.String

The DisplayName parameter specifies the user's display name.

ExternalDirectoryObjectId

Optional

System.String

This parameter is reserved for internal Microsoft use.

Fax

Optional

System.String

The Fax parameter specifies the user's fax number.

FirstName

Optional

System.String

The FirstName parameter specifies the user's given name.

HomePhone

Optional

System.String

The HomePhone parameter specifies the user's home telephone number.

Initials

Optional

System.String

The Initials parameter specifies the user's middle initials.

LastName

Optional

System.String

The LastName parameter specifies the user's surname.

MobilePhone

Optional

System.String

The MobilePhone parameter specifies the user's primary mobile phone number.

Notes

Optional

System.String

The Notes parameter specifies additional information about the user.

Office

Optional

System.String

The Office parameter specifies the user's physical office name or number.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

Phone

Optional

System.String

The Phone parameter specifies the user's office telephone number.

PostalCode

Optional

System.String

The PostalCode parameter specifies the user's zip code or postal code.

StateOrProvince

Optional

System.String

The StateOrProvince parameter specifies the user's state or province.

StreetAddress

Optional

System.String

The StreetAddress parameter specifies the user's physical address.

Title

Optional

System.String

The Title parameter specifies the user's title.

WebPage

Optional

System.String

The WebPage parameter specifies the user's Web page.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft