question

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 asked emilyhua-msft edited

unhide an office365 unified group

Hi All

one of the unified group is hidden i am trying to unhide it i am getting the below error on the second syntax.

Set-UnifiedGroup -identity group@contoso.com -HiddenFromAddressListsEnabled $false

Set-UnifiedGroup -identity group@contoso.com -HiddenFromExchangeClientsEnabled $false

A positional parameter cannot be found that accepts argument 'False'.
+ CategoryInfo : InvalidArgument: (:) [Set-UnifiedGroup], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Set-UnifiedGroup
+ PSComputerName : outlook.office365.com

office-exchange-server-administrationoffice-exchange-online-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YukiSun-MSFT avatar image
0 Votes"
YukiSun-MSFT answered

Hi @RogerRoger-2394,

i am getting the below error on the second syntax

This has also been discussed in this link and according to the information shared there, we need to add a colon before "$false" for the HiddenFromExchangeClientsEnabled parameter to work:

 Set-UnifiedGroup -identity group@contoso.com -HiddenFromExchangeClientsEnabled:$false

If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.