Oliver Weber
The following Parameters on a synchronized Account can not be set by the Set-Place command. This Information has to be populated in the OnPrem Active Directory.
[-Street <String>]
[-PostalCode <String>]
[-City <String>]
[-State <String>]
[-Phone <String>]
Error in Powershell is not very helpful:
Interner Serverfehler.
+ CategoryInfo : NotSpecified: (:) [Set-Place], TaskException
+ FullyQualifiedErrorId : [Server=DB8PR10MB2683,RequestId=9295499d-707d-485f-912f-1af74cc72cb1,TimeStamp=27.05.202
0 13:11:05] [FailureCategory=Cmdlet-TaskException] 4337D910,Microsoft.Exchange.Management.RecipientTasks.SetPlace
+ PSComputerName : outlook.office365.com
[-GeoCoordinates <GeoCoordinates>]
Don't know how to set the GeoCoordinates OnPrem. Did not find an Attribute for that. But honestly not needed, when you populate the Address.
[-CountryOrRegion <CountryInfo>]
And i don't know how to set this one. Sad there is no example how to set that. Tried "CH", "CHE", "756", "de-CH", "Switzerland". The Type "CountryInfo" is a mistery to me. Although it seems to be to be the two Digit CountryCode https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Unclear Error Message
PS C:\> Set-Place -Identity SitzungszimmerCloudOnly -CountryOrRegion "Switzerland"
Interner Serverfehler.
+ CategoryInfo : NotSpecified: (:) [Set-Place], TaskException
+ FullyQualifiedErrorId : [Server=DB8PR10MB2683,RequestId=1d189997-80ab-4f37-9941-be7226480420,TimeStamp=27.05.202
0 13:38:07] [FailureCategory=Cmdlet-TaskException] 4337D910,Microsoft.Exchange.Management.RecipientTasks.SetPlace
+ PSComputerName : outlook.office365.com
PS C:\> Set-Place -Identity SitzungszimmerCloudOnly -CountryOrRegion "CH","Switzerland"
Cannot process argument transformation on parameter 'CountryOrRegion'. Cannot convert the
"System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type
"Microsoft.Exchange.Data.Directory.CountryInfo".
+ CategoryInfo : InvalidData: (:) [Set-Place], ParameterBindin...mationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-Place
+ PSComputerName : outlook.office365.com
[-Label <String>]
Don't know where that is visible. But we have already Display Name, Floor, and FloorLabel. And now another Label. Who needs this?
[-Tags <String[]>]
Tags seem to bee visible in the Hoover Menu. You can use it to show additional Equipment.
In my Opinion, there exists already a Propertyset for Additional Equipment with the set-resourceconfig
https://docs.microsoft.com/en-us/powershell/module/exchange/set-resourceconfig?view=exchange-ps
At least these Properties are now shown in Filters
[-AudioDeviceName <String>]
[-VideoDeviceName <String>]
[-DisplayDeviceName <String>]
[-IsWheelChairAccessible <Boolean>]
Also [-Capacity <System.Int32>] and [-Floor <System.Int32>] can now be filtered. I like that. But in Outlook you currently can't.
I hope the Filters comes soon to Outlook for Windows.
Regards
Andres