CustomLicenseTypes.json File

File Structure

The CustomLicenseTypes.json file contains definitions of offers. Each offer is represented as a JSON object with the following properties:

  • name – The name of the offer.
  • provisioning_id – The provisioning identifier of the offer.
  • offerId – The identifier of the offer.
  • trialOfferId – The trial offer identifier of the offer. If it is set to null, this means that the offer does not support the ability to try it for free.
  • imFederatedID – Reserved for future use.
  • isAddon – This property defines if this offer is an add-on offer (true/false). If this property is absent, it means that this offer is not an add-on offer.
  • description – The description of the offer.
  • possibleParents – The list of parent offers of the offer (the property is present for only add-on offers). The list is represented as a JSON array and consists of identifiers of offers.
  • isUserSpecific – This property defines if the offer can be assigned to users (true/false).
  • possibleTransitions – The list of upgrades of the offer. The list is represented as a JSON array and consists of identifiers of offers.
  • prices – The list of the recommended prices of the offer for various currencies. The list is represented as a JSON array; each item of the array is a JSON object with the following properties:

    • currency – The name of a currency.
    • price – The recommended price for the currency.
  • Measure – The unit of measure of the offer (License/GB).
  • multiplier – The multiplier of the add-on offer (1048576 for the GB UOM, 1 for the Lincese UOM). The property is present for only add-on offers.
  • ResourceCategory – The internal name of a resource category to which this offer belongs. Internal names are used only in the .json files.
  • possibleConflicts – The list of offers which are incompatible with this offer. The list is represented as a JSON array and consists of identifiers of offers.
  • points – Reserved for future use.
  • maximum – The maximum limit of the offer (Max Amount in resource rates).

'Office 365 Business Premium' Offer

For instance, the Office 365 Business Premium offer is defined in the following way (some original information was omitted for the sake of simplicity):

{

        "name": "Office 365 Business Premium",

        "provisioning_id": "O365_BUSINESS_PREMIUM",

        "offerId": "031c9e47-4802-4248-838e-778fb1d2cc05",

        "trialOfferId": "c0bd2e08-11ac-4836-bdc7-3712e744922f",

        "imFederatedID": "MS_CSP_BUSINESS_PREMIUM",

        "isAddon": false,

        "description": "All the features of Business Essentials and Business in one integrated plan",

        "isUserSpecific": true,

        "possibleTransitions": [],

        "prices": [{

                "currency": "USD",

                "price": 12.5000

        }],

        "Measure": "License",

        "ResourceCategory": "XL",

        "possibleConflicts": [],

        "points": 7,

        "maximum": 300

}

The following license type is created on the basis of the definition:

Office 365 Business Premium

  • License Name: Office 365 Business Premium
  • Offer ID: 031c9e47-4802-4248-838e-778fb1d2cc05
  • Trial Offer ID: c0bd2e08-11ac-4836-bdc7-3712e744922f
  • Provisioning ID: O365_BUSINESS_PREMIUM
  • Can be assigned to users: Yes
  • Possible upgrades: empty

Also, the following resource type/resource is created on the basis of the definition:

Office 365 Business Premium

  • License type instance: Office 365 Business Premium

The created resource is added to the Additional Licenses resource category. The unit of measure of the resource is set to License.

'Office 365 Extra File Storage' Add-on Offer

For instance, the Office 365 Extra File Storage add-on offer is defined in the following way (some original information was omitted for the sake of simplicity):

{

        "name": "Office 365 Extra File Storage",

        "provisioning_id": "SHAREPOINTSTORAGE",

        "offerId": "53fc25f7-6639-4f78-bb44-3c2dfec3ed40",

        "trialOfferId": null,

        "imFederatedID": "MS_CSP_EXTRA_FILE_STORAGE",

        "isAddon": true,

        "description": "Priced per gigabyte, Office 365 offers additional file storage options to support an organization\u2019s file growth.",

        "possibleParents": ["031c9e47-4802-4248-838e-778fb1d2cc05"],

        "isUserSpecific": false,

        "possibleTransitions": [],

        "prices": [{

                "currency": "USD",

                "price": 0.2000

        }],

        "Measure": "GB",

        "multiplier": 1048576,

        "ResourceCategory": "XS",

        "possibleConflicts": [],

        "points": 0,

        "maximum": 10000000

}

The following add-on type is created on the basis of the definition:

Office 365 Extra File Storage

  • Add-on Name: Office 365 Extra File Storage
  • Offer ID: 53fc25f7-6639-4f78-bb44-3c2dfec3ed40
  • Provisioning ID: SHAREPOINTSTORAGE
  • Can be assigned to users: No
  • Possible parent offers: Office 365 Business Premium

Also, the following resource type/resource is created on the basis of the definition:

Office 365 Extra File Storage

  • Add-on type instance: Office 365 Extra File Storage

The created resource is added to the Extra Storage resource category. The unit of measure of the resource is set to GB.