Open DanielRonies opened 5 months ago
@DanielRonies
I've never tested this, but in theory, you should be able to modify the Set-EXCContactObject.ps1 & New-EXCContactObject.ps1 functions to set on the pager on the contact. You'll of course need to pass the pager from the GAL for each user into the script; I'm not sure if the ExchangeOnline "Get-user" command includes the pager.
if ($PagerPhone -and $PagerPhone -ne "")
{
$Contact.PhoneNumbers[[Microsoft.Exchange.WebServices.Data.PhoneNumberKey]::Pager] = $Pager
}
EWS Contact Phone Types Documentation: https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.phonenumberkey?view=exchange-ews-api
Good morning,
thanks for your answer.
The if that you indicate, we must add it in ps1 "Set-EXCContactObject" and "New-EXCContactObject", once this is done, where we indicate the "get" that you mention.
Thank you so much!!
@DanielRonies Sorry for the very late reply! By Get-User, I mean that in order to set the pager for a contact, you'd first need to fetch the pager value from the Office 365 GAL for each user.
Hello!
Great job man!
Its possible sync the attribute "pager"?
Thank you!!