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 removes the assignment of a Teams Voice phone number from a specified user within a tenant. It is useful in scenarios where phone numbers need to be unassigned or reallocated, such as when an employee leaves the organization or changes roles. For example, an admin can use this operation to unassign a phone number from a user to free it up for reassignment.
Use Case Examples
- Unassign a phone number from a user in a specific tenant to manage phone number allocations.
- Remove a Teams Voice phone number assignment when an employee leaves the company.
Properties
| Name | Meaning |
|---|---|
| Tenant Filter | The tenant ID or domain name to specify the tenant context for the operation. |
| Phone Number | The phone number to be unassigned from the user. |
| Phone Number Type | The type of phone number being unassigned (optional). |
| Assigned To | The user from whom the phone number is being unassigned. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy, and timeout options. |
Output
JSON
success- Indicates whether the phone number unassignment was successful.message- Additional information or status message about the unassignment operation.
Dependencies
- Requires an API key credential for authentication to the CIPP API service.
Troubleshooting
- Ensure the tenant ID or domain name is correct to avoid tenant resolution errors.
- Verify the phone number and user details are accurate to prevent assignment conflicts.
- Check network settings if using a proxy or if SSL certificate validation issues occur.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.
Links
- Microsoft Teams Phone Number Assignment - Official Microsoft documentation on managing phone number assignments in Teams.
- Microsoft Graph API for Teams Voice - API reference for managing Teams Voice phone numbers and assignments.