Actions462
- Users Actions
- Download Greeting
- Batch Delete
- Get Call Log
- Get Phone Registrars
- Reboot Phone
- Reprovision Phone
- Upgrade Phone
- Generate Prov Link
- Has Duplicated Email
- Get Duplicated Emails
- Send Welcome Email
- List Groups
- List Forwarding Profiles
- Get Phone Secret
- Regenerate
- Regenerate Passwords
- Export Extensions
- Get Phone Registrar
- Bulk Update
- Get User
- Update User
- Delete User
- List Greetings
- Make Call User Record Greeting
- Make Call
- Get Monitor Status
- Set Monitor Status
- Multi User Update
- Reprovision All Phones
- Get Multi Edit Greetings
- Multi Delete Greeting
- Get User By Number
- List User
- Create User
- Active Calls Actions
- Activity Log Actions
- Anti Hacking Settings Actions
- Backups Actions
- Black List Numbers Actions
- Blocklist Actions
- Call Cost Settings Actions
- Call Flow Apps Actions
- Call Flow Scripts Actions
- Call History View Actions
- Call Parking Settings Actions
- Call Types Settings Actions
- CDR Settings Actions
- Chat History View Actions
- Chat Log Settings Actions
- Contacts Actions
- Chat Messages History View Actions
- Codecs Settings Actions
- Conference Settings Actions
- Console Restrictions Actions
- Countries Actions
- Country Codes Actions
- CRM Integration Actions
- Crm Templates Actions
- Custom Prompts Actions
- Data Connector Settings Actions
- Defs Actions
- Device Infos Actions
- Dial Code Settings Actions
- Did Numbers Actions
- DN Properties Actions
- E 164 Settings Actions
- Email Template Actions
- Emergency Geo Locations Actions
- Fax Actions
- Fax Server Settings Actions
- Firewall Actions
- Firmwares Actions
- Fxs Actions
- General Settings For Pbx Actions
- Google Settings Actions
- Emergency Notifications Settings Actions
- Event Logs Actions
- Fxs Templates Actions
- General Settings For Apps Actions
- Groups Actions
- Holidays Actions
- Hotel Services Actions
- Microsoft 365 Integration Actions
- My Group Actions
- Inbound Rules Actions
- Last Cdr And Chat Message Timestamp Actions
- License Status Actions
- Logging Settings Actions
- Microsoft 365 Teams Integration Actions
- Music On Hold Settings Actions
- My Tokens Actions
- My User Actions
- Network Interfaces Actions
- Network Settings Actions
- Notification Settings Actions
- Office Hours Actions
- Outbound Rules Actions
- Parameters Actions
- Parkings Actions
- Peers Actions
- Phone Book Settings Actions
- Phone Logos Actions
- Phones Settings Actions
- Phone Templates Actions
- Playlists Actions
- Prompt Sets Actions
- Purge Settings Actions
- Queues Actions
- Receptionists Actions
- Report Queue Failed Callbacks Actions
- Recordings Actions
- System Status Actions
- Remote Archiving Settings Actions
- Report Abandoned Chats Statistics Actions
- Report Abandoned Queue Calls Actions
- Report Agent Login History Actions
- Report Agents In Queue Statistics Actions
- Report Audit Log Actions
- Report Average Queue Waiting Time Actions
- Report Breaches Sla Actions
- Report Call Cost By Extension Group Actions
- Report Call Distribution Actions
- Report Call Log Data Actions
- Report Detailed Queue Statistics Actions
- Report Extensions Statistics By Ring Groups Actions
- Report Extension Statistics By Group Actions
- Report Extension Statistics Actions
- Report Inbound Rules Actions
- Report Queue Agents Chat Statistics Actions
- Report Queue Agents Chat Statistics Totals Actions
- Report Queue Answered Calls By Wait Time Actions
- Report Queue An Un Calls Actions
- Report Queue Callbacks Actions
- Report Queue Chat Performance Actions
- Report Statistic Sla Actions
- Report Queue Performance Overview Actions
- Report Queue Performance Totals Actions
- Report Ring Group Statistics Actions
- Sbcs Actions
- Secure Sip Settings Actions
- Report Team Queue General Statistics Actions
- Scheduled Reports Actions
- Ring Groups Actions
- Security Tokens Actions
- Service Principals Actions
- Services Actions
- Sip Devices Actions
- Directories Actions
- Tenant Properties Actions
- Trunks Actions
- Trunk Templates Actions
- Updates Actions
- Voicemail Settings Actions
- Website Links Actions
- Report Inbound Calls Actions
- Report Outbound Calls Actions
- Report User Activity Actions
Overview
This node operation lists Service Principals from a connected service, allowing users to retrieve multiple service principal records with flexible query options. It is useful in scenarios where you need to manage or audit service principals programmatically, such as fetching all service principals for an organization, filtering by specific criteria, or paginating through large sets of data.
Practical examples include:
- Retrieving the first 10 service principals created in the last month.
- Searching service principals by name or other attributes.
- Filtering service principals based on their state or other properties.
- Selecting only specific fields to reduce payload size.
Properties
| Name | Meaning |
|---|---|
| Options | A collection of optional query parameters to customize the list request: |
| $top | Show only the first n items (pagination limit). |
| $skip | Skip the first n items (pagination offset). |
| $search | Search items by search phrases. If the phrase contains spaces and is not quoted, it will be auto-quoted. |
| $filter | Filter items by property values using OData filter syntax (e.g., State eq 'Connected'). |
| $count | Include count of total matching items (boolean). |
| $orderby | Order items by property values (e.g., Name desc, CreatedAt asc). |
| $select | Select specific properties to be returned (comma-separated list). |
| $expand | Expand related entities (comma-separated list). |
Output
The output JSON field contains an array of service principal objects retrieved according to the specified query options. Each object represents a service principal with its properties as returned by the API. The exact structure depends on the selected fields and expansions but typically includes identifiers, names, states, and related entity information.
If binary data were involved (not indicated here), it would represent attachments or files related to service principals, but this operation focuses on JSON data only.
Dependencies
- Requires an authenticated connection to the target service that manages service principals.
- Needs an API key or OAuth2 token configured in the node credentials to authorize requests.
- The base URL for the API is dynamically set from the credential's server URL configuration.
Troubleshooting
- Empty results: Check if filters or search queries are too restrictive or incorrectly formatted.
- Authentication errors: Ensure the API key or OAuth2 token is valid and has sufficient permissions.
- Invalid query parameters: Verify that OData filter, orderby, select, and expand strings follow correct syntax.
- Pagination issues: When using
$topand$skip, ensure values are numeric and within allowed ranges. - API rate limits: If many requests are made quickly, the API might throttle; implement retries or delays.