Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.78 KB

Set-CIPPGroupHideFromGAL.md

File metadata and controls

32 lines (26 loc) · 1.78 KB

Set-CIPPGroupHideFromGAL

SYNOPSIS

Sets the "hide from GAL" property for a specified group.

DESCRIPTION

The Set-CIPPGroupHideFromGAL function is used to set the "hide from GAL" property for a specified group in the CIPP (Cloud Identity and Privacy Protection) system. This function requires the customer tenant ID, group ID, group type, and the hide from GAL value as input parameters.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer tenant. This parameter is mandatory.

-GroupID

Foo Foo
Specifies the ID of the group. This parameter is mandatory.

-Grouptype

Foo Foo
Specifies the type of the group. Valid values are 'Distribution List', 'Mail-Enabled Security', 'Microsoft 365', and 'Security'. This parameter is mandatory.

-hidefromgal

Foo Foo
Specifies whether the group should be hidden from the Global Address List (GAL). Valid values are 'true' and 'false'. This parameter is mandatory.

EXAMPLE 1

PS > Set-CIPPGroupHideFromGAL -CustomerTenantID "12345678-1234-1234-1234-1234567890AB" -GroupID "98765432-4321-4321-4321-0987654321BA" -GroupType "Distribution List" -HideFromGAL "true"

EXAMPLE 2

PS > Set-CIPPGroupHideFromGAL -CustomerTenantID "12345678-1234-1234-1234-1234567890AB" -GroupID "98765432-4321-4321-4321-0987654321BA" -GroupType "Security" -HideFromGAL "false"