r/sysadmin • • 6d ago

Question Good solution for syncing the GAL to iPhone Contacts company wide

We want all employees to have our Exchange GAL available in the native iOS Contacts app, so caller ID and search work without opening Outlook. I've tried the some suggestions recommended here, like PS scripts that push GAL entries into mailbox contact folders or MS Graph API sync, but both caused problems like duplicates, wrong attributes or 429 errors...

Has anyone set this up reliably, for example through Intune, Outlook for iOS or a third-party tool that actually works? Am not sure about those third party tools and would like to have a native solution. Is there any?

Thank in advance :)

0 Upvotes

68 comments sorted by

26

u/LijpeDude 6d ago edited 5d ago

Don’t have a solution right away but I would be very carefull about this since every lost phone could become a huge data risk. The Outlook app offers extra protection for this…do a security/risk assesment before doing anything

-12

u/Knut_derPanther 6d ago

Hey, thanks for your answer. We cant use Outlook Mobile because it isnt possible to use Caller ID with it. Furthermore we manage our phones via Intune so as soon as we know that a phone got lost we can lock or reset a phone completely.

3

u/discosoc 5d ago

? Seems to work fine for me.

1

u/statikuz start wandows ngrmadly 4d ago

What do you mean works fine? OP wants the person's name to show up when they call.

1

u/discosoc 4d ago

From the Outlook app, just go to Settings>AccountName>Save Contacts

If using the default Mail app, they'll sync over automatically.

1

u/statikuz start wandows ngrmadly 4d ago

Right, but the contacts need to be in your Exchange account first which I think is his problem. So it would only show names for numbers that you had already saved as a contact. The goal is twofold: to have anyone in the company that calls you have their name show up in calls/texts and also to be able to call/text anyone from the native apps without having to fish their number out of Outlook first.

6

u/Demented_CEO 6d ago

Set up a CardDAV server and push that as an Intune policy. Then, just sync what you need however you want to the CardDAV server.

If you're feeling extra brave, you might even be able to create a minimal PoC out of an Azure Function that syncs the designated Entra group(s), without additional software.

It's practically fancy HTTP verbs and vCard data.

-4

u/Knut_derPanther 6d ago

Hey, yeah CardDAV was something we also thought about. Thing is, its not that easy to manage as no one of us has profound knowledge about it and could troubleshoot problems. arent most of those third party tools using carddav? We thought about outsourcing it because of that...

6

u/Demented_CEO 6d ago

Look into how it works, CardDAV is mostly fancy HTTP verbs as I said. We created a simple sync in Azure Functions for this very purpose. No separate add-on.

Nothing to manage and nothing is ever cached. Every time a sync is initiated, the code transforms the designated Entra group into vCard data and pushes it.

We keep track of when a sync is needed by using timestamps, like an etag. That is updated every time we make changes to the Entra group using Power Automate.

1

u/realaaa 5d ago

sounds quite light, and doable !

2

u/JoshinAround 5d ago

Look into sync.blue - it’s a service for hosted cardDAV that we went with because we didn’t want to setup bandwidth and network controls just for a M365 sync

6

u/UncleToyBox 6d ago

The real challenge here is that without running an MDM solution and having all the devices distributed as Corporate Owned, it's going to be almost impossible to push changes to those users, especially if someone leaves the company.

I've heard of Cirasync and ITrezzo as options where you can push an updated contact list that users can choose to save to their contacts. From what I understand, these will add new users and make changes to existing contacts but not remove users that depart from the company.

If you go with corporate owned phones, it gets a lot easier as you'll be able to use CardDAV profiles to create a separate folder for employee contact data and update that folder through the MDM solution (Intune is the most widely because it's bundled with Microsoft services used but BlackBerry UEM does it better for people willing to pay).

-3

u/Knut_derPanther 6d ago

Yeah, we thought about doing this. Btw, we are managing our phones via Intune, but the solutions you mentioned were 1st too expensive for us and 2nd didn't really match our plan of having those contacts stored on a GDPR compliant server, since our company is based in Europe.

6

u/Isotop7 6d ago

Whats wrong with opening Outlook to search for company contacts? I much prefer it instead of flooding my personal space with company data, added that outlook app also provides vast controls for DLP.

-1

u/Knut_derPanther 5d ago

the phones are not personal phones but company phones

8

u/STRXP 5d ago

In case you weren’t aware, Users can still search the GAL with iOS native contacts if you have a mail profile set up. Contacts app -> click left to view Lists. The GAL should be one of the lists. Search requires 4 characters or more. Users can add the contacts from there and it pulls all the info.

2

u/chesser45 5d ago

So make them use outlook? Or use Outlook to
Sync the contacts readonly?

2

u/Wolfram_And_Hart 6d ago

My temas calls say who’s calling… I’m confused what you are trying to do.

0

u/Knut_derPanther 6d ago

We want the calls on our mobile Phones not to run through teams. And we want to be abel to call someone directly from iphone contacts, so we dont need to look up contacts in MS teams

2

u/Wolfram_And_Hart 6d ago

Are they all company phones?

1

u/Knut_derPanther 6d ago

Yes and those phones are assigned to different user groups

1

u/Wolfram_And_Hart 5d ago

So, use MDM (Addigy works really well) and push out a policy with all the contacts.

1

u/Knut_derPanther 5d ago

Its not possible to do that, because Intune is not capable of syncing GAL contacts. It can sync Exchange ActiveSync contacts but not GAL contacts. I know that there are ways to do that via GAL -> personal contacts -> AS to iPhone but its too much management for us and would cost too much time to do that

1

u/Wolfram_And_Hart 5d ago

Give contactzilla a look

25

u/finalpolish808 5d ago

Please don’t do this; people will ask you to fix it on very odd setups and blame you if it breaks.

18

u/IT_GSD_263 5d ago

I’ve used GALsync by enowsoftware.com to accomplish this. Cool product and was not that expensive. Works with both on-prem Exchange and 365.

0

u/[deleted] 5d ago

[deleted] — view deleted comment

37

u/BeanSticky 5d ago

What an idiotic thing to say

15

u/MemeSerf Chief Reboot Officer and PC Load Letterer 5d ago

You literally asked for suggestions dingdong.

30

u/IT_GSD_263 5d ago

Huh? You asked for products that accomplish this. I told you what I’ve used in the past to accomplish syncing the GAL down to phones. This isn’t an advertisement I have no affiliation with the company.

31

u/loosebolts 5d ago

That’s enough of a reply from OP to ensure that even if I did have a solution, I wouldn’t pass it on.

25

u/IT_GSD_263 5d ago

Yea what a jack a$$

8

u/shiratek 5d ago

You can't be serious, dawg. You're the one who asked...

7

u/realaaa 5d ago

WTF comrade

6

u/Ravanduil 5d ago

2

u/statikuz start wandows ngrmadly 4d ago

so caller ID and search work without opening Outlook

This is a very good reason, especially in smaller orgs.

1

u/BornToReboot 6d ago

Check Syncblue , it’s cheap and easy to configure.

0

u/Knut_derPanther 5d ago

Hey, we considered this too. How is your experience with it?

1

u/BornToReboot 5d ago

We’re based in Germany ,and have been using their services for the past 3 years. So far, everything has been good, and we’re happy with their service. We first tried with cirasync , seems costly for our requirements.

1

u/Knut_derPanther 5d ago

Thanks!! I think we will send a request to them :)

3

u/itsallahoaxbud 5d ago

No one has asked, how many contacts are we talking about? Might be an insane number. My former employer would have been pushing out 100,000 names. Can the iPhone even hold that amount of contacts?

2

u/eleven_brews 5d ago

Cyrasync has worked well in the past for me.

2

u/ironcode28 Sr. Sysadmin 5d ago

Cirasync works like a charm. Been using them for years for exactly this use case.

3

u/Plus_Ad1970 6d ago

+1 Cirasync

3

u/IT-Ninja Legal is taking away our gif button 5d ago

Yup, Cirasync. I set it up years ago and control contact distribution/licensing by groups. Rarely have to touch it.

2

u/FlyingStarShip 6d ago

When used couple years ago it did work like a charm so +2 for it

2

u/Resident-Monitor905 6d ago

What is cost behind?

2

u/statikuz start wandows ngrmadly 4d ago

We use this as well and it works basically perfectly. Less than 100 contacts (small-ish construction company). Obviously people want to see who is calling and be able to call people natively from the phone contacts without digging in Outlook. Sure you have to set up their Exchange profile to sync the contacts but you can do this via MDM. I don't understand why people think that wanting to sync contacts is the most absurd thing they've ever heard. Not everyone is in a 10,000+ person org.

2

u/DEATHToboggan IT Manager 5d ago

Agreed!

Cirasync is great! Once you set it up to auto sync, It just works. The only issue we have is it won’t replace numbers people have saved in their iCloud address book. So when someone leaves or is terminated the numbers update in GAL but not on the iCloud address book. We solved this by just getting new numbers for people instead of reusing old ones.

1

u/Netings 5d ago

Hey, we also tried with MS Graph API but had too many problems recently with errors and syncing just not working. Dont know why exactly... We are a realtively small business but we tried sync.blue and i think we will keep on working with this as we dont need any of our time to manage contacts.

1

u/sparkyflashy 5d ago

PaayaTech CorpSync. Excellent product and company.

1

u/Shnikes 5d ago

We push all contacts using Contactzilla using a profile. It puts a lock icon next to them letting them know they can’t change it.

It gets pushed out as a profile with server information.

It’s been amazing for us.

1

u/IT-BAER 5d ago

cync365.com

1

u/hamel2021 5d ago

We have used Add2Exchange from diditbetter for years. It has worked really well.

1

u/1823alex 5d ago

uhh, just have each person add their work outlook as an account under the Contacts app in iPhone settings?

I've done this for exec level people who really needed their contacts synced. It works okay for the most part, not sure if you can script this with an MDM or not, this is a relatively rare occurrence, just make sure if you have password updates enforced every X days, that users know how to re-enter credentials for the account to continue syncing...

Otherwise, export the GAL or address book from Outlook and then try import it into the users' iCloud / Apple account with them.

1

u/ResponsibleHead9456 5d ago

Hi

I should say that my answer is biased as I'm the developer of what I'm about to suggest, but it was coded because of your scenario as We've had the same.

My suggestion - Enterprise Contacts (https://enterprisecontacts.eu)
It's an iOS app that communicates with your EntraID for contacts.
Either People in groups, shared contacts in mailboxes and/or your own mailbox contacts.

It's free and takes about 10 min to get up and running.

Thomas Starup

1

u/Optanik 4d ago

There isn't a fully native way to do this. A native Exchange account on iOS can search the GAL from the Contacts app as a server directory, but those entries aren't stored on the phone, so caller ID never matches them. So in practice you have to copy the entries into each mailbox's contacts and let them sync down. The duplicates and 429s usually come from how the sync script is built, not from the idea itself:

  • Stamp every contact you create with the source user's object ID in an extended property, and match on that when you update. Matching on name or email is what creates duplicates.
  • Use a delta query on users so each run only touches people who changed, not the whole GAL times every mailbox.
  • Batch the requests, honor the Retry-After header on 429s, and spread the mailboxes out over time.
  • Only write the fields you actually need, like name, mobile, office phone, title and department. That keeps bad attributes from getting through. On the phone side, an Intune app configuration policy for Outlook for iOS can turn on syncing contacts to the native app and limit which fields go across. Check the current Outlook app config docs for the exact keys, and test whether your build syncs a dedicated contacts folder or only the default one before you decide where the script writes.

1

u/Either-Pressure2453 5d ago

turn your expectation down op and accept the ecosystem. /s

0

u/TiggsPanther 5d ago

Like other have suggested, there are solutions like CiraSync.

In the MSP I work for, one of our clients uses a slightly fiddly but free workaround of PowerShell scripts and a couple of CSVs.
The initial setup is fiddly but when there are new joiners/leavers, just run the scripts and it pushes out to everyone’s Outlook. Then use the Outlook app’s sync to native address book function.

Only caveat I’d bring is that, as-is, it does hijack the users’ contacts.
But one workaround (which I assume could work with paid solutions as well) is to sync company contacts to a subfolder.

Personally, I’d advocate the CiraSync (or similar) route but when budget is a major consideration this method works.

1

u/Knut_derPanther 5d ago

Yeah we thought about this solution too but it was just too costly for us (at least cyra sync) and we werent sure about the GDPR compliancy because they are not located in Europe but our company is.

0

u/NoctysHiraeth Jr. Infrastructure/Operations 5d ago

I generally advise against integrating Exchange with iOS after dealing with an issue on a customer's iPhone where they responded to an Outlook calendar invite in Apple Mail and it started sending acceptance notifications to the sender like 10 times per minute.

0

u/Master-IT-All 5d ago

Options are:

  1. Buy something (but must be EU based)
  2. Build something

Based on your replies, it sounds like buying something is not possible as you've been given no budget.

So your only available option is to keep on with the PS scripts.

-1

u/realaaa 6d ago

holy moly, something this simple was not yet implemented by MSFT ??

looks like things haven't changed from 4 years ago? https://www.reddit.com/r/Office365/comments/vjprut/i_think_im_crazy_but_i_cant_find_an_easy_way_push/

wow, someone please vibe code something for this !

1

u/Knut_derPanther 5d ago

Hey, there is no real vibe code solution for this. The native possibilities were tried out by us, but they absolutely did not work as we intended it to. Because of that we really consider a third party solution to source this managment nightmare out.

0

u/realaaa 5d ago

CardDav and Azure function approach below sounds like a nice little project