Subscriptions

Add the following attributes to your schema using the application Debug page.

Example schema:

Copy
<Schema aggregationType="group"  descriptionAttribute="" displayAttribute="displayName"  identityAttribute="id" instanceAttribute=""  nativeObjectType="subscription" objectType="subscription">
    <AttributeDefinition name="displayName" type="string">
        <Description>Display name of the subscription</Description>
    </AttributeDefinition>
    <AttributeDefinition name="id" type="string">
        <Description>Subscription identifier with scope</Description>
    </AttributeDefinition>
    <AttributeDefinition name="authorizationSource" type="string">
        <Description>Authorization Source for the subscription. Default: RoleBased</Description>
    </AttributeDefinition>
     <AttributeDefinition multi="true" name="managedByTenants" type="string">
         <Description>List of tenants managing subscription</Description>
     </AttributeDefinition>
     <AttributeDefinition name="subscriptionId" type="string">
        <Description>Unique identifier for the subscription</Description>
    </AttributeDefinition>
     <AttributeDefinition name="tenantId" type="string">
        <Description>Tenant Id with which subscription has trust relationship</Description>
    </AttributeDefinition>
    <AttributeDefinition name="state" type="string">
        <Description>State of subscription, that is, it is enabled or disabled</Description>
    </AttributeDefinition>
</Schema>

The following is the corresponding sample entry of this entitlement in the account schema (if needed):

Copy
<AttributeDefinition entitlement="true" managed="true" multi="true" name="subscription" schemaObjectType="subscription" type="string">
     <Description>subscription</Description>
</AttributeDefinition>