I am using several actions and triggers with the Office 365 Outlook connector. Primarily I am retrieving calendar events and updating them for a conference room reservation system. I set it all up using my account and gave myself all the proper permissions through a lot of trial and error. Now I would like to run this through a service account and I'm having trouble replicating the necessary permissions. I am trying to follow least privileges and not just give the service account every permission under the sun.
When I run "Get Calendars (v2)" I cannot get the resource calendars to show up. This is what I have done so far:
- Exchange admin center: gave the SA full access to the resource calendar (this also gave the acct "send on behalf")
- M365 admin center: gave the SA delegate permissions to the resource calendar
- ran get-mailboxfolderpermission [email]:\calendar and confirmed the SA has "Editor" rights (which is what my acct has)
- ran get-calendarprocessing and confirmed the SA is listed as a resource delegate
Can anyone help me with what I might be missing?