---
title: "View User Provisioning Report"
method: POST
path: "/msp/reporting/v1/reports/mspM365UserProvisioning"
tags: ["Microsoft 365 Reports"]
---

# View User Provisioning Report

`POST /msp/reporting/v1/reports/mspM365UserProvisioning`

View user details and their licensed workload storage consumption details. This API may be updated without any prior notification. Check the API documentation for the latest updates regularly.

## Headers

- `Authorization` string, required

## Request body

- object
  - `filters` object
    - `pageSize` integer — Specify the maximum number of records that should returned in a response. Maximum limit is 500 records. Default pageSize is 100.
    - `filterBy` object[] — Select the filters to be applied to the report.
      - `fieldName` 'accountName' | 'customerName' | 'customerGlobalId' | 'userName' | 'userEmail' | 'profileName' | 'userStatus' | 'm365LicenseState' | 'smbLicenseState' | 'totalBackupData' | 'createdOn' | 'managedBy' | 'mapping' | 'customAttributeName' | 'customAttributeValue' | 'lastUpdatedTime' — Specify the name of the filter.
      - `operator` 'EQUAL' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'CONTAINS' | 'NOTEQUAL' — The operators that are supported for the filter are - EQUAL, NOTEQUAL, CONTAINS, LT (less-than), LTEQ (less-than-or-equal), GT (greater-than), GTEQ (greater-than-or-equal).
      - `value` union — Specify the value of the filter applied to the report.
        - string — string
        - integer — integer
        - string[] — array of strings
        - integer[] — array of integers
  - `pageToken` string — Specify the token to access the results on the next page. Keep this field blank for the first request. To view the results on the next page, use the value received in the 'nextPageToken' parameter of the previous response.

## Response `200`

Success

- GetM365UserProvisioningsReportDataResponse
  - `data` M365UserProvisioningsReportData[]
    - `accountName` string — Account name defined for the customer
    - `customerName` string — Customer name defined for the customer
    - `customerGlobalId` string — Unique ID of the customer.
    - `userName` string — The name of the user associated with the workload.
    - `userEmail` string — The email address of the user associated with the workload.
    - `profileName` string — The name of the profile associated with the user.
    - `userStatus` string — The status of the user, indicating whether they are `Active` or `Preserved`.
    - `m365LicenseState` string — The category of the user. Possible values: `Active Licensed Users`, `Preserve Licensed Users`.
    - `smbLicenseState` string — The SMB license state status. Possible values: Yes, No.
    - `totalBackupData` integer — The total backup data of the user to date.
    - `createdOn` string, date-time — The timestamp when the user was first onboarded into the system. Format: YYY-MM-DDTHH:MM:SSZ(UTC).
    - `managedBy` string — The onboarding and management method for the user. Possible values: Manually, AD, SCIM, AzureAD, API.
    - `mapping` string — The name of the profile mapping associated with the user.
    - `customAttributeName` string — The name of the custom attribute filter.
    - `customAttributeValue` string — The value of the custom attribute filter.
    - `lastUpdatedTime` string, date-time — The last updated time stamp for the record. The time is in the UTC time zone. Example - 2019-10-25T00:00:00Z
  - `lastSyncTimestamp` string, date-time — The time stamp until which the report data was returned. The time is in the UTC time zone.
  - `filters` object — Filters applied on the report.
  - `nextPageToken` string — The token to access the next page of results. This parameter will be empty for the last page of the results. This token is valid for 5 minutes.

## Other responses

- `400` — Bad Request
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
