Forum Discussion

Red Flag's avatar
Red Flag
Iron Contributor
Jun 10, 2021
Solved

New-GlobalAddressList Error with -RoomList

I'm getting error while creating new GAL Policy: All room list "IT Rooms" was not found. Please make sure you typed the identity correctly.

However the group exists - showing the GroupType: Universal.


Name DisplayName GroupType PrimarySmtpAddress
---- ----------- --------- ------------------
IT Rooms202106101xxxx IT Rooms Universal mailto:itrooms@xxx.onmicrosoft.com

 

Any idea, what's wrong on it?

The AAD uses AD Connect to sync objects.

  • You need to provide an address list object, not a room list (distribution group).

2 Replies

  • You need to provide an address list object, not a room list (distribution group).
    • Red Flag's avatar
      Red Flag
      Iron Contributor

      VasilMichev 

      You're right!

       

      The paramater for -RoomList is not a RoomList but AddressList. Same as for -AddressLists. Even if this will be an empy list.
      Docs:
      New-AddressBookPolicy [-Name] <String> -AddressLists <AddressListIdParameter[]> -GlobalAddressList <GlobalAddressListIdParameter> -OfflineAddressBook <OfflineAddressBookIdParameter> -RoomList <AddressListIdParameter>

       

      Thank you!