Error Message When You Use the Set-MailboxCalendarSettings Cmdlet to Book a Resource

Exchange 2007

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2016-11-10

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:

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:

  • RequestInpolicy

  • BookInpolicy

  • ResourceDelegates

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.

noteNote:
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.

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

    Enable-DistributionGroup -Identity "GroupName"
    
 

Community Additions

ADD
Show: