Changing Microsoft 365 Subscription Limits

This section describes how to change limits on license resources in a Microsoft 365 subscription of a customer account.

To change limits in a Microsoft 365 subscription of a customer account, create a change order as described in the Platform SDK Guide. When creating this order, specify new limits on the license resources that you need.

After creating this change order, the following events happen:

  1. In your system, the new limits on the license resources that you need are set in the Microsoft 365 subscription.
  2. In the Microsoft cloud, the new limits are set in the respective cloud subscriptions.

Important: Creating orders is a custom operation. The user whose key and secret you use to access the APS REST API must have http://www.odin.com/billing/order-management and POST in its list of allowed operations.

Example

HTTP Request

Copy
POST https://example.com/aps/2/services/order-manager/orders

{
  "type": "CHANGE",
  "subscriptionId": "9af1c458-ecc2-4c12-8d07-70eeb16d8732",
  "paymentMethodId": "0",
  "resources": [
    {
      "resourceId": "57fe8669-bdc0-49c6-9002-817a8dfcbef8",
      "amount": 5
    }
  ]
}

HTTP Response

Copy
{
  "orderId": "75e41592-a291-4b02-b2fb-fd8f2945cbdd",
  "paymentCreationResult": {
    "paymentId": 5
  }
}