Giter VIP home page Giter VIP logo

Comments (3)

grahamr975 avatar grahamr975 commented on June 22, 2024

@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

from ews-office365-contact-sync.

DanielRonies avatar DanielRonies commented on June 22, 2024

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!!

from ews-office365-contact-sync.

grahamr975 avatar grahamr975 commented on June 22, 2024

@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.

from ews-office365-contact-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.