Skip to content

Latest commit

 

History

History
589 lines (518 loc) · 5.6 KB

Set-CIPPUser.md

File metadata and controls

589 lines (518 loc) · 5.6 KB

Set-CIPPUser

SYNOPSIS

Sets the properties of a CIPP user.

DESCRIPTION

The Set-CIPPUser function is used to set the properties of a CIPP user. It allows you to modify various user attributes such as display name, username, first name, last name, domain, aliases, usage location, department, city, country, job title, mobile phone, street address, postal code, company name, and more. You can also add or remove the user from groups.

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer tenant to which the user belongs. This parameter is mandatory.

-UserID

Foo Foo
The ID of the user to be modified. This parameter is mandatory.

-DisplayName

Foo Foo
The display name of the user.

-UserName

Foo Foo
The username of the user.

-FirstName

Foo Foo
The first name of the user.

-LastName

Foo Foo
The last name of the user.

-Domain

Foo Foo
The domain of the user.

-AddedAliases

Foo Foo
Additional aliases for the user.

-CopyFrom

Foo Foo
The ID of another user from which to copy the properties.

-UsageLocation

Foo Foo
The usage location of the user.

-Department

Foo Foo
The department of the user.

-City

Foo Foo
The city of the user.

-Country

Foo Foo
The country of the user.

-Jobtitle

Foo Foo
The job title of the user.

-MobilePhone

Foo Foo
The mobile phone number of the user.

-StreetAddress

Foo Foo
The street address of the user.

-PostalCode

Foo Foo
The postal code of the user.

-CompanyName

Foo Foo
The company name of the user.

-MustChangePass

Foo Foo Foo
Specifies whether the user must change their password. Default value is $false.

-AddToGroups

Foo Foo Foo
An array of group IDs to which the user should be added.

-RemoveFromGroups

Foo Foo Foo
An array of group IDs from which the user should be removed.

-BusinessPhone

Foo Foo Foo
An array of business phone numbers for the user.

EXAMPLE 1

P
>
 
S
e
t
-
C
I
P
P
U
s
e
r
 
-
C
u
s
t
o
m
e
r
T
e
n
a
n
t
I
D
 
"
7
c
e
d
1
6
2
1
-
b
8
f
7
-
4
2
3
1
-
8
6
8
c
-
b
c
6
b
1
a
2
f
1
7
7
8
"
 
-
U
s
e
r
I
D
 
"
u
s
e
r
1
"
 
-
D
i
s
p
l
a
y
N
a
m
e
 
"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