CIPP icon

CIPP

Interact with CIPP API

Actions129

Overview

This node operation assigns a Teams Voice Phone Number within a specified tenant in Microsoft Teams & SharePoint. It allows users to assign or unassign phone numbers to users or locations, set emergency locations, and specify phone number types. This is useful for managing voice phone number assignments in an organization's Teams environment, such as assigning a phone number to a user or location for voice communication purposes.

Use Case Examples

  1. Assign a phone number to a user by specifying the tenant ID, phone number, user principal name, and phone number type.
  2. Set an emergency location for a phone number without assigning it to a user by enabling the 'Location Only' option.

Properties

Name Meaning
Tenant Filter The tenant ID or domain name to specify the target tenant for the phone number assignment.
Phone Number The phone number to assign or unassign within the tenant.
Phone Number Type The type of phone number being assigned, such as direct or toll-free.
Location Only A boolean flag indicating whether to only set the emergency location without assigning the phone number to a user.
Input The user principal name or location ID to which the phone number will be assigned.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the API request behavior.

Output

JSON

  • success - Indicates whether the phone number assignment operation was successful.
  • message - Additional information or error message related to the operation.

Dependencies

  • Requires an API key credential for authentication to the CIPP API endpoint.

Troubleshooting

  • Ensure the tenant ID or domain name is correct and accessible.
  • Verify the phone number format is valid and supported by the tenant.
  • Check that the user principal name or location ID exists and is correct.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • If requests time out, increase the timeout setting or check network connectivity.

Discussion