SOLVED

Add MailboxPermissions via HTTP

Frequent Contributor

Hi, when using the Office365 admin portal to add mailbox permissions, the app makes a HTTP PUT request to https://admin.microsoft.com/admin/api/users/mailboxMembers, with a JSON payload including the necessary details.

 

Is this API exposed to us anywhere to build custom O365 administration applications?

3 Replies
best response confirmed by AndrewX (Frequent Contributor)
Solution
Nope, none of these endpoints are "supported" outside of the portal. Take a look at the latest PowerShell module and the InvokeCommand method therein.
Oh my, I know this is not supported and definitely not "in production", but, i read your blogs on this, and have setup an Azure AD App, connected to Exchange Online using REST and can now replace the ExchangeOnline PowerShell module. Amazing!
I know, it's tempting :) But we still have no clear statement from Microsoft with regards to supportability, so on our end we're being very careful with this.