grahamr975 / EWS-Office365-Contact-Sync

Uses Exchange Web Services to synchronize a Global Address List in Office 365 to a user's mailbox
MIT License
96 stars 21 forks source link

Run this in Azure with Automation Account #30

Open Noiden opened 3 years ago

Noiden commented 3 years ago

Hi,

Is it possible to get this scripts running in an "Automation Account" service in Azure? I didn't find it in the Modules gallery, but it is possible to upload module through a zip file.

ASieg1nce commented 2 years ago

Hi, I'm on the same topic. Could you make it work @Noiden ?

ASieg1nce commented 2 years ago

OK, got it. Just pack the module folder in a .zip file called exactly "ExchangeContacts.zip" and upload it. Tipp: "Use Connect-ExchangeOnline -Credential $Credential" instead of this session stuff in Get-GALContacts.ps1

PhantomPhixer commented 7 months ago

@ASieg1nce could you give a complete azure automation account novice (me) a bit more info on how to do this as I've now finally got the script running and would like to move to the cloud?