Topic Last Modified: 2009-04-30

This topic provides information about how to troubleshoot the "Object GroupName could not be found" error message when you use the Set-MailboxCalendarSettings cmdlet to book a resource.

Assume that you use the Set-MailboxCalendarSettings cmdlet from the Exchange Management Shell to try to book a resource, such as a conference room, and that you specify a group instead of a user. For example, you use the follow command:

Copy Code
Set-MailboxCalendarSettings -Identity RoomName -AllBookInPolicy $false -BookInPolicy GroupName 

in this case, you receive one of the following error messages:

Set-MailboxCalendarSettings : Object "GroupName" could not be found. Please make sure that it was spelled correctly or specify a different object.

Set-MailboxCalendarSettings : Object "GroupName" could not be found. Please make sure that it was spelled correctly or specify a different object. Reason: The recipient "GroupName" is not of the expected type.

This issue also occurs when you use the Set-MailboxCalendarSettings cmdlet together with the following parameters to book a resource for a group:

This issue occurs because the group is not a universal group, or the universal group is not mail-enabled. After the universal group is mail-enabled, the Set-MailboxCalendarSettings command recognizes the universal group, and the attributes are applied.

In Exchange 2007, mail-enabled non-universal groups are deemphasized and can only exist if they were migrated from earlier versions of Exchange. You cannot use Exchange 2007 to create new non-universal distribution groups.

To convert a local or global group in an existing domain to a universal group, you can use the Set-Group cmdlet in the Exchange Management Shell. For more information, see Set-Group.

Note:
You may have mail-enabled groups that were migrated from earlier versions of Exchange and that are not universal groups. These groups can still be managed by using the Exchange Management Console or the Exchange Management Shell.

Procedures

To make a universal group mail-enabled
  • At the Exchange Management Shell, type the following command, and then press ENTER:

    Copy Code
    Enable-DistributionGroup -Identity "GroupName"