Getting error in Set-Place command

Kedar Chandrayan 30 Reputation points
2024-01-08T08:36:43.13+00:00

I ran the following command to configure the building and floor

Set-Place -Identity "Tower1Floor1Room1" -Building "Tower1" -Floor "1"  

This is the error received on executing the Set-Place command:

Set-Place: Ex6F9304|Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException|The operation couldn't be performed because object 'Tower1Floor1Room1' couldn't be found on 'P*------*4.PROD.OUTLOOK.COM'.

Questions:

  1. Why the Set-Place command is giving the above error?
  2. Why is the Get-Place command providing information on building and floor attributes, despite encountering an error during the execution of the Set-Place command?
  3. What additional steps do I need to do to configure a room in Room Finder functionality?
Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,074 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,754 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
688 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,817 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,596 Reputation points
    2024-01-08T16:11:15.23+00:00

    I think that using an appropriate Exchange tag on this message would get you a better answer from the appropriate SMEs.

    In the mean time, see if this works:

    Get-Place -Identity "Tower1Floor1Room1" | Set-Place -Building "Tower1" -Floor "1"
    

    I don't know what 'P------4.PROD.OUTLOOK.COM' represents, but it might be that the object "Tower1Floor1Room1" exists somewhere in your organization but hasn't been replicated to all domain controllers.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.