Actions129
- Calendar Permission Actions
- CIPP Administration Actions
- Execute API Client (GET)
- Execute Auto Backup
- Execute Extension Mapping (GET)
- Execute Extension Mapping (POST)
- Execute Extension Sync
- Execute Extensions Config
- Execute Password Config (POST)
- Execute Restore Backup
- Execute Run Backup
- List Custom Roles
- List Extension Sync
- List Logs
- List Scheduled Items
- Remove Scheduled Item
- Execute API Client (POST)
- Execute Extension Test
- Execute Password Config (GET)
- List Backups
- List Function Parameters
- Group Actions
- Intune Actions
- Add MSP App
- Add Office App
- Add Policy
- Add Store App
- Assign App
- Assign Autopilot Device
- Device Action
- Get Recovery Key
- List Applications
- List Application Queue
- List Autopilot Config
- List Devices
- List Intune Scripts
- List Intune Templates
- Remove Autopilot Device
- Remove Policy
- Remove Queued App
- Add Choco App
- Add WinGet App
- Assign Policy
- Get Local Admin Password
- List Autopilot Devices
- List Intune Policies
- Remove App
- Remove Intune Script
- Sync Autopilot Devices
- License Actions
- Security & Compliance Actions
- Teams & SharePoint Actions
- Tenant Actions
- Add Alert
- Clear Tenant Cache
- Execute CA Exclusion
- Execute Named Location
- Get Tenant
- List Alerts Queue
- List Azure AD Connect Status
- List Conditional Access Policies
- List Named Locations
- List Shared Mailbox Statistics
- List Standards
- List Tenants
- Remove Standard Template
- Add Named Location
- Edit Tenant
- Execute Standards Run
- List Audit Logs
- List CSP Licenses
- List Roles
- List Standard Templates
- Tool Actions
- User Actions
- Add User
- Exec Restore Deleted User
- List User
- List User Conditional Access Policies
- List User Groups
- Clear Immutable ID
- Create Temporary Access Password
- Delete User Device
- Dismiss Risky User
- List Deleted Items
- List Inactive Accounts
- List Sign-Ins
- Remove User
- Reset MFA
- Restore Deleted Item
- Revoke Sessions
- Set Email Forward
- Set Per-User MFA
- List All Users
- List User Counts
- List User Devices
- Convert Mailbox
- Disable User
- Enable Archive
- List MFA Users
- Offboard User
- Reset Password
- Send MFA Push
- Set Out of Office
Overview
This node operation lists sites within a specified tenant in Microsoft Teams and SharePoint environments. It is useful for administrators or automation workflows that need to retrieve and manage site information across SharePoint or OneDrive accounts. For example, it can be used to gather all SharePoint sites for auditing or to list OneDrive usage accounts for monitoring storage.
Use Case Examples
- List all SharePoint sites in a tenant to generate a report of active sites.
- Retrieve OneDrive usage accounts to monitor user storage and activity.
Properties
| Name | Meaning |
|---|---|
| Tenant Filter | The tenant ID or domain name to filter the sites by. |
| Site Type | The type of sites to list, either SharePoint site usage or OneDrive usage accounts. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
sites- An array of site objects retrieved from the tenant based on the specified filters and site type.
Dependencies
- Requires an API key credential for authentication to the CIPP API endpoint.
Troubleshooting
- Ensure the tenant ID or domain name is correctly specified to avoid empty or failed responses.
- If SSL certificate validation fails, enable the 'Ignore SSL Issues' option to bypass validation, but be aware of security risks.
- Check proxy settings if requests fail due to network restrictions.
- Adjust timeout settings if the server response is slow to prevent premature request abortion.
Links
- SharePoint Site Usage API - Documentation on SharePoint site usage APIs which this node operation may interact with.
- OneDrive Usage API - Documentation on OneDrive usage APIs relevant to listing OneDrive usage accounts.