Let us do all that work for you and just lean back...
Sync contacts to an Exchange public folder (Microsoft 365 or on-premises)
Contacts can now also be written to a public Exchange folder. This has to be created once by the Exchange Administrator. The contacts can then be released for any number of Exchange users.