Script Output

The script generates two .csv files. Below you can see examples of the output .csv files generated by the script.

  • The subscription.csv script contains the list of subscriptions for which it was possible to obtain the Microsoft commitment end dates.

    Output example for the Microsoft 365 APS for Ingram Micro:

    Example in .csv format:

  • The subscriptions_errors.csv file contains the list of subscriptions for which it was not possible to obtain the Microsoft commitment end date. As you can see in the example below, in the .csv you can see the type of error that occurred for each subscription: a subscription error or an account error.

    Output example for the Microsoft 365 APS for Ingram Micro:

    Example in .csv format:

    Note: If the script is run again, only subscriptions with an "Error Account" will be retried. However, the output of this second execution will contain the full list of subscriptions, not just the ones that were retried.

The script also generates a log with the following name: getTenantExpirationDateByInstanceyyyy-mm-dd.log