Forum Discussion

AndrewX's avatar
AndrewX
Iron Contributor
May 16, 2022
Solved

Add MailboxPermissions via HTTP

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?

  • Nope, none of these endpoints are "supported" outside of the portal. Take a look at the latest PowerShell module and the InvokeCommand method therein.

3 Replies

  • Nope, none of these endpoints are "supported" outside of the portal. Take a look at the latest PowerShell module and the InvokeCommand method therein.
    • AndrewX's avatar
      AndrewX
      Iron Contributor
      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.

Resources