In this article you will learn how to create an Azure Function API to manage Exchange Online (Office 365) mailbox permissions.
One obvious response at this point is "Why do that? We already have PowerShell and the Exchange Admin portal". Well, Yes, kinda, however both of those options fall short in the following niche scenarios.
- Imagine you need to scope your administrator access to Exchange based on email domain. You don't want administrators in Country A, administering users in Country B. You can't do this in the Exchange portal or with the ExchangeOnlineManagement module or any out-the-box features.
- Secondly, you want to be moving towards secured web based connectivity for your tooling and away from the legacy stuff. That's why Microsoft is decommissioning its legacy RPC Session based Exchange modules and replacing them with REST APIs.
So if this sounds like fun or you just like to see cool edge implementatio