Druva MSP icon

Druva MSP

Interact with the Druva MSP API

Actions79

Report - Enterprise Workloads → Get M365 User Count and Status Report

AI-generated

Overview

This node interacts with the Druva MSP API to retrieve the Microsoft 365 User Count and Status Report under the 'Report - Enterprise Workloads' resource. It is useful for MSPs or administrators who need to monitor and analyze user activity and status within Microsoft 365 environments across enterprise workloads. The node supports filtering by date ranges (specific dates, relative date ranges, or no date filter), limiting the number of results, and filtering by specific customers. It can also wrap output items into a single array to streamline downstream processing.

Use Case Examples

  1. An MSP wants to generate a report on the number of active Microsoft 365 users and their status for the previous month across all enterprise customers.
  2. An administrator needs to filter the M365 user report for a specific date range to analyze user activity trends.
  3. A user wants to limit the report output to 50 entries and filter the data by selected customers for targeted analysis.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of results to return when 'Return All' is false.
Date Selection Method Choose whether to use specific dates, relative date ranges, or include all dates (no date filter).
Start Date Start date for filtering report data (inclusive), used when 'Specific Dates' is selected.
End Date End date for filtering report data (inclusive), used when 'Specific Dates' is selected.
Date Range Predefined relative date range for filtering report data, used when 'Relative Date Range' is selected.
Filter by Customer(s) Whether to filter results by specific customers.
Customer IDs IDs of the customers to filter by, used when 'Filter by Customer(s)' is true.
Wrap Output Items When enabled, wraps all output items into a single item containing an array to prevent the next node from executing multiple times.
Wrapper Property Name The property name to use for the wrapped array of items in the output. Default is 'items'.

Output

JSON

  • json
    • error - Error message if the operation fails and 'Continue On Fail' is enabled.
    • items - When output items are wrapped, this property contains the array of all report items.
    • count - When output items are wrapped, this property contains the count of items in the array.

Dependencies

  • Druva MSP API with appropriate API key credentials

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access the 'Report - Enterprise Workloads' resource.
  • If the node throws an error about an unimplemented resource, verify that the resource name is correctly set to 'reportEnterprise'.
  • When filtering by customers, ensure the customer IDs are valid and accessible by the API credentials.
  • If the node returns no data, check the date filters and ensure the selected date range contains data.

Discussion