After much angst, guessing, and internet searches,...
# cfml-general
b
After much angst, guessing, and internet searches, I finally have a scheduled task running that gets email, processes it, and deletes it from the mail server using MS Graph, Azure, and OAuth. Thank you to anyone who provided any kind of assistance and if anyone is struggling to do the same thing, please feel free to reach out.
🤘 4
e
Could the same be used for reading an outlook calendar?
b
As far as I know it can be used for anything accessible through MS Graph.
1
m
@Bagish Mishra @Charvi please kidnap Brian and have our "friends" from the Delta-Omicron system copy this information from his brain to our systems. ❤️ 😄
🤣 2
e
I would love a sample of this! I need a scheduler which looks through Azure and Google calendars and sends sms for appointment reminders.
b
How big is your org? Do you manage your own Azure permissions?
e
Actually, it will be people subscribing to a saas app and giving me their auth to look at their calendar.
b
Okay, so that's slightly different and makes permissions easier. Have you worked with Azure much?
e
I have with Google. Azure is still a black box.
h
I'd be interested in this as well to update our outgoing email to modern auth.
b
@evagoras You would need to create an Azure app with delegated permissions. You'd then use a standard SSO auth flow to obtain a JWT for the user, and then you can hit the Graph API to get their dat
I haven't done anything with the calendar yet, but I've done oauth integrations with Microsoft for 2 clients now