Create an Exchange Online mailbox with Microsoft Graph

Microsoft Graph cannot directly create an Exchange Online mailbox. However, you can create a user in Microsoft Entra ID and assign a Microsoft 365 license that includes an Exchange Online service plan. This starts mailbox provisioning.

The examples below use the Microsoft Graph v1.0 REST API. Replace contoso.onmicrosoft.com, the user name, the password, and skuId with values for your environment. Do not store a password in source code or logs.

Read more

Change the message class with EWS

This article applies to on-premises Exchange Server deployments that use Exchange Web Services (EWS).

When you change a message class (the ItemClass property) and call Update with EWS, the operation usually fails with ObjectTypeChangedException, except in some cases. For example, the following Exchange Server EWS log was produced when attempting to change IPM.Note to IPM.Post.MySubClass.

Read more

View all posts