Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.32 KB

Set-CIPPHideFromGAL.md

File metadata and controls

28 lines (23 loc) · 1.32 KB

Set-CIPPHideFromGAL

SYNOPSIS

Sets the "hide from Global Address List (GAL)" property for a user in a customer's tenant.

DESCRIPTION

The Set-CIPPHideFromGAL function is used to set the "hide from GAL" property for a specified user in a customer's tenant. This property determines whether the user's email address is visible in the Global Address List (GAL) or not.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer's tenant.

-UserID

Foo Foo
Specifies the ID of the user for whom the "hide from GAL" property needs to be set.

-hidefromgal

Foo Foo
Specifies whether the user's email address should be hidden from the GAL or not. Valid values are 'true' and 'false'.

EXAMPLE 1

PS > Set-CIPPHideFromGAL -CustomerTenantID "contoso.onmicrosoft.com" -UserID "[email protected]" -hidefromgal "true"

EXAMPLE 2

PS > Set-CIPPHideFromGAL -CustomerTenantID "contoso.onmicrosoft.com" -UserID "[email protected]" -hidefromgal "false"