MicrosoftTeamsPowerShell

The following cmdlet references are for Microsoft Teams.

MicrosoftTeamsPowerShell

Add-TeamChannelUser

Adds an owner or member to the private channel.

The command will return immediately, but the Teams application will not reflect the update immediately. To see the update you should refresh the members page.

Note: Technical limitations of private channels apply. To add a user as a member to a channel, they need to first be a member of the team. To make a user an owner of a channel, they need to first be a member of the channel.

Add-TeamsAppInstallation

Add a Teams App to Microsoft Teams.

Add-TeamUser

The Add-TeamUser adds an owner or member to the team, and to the unified group which backs the team.

Clear-CsOnlineTelephoneNumberOrder

Use the Clear-CsOnlineTelephoneNumberOrder cmdlet to cancel a specific telephone number search order and release the telephone numbers. The telephone numbers can then be available for search and acquire.

Clear-TeamsEnvironmentConfig

Clears environment-specific configurations from the local machine set by running Set-TeamsEnvironmentConfig.

Complete-CsOnlineTelephoneNumberOrder

Use the Complete-CsOnlineTelephoneNumberOrder cmdlet to complete a specific telephone number search order and confirm the purchase of the new telephone numbers. The telephone numbers can then be used to set up calling features for users and services in your organization.

Connect-MicrosoftTeams

The Connect-MicrosoftTeams cmdlet connects an authenticated account for use with cmdlets from the MicrosoftTeams module.

Disable-CsOnlineSipDomain

This cmdlet prevents provisioning of users in Skype for Business Online for the specified domain. This cmdlet allows organizations with multiple on-premises deployments of Skype For Business Server or Lync Server to safely synchronize users from multiple forests into a single Office 365 tenant.

Disable-CsTeamsShiftsConnectionErrorReport

Note: This cmdlet is currently in public preview.

This cmdlet disables an error report.

Disconnect-MicrosoftTeams
Enable-CsOnlineSipDomain

This cmdlet enables provisioning of users in Skype for Business Online for the specified domain. This cmdlet is only necessary to run if you previously disabled a domain using Disable-CsOnlineSipDomain. Enable-CsOnlineSipDomain is used to facilitate consolidation of separate Skype for Business deployments into a single Office 365 tenant.

Export-CsAcquiredPhoneNumber

This cmdlet exports the list of phone numbers acquired by Teams Phone tenant.

Export-CsAutoAttendantHolidays

Use Export-CsAutoAttendantHolidays cmdlet to export holiday schedules of an existing Auto Attendant (AA). The data is exported as a byte array from the cmdlet, which can be dumped to disk as a CSV file and can later be imported using the Import-CsAutoAttendantHolidays cmdlet.

Export-CsOnlineAudioFile

Use the Export-CsOnlineAudioFile cmdlet to download an existing audio file.

Find-CsGroup

Use the Find-CsGroup cmdlet to search groups.

Find-CsOnlineApplicationInstance

Use the Find-CsOnlineApplicationInstance cmdlet to find application instances that match your search criteria.

Get-ALLM365TeamsApps

This cmdlet returns all Microsoft Teams apps in the app catalog, including Microsoft, custom, and non-Microsoft apps.

Get-AssociatedTeam

This cmdlet supports retrieving all teams associated with a user, including teams which host shared channels.

Get-CsApplicationAccessPolicy

Retrieves information about the application access policy configured for use in the tenant.

Get-CsApplicationMeetingConfiguration

Retrieves information about the application meeting configuration settings configured for the tenant.

Get-CsAutoAttendant

Use the Get-CsAutoAttendant cmdlet to get information about your Auto Attendants (AA).

Get-CsAutoAttendantHolidays

Use Get-CsAutoAttendantHolidays cmdlet to get the holiday information for an existing Auto Attendant (AA).

Get-CsAutoAttendantStatus

Use Get-CsAutoAttendantStatus cmdlet to get the status of an Auto Attendant (AA) provisioning.

Get-CsAutoAttendantSupportedLanguage

The Get-CsAutoAttendantSupportedLanguage cmdlet gets languages that are supported by the Auto Attendant (AA) service.

Get-CsAutoAttendantSupportedTimeZone

The Get-CsAutoAttendantSupportedTimeZone cmdlet gets supported time zones for the Auto Attendant (AA) service.

Get-CsAutoAttendantTenantInformation

Gets the default tenant information for Auto Attendant (AA) feature.

Get-CsBatchPolicyAssignmentOperation

This cmdlet is used to retrieve the status of batch policy assignment operations.

Get-CsBatchTeamsDeploymentStatus

This cmdlet is used to get the status of the batch deployment orchestration.

Get-CsCallingLineIdentity

Use the Get-CsCallingLineIdentity cmdlet to display the Caller ID policies for your organization.

Get-CsCallQueue

The Get-CsCallQueue cmdlet returns the identified Call Queues.

Get-CsCloudCallDataConnection

This cmdlet retrieves an already existing online call data connection.

Get-CsDialPlan

Returns information about the dial plans used in your organization. This cmdlet was introduced in Lync Server 2010.

Get-CsEffectiveTenantDialPlan

Use the Get-CsEffectiveTenantDialPlan cmdlet to retrieve an effective tenant dial plan.

Get-CsExportAcquiredPhoneNumberStatus

This cmdlet shows the status of the Export-CsAcquiredPhoneNumber cmdlet.

Get-CsExternalAccessPolicy

Returns information about the external access policies that have been configured for use in your organization. External access policies determine whether or not your users can: 1) communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) communicate with users who are using custom applications built with Azure Communication Services (ACS); 3) access Skype for Business Server over the Internet, without having to log on to your internal network; and, 4) communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Skype.

This cmdlet was introduced in Lync Server 2010.

Get-CsGroupPolicyAssignment

This cmdlet is used to return group policy assignments.

Get-CsHybridTelephoneNumber

This cmdlet displays information about one or more hybrid telephone numbers.

Get-CsInboundBlockedNumberPattern

Returns a list of all blocked number patterns added to the tenant list.

Get-CsInboundExemptNumberPattern

Returns a specific or the full list of all number patterns exempt from call blocking.

Get-CsMeetingMigrationStatus

You use the Get-CsMeetingMigrationStatus cmdlet to check the status of meeting migrations.

Get-CsOnlineApplicationInstance

Get application instance for the tenant from Microsoft Entra ID.

Get-CsOnlineApplicationInstanceAssociation

Use the Get-CsOnlineApplicationInstanceAssociation cmdlet to get information about the associations setup in your organization.

Get-CsOnlineApplicationInstanceAssociationStatus

Use the Get-CsOnlineApplicationInstanceAssociationStatus cmdlet to get the provisioning status for the associations you have setup in your organization.

Get-CsOnlineAudioFile

Returns information about a specific or all uploaded audio files of a given application type.

Get-CsOnlineDialInConferencingBridge

Use the Get-CsOnlineDialInConferencingBridge cmdlet to view the settings on an audio conferencing bridge that is used when Microsoft is the audio conferencing provider.

Get-CsOnlineDialInConferencingLanguagesSupported

Use the Get-CsOnlineDialInConferencingLanguagesSupported cmdlet to view the list of languages that are supported when an organization uses Microsoft as the dial-in audio conferencing provider.

Get-CsOnlineDialinConferencingPolicy

Retrieves the available Dial-in Conferencing policies in the tenant.

Get-CsOnlineDialInConferencingServiceNumber

Use the Get-CsOnlineDialInConferencingServiceNumber cmdlet to return all of the default dial-in service numbers that are assigned to an Office 365 audio conferencing bridge.

Get-CsOnlineDialinConferencingTenantConfiguration

Use the Get-CsOnlineDialinConferencingTenantConfiguration cmdlet to retrieve the tenant level configuration for dial-in conferencing. The dial-in conferencing configuration specifies if dial-in conferencing is enabled for the tenant.

Get-CsOnlineDialInConferencingTenantSettings

Use the Get-CsOnlineDialInConferencingTenantSettings cmdlet to retrieve tenant level settings for dial-in conferencing.

Get-CsOnlineDialInConferencingUser

Use the Get-CsOnlineDialInConferencingUser cmdlet to view the properties and settings of users that are enabled for dial-in conferencing and are using Microsoft as their PSTN conferencing provider.

Get-CsOnlineDialOutPolicy

Use the Get-CsOnlineDialOutPolicy cmdlet to get all the available outbound calling restriction policies in your organization.

Get-CsOnlineDirectoryTenant

Use the Get-CsOnlineDirectoryTenant cmdlet to retrieve a tenant and associated parameters from the Business Voice Directory.

Get-CsOnlineEnhancedEmergencyServiceDisclaimer

Use the Get-CsOnlineEnhancedEmergencyServiceDisclaimer cmdlet to determine whether your organization has accepted the terms and conditions of enhanced emergency service.

Get-CsOnlineLisCivicAddress

Use the Get-CsOnlineLisCivicAddress cmdlet to retrieve information about existing emergency civic addresses defined in the Location Information Service (LIS).

Get-CsOnlineLisLocation

Use the Get-CsOnlineLisLocation cmdlet to retrieve information on previously defined locations in the Location Information Service (LIS.)

Get-CsOnlineLisPort

Retrieves one or more ports from the location configuration database. Each port can be associated with a location, in which case this cmdlet will also retrieve the location information of the ports. This location association is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Get-CsOnlineLisSubnet

Retrieves one or more subnets from the location configuration database. Each subnet can be associated with a location, in which case this cmdlet will also retrieve the location information of the subnets. This location association is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Get-CsOnlineLisSwitch

Retrieves one or more network switches from the location configuration database. Each switch can be associated with a location, in which case this cmdlet will also retrieve the location information of the switches. This location association is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Get-CsOnlineLisWirelessAccessPoint

Retrieves one or more wireless access points (WAPs) from the location configuration database. Each WAP can be associated with a location, in which case this cmdlet will also retrieve the location information of the WAPs. This location association is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Get-CsOnlinePSTNGateway

Shows the configuration of the previously defined Session Border Controller(s) (SBC(s)) that describes the settings for the peer entity. This cmdlet was introduced with Microsoft Phone System Direct Routing.

Get-CsOnlinePstnUsage

Returns information about online public switched telephone network (PSTN) usage records used in your tenant.

Get-CsOnlineSchedule

Use the Get-CsOnlineSchedule cmdlet to get information about schedules that belong to your organization.

Get-CsOnlineSipDomain

This cmdlet lists online sip domains and their enabled/disabled status. In a disabled domain, provisioning of users is blocked. Once a domain is re-enabled, provisioning of users in that domain will happen.

Get-CsOnlineTelephoneNumber

Use the Get-CsOnlineTelephoneNumber to retrieve telephone numbers from the Business Voice Directory.

Note: This cmdlet has been deprecated. Use the new Get-CsPhoneNumberAssignment cmdlet instead. For Microsoft 365 GCC High and DoD cloud instances use the new Get-CshybridTelephoneNumber cmdlet instead.

Get-CsOnlineTelephoneNumberCountry

Use the Get-CsOnlineTelephoneNumberCountry cmdlet to get the list of supported countries or regions to search and acquire new telephone numbers. The telephone numbers can then be used to set up calling features for users and services in your organization.

Get-CsOnlineTelephoneNumberOrder

Use the Get-CsOnlineTelephoneNumberOrder cmdlet to get the order report of a specific telephone number order.

Get-CsOnlineTelephoneNumberType

Use the Get-CsOnlineTelephoneNumberType cmdlet to get the list of supported telephone number offerings in a given country or region. The telephone numbers can then be used to set up calling features for users and services in your organization.

Get-CsOnlineUser

Returns information about users who have accounts homed on Microsoft Teams or Skype for Business Online.

Get-CsOnlineVoicemailPolicy

Use the Get-CsOnlineVoicemailPolicy cmdlet to get a list of all pre-configured policy instances related to Cloud Voicemail service.

Get-CsOnlineVoicemailUserSettings

Use the Get-CsOnlineVoicemailUserSettings cmdlet to get information about online voicemail user settings of a specific user.

Get-CsOnlineVoiceRoute

Returns information about the online voice routes configured for use in your tenant. Online voice routes contain instructions that tell Skype for Business Online how to route calls from Office 365 users to phone numbers on the public switched telephone network (PSTN) or a private branch exchange (PBX).

Get-CsOnlineVoiceRoutingPolicy

Returns information about the online voice routing policies configured for use in your tenant. Online voice routing policies manage online PSTN usages for users of Phone System.

Get-CsOnlineVoiceUser

Use the Get-CsOnlineVoiceUser cmdlet to retrieve a voice user's telephone number and location.

Get-CsPhoneNumberAssignment

This cmdlet displays information about one or more phone numbers.

Get-CsPolicyPackage

This cmdlet supports retrieving all the policy packages available on a tenant.

Get-CsSdgBulkSignInRequestsSummary

Get the tenant level summary of all bulk sign in requests executed in the past 30 days.

Get-CsSdgBulkSignInRequestStatus

Get the status of an active bulk sign in request.

Get-CsTeamsAcsFederationConfiguration

This cmdlet is used to retrieve the federation configuration between Teams and Azure Communication Services. For more information, refer to Azure Communication Services and Teams Interoperability.

Get-CsTeamsAIPolicy

This cmdlet retrieves all Teams AI policies for current tenant.

Get-CsTeamsAppPermissionPolicy

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app permission polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience. This cmdlet is not supported for tenants that migrated to app centric management feature as it replaced permission policies. While the cmdlet may succeed, the changes aren't applied to the tenant.

As an admin, you can use app permission policies to allow or block apps for your users. Learn more about the app permission policies at /microsoftteams/teams-app-permission-policies and about app centric management at /microsoftteams/app-centric-management.

Get-CsTeamsAppSetupPolicy

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

Get-CsTeamsAudioConferencingPolicy

Audio conferencing policies can be used to manage audio conferencing toll- and toll-free numbers to be displayed in meeting invites created by users within your organization.

Get-CsTeamsCallHoldPolicy

Returns information about the policies configured to customize the call hold experience for Teams clients.

Get-CsTeamsCallingPolicy

Returns information about the teams calling policies configured for use in your organization. Teams calling policies help determine which users are able to use calling functionality within Microsoft Teams.

Get-CsTeamsCallParkPolicy

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different Teams phone. The Get-CsTeamsCallParkPolicy cmdlet returns the policies that are available for your organization.

NOTE: the call park feature is currently only available in the desktop and web clients. Call Park functionality is currently completely disabled in mobile clients.

Get-CsTeamsChannelsPolicy

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application.

Get-CsTeamsClientConfiguration

The TeamsClientConfiguration allows IT admins to control the settings that can be accessed via Teams clients across their organization. This configuration includes settings like which third party cloud storage your organization allows, whether or not guest users can access the teams client, and how Surface Hub devices can interact with Skype for Business meetings. This cmdlet allows IT admins to retrieve the effective configuration for their organization.

Get-CsTeamsComplianceRecordingApplication

Returns information about the application instances of policy-based recording applications that have been configured for administering automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Get-CsTeamsComplianceRecordingPolicy

Returns information about the policies configured for governing automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Get-CsTeamsCortanaPolicy

The CsTeamsCortanaPolicy cmdlets enable administrators to control settings for Cortana voice assistant in Microsoft Teams.

Get-CsTeamsEducationAssignmentsAppPolicy

This policy is controlled by Global and Teams Service Administrators, and is used to turn on/off certain features only related to the Assignments Service, which runs for tenants with EDU licenses. This cmdlet allows you to retrieve the current values of your Education Assignments App Policy. At this time, you can only modify your global policy - this policy type does not support user-level custom policies.

Get-CsTeamsEducationConfiguration

This cmdlet is used to retrieve the organization-wide education configuration for Teams.

Get-CsTeamsEmergencyCallingPolicy
Get-CsTeamsEmergencyCallRoutingPolicy

This cmdlet returns one or more Emergency Call Routing policies.

Get-CsTeamsEnhancedEncryptionPolicy

Returns information about the teams enhanced encryption policies configured for use in your organization.

Get-CsTeamsEventsPolicy

Returns information about the Teams Events policy. Note that this policy is currently still in preview.

Get-CsTeamsExternalAccessConfiguration

The TeamsExternalAccessConfiguration contains all configurations that can be used to enhance the security of the entire organization, such as managing blocked users. This cmdlet returns the current settings of your organization.

Get-CsTeamsFeedbackPolicy

Use this cmdlet to retrieve the current Teams Feedback policies (the ability to send feedback about Teams to Microsoft and whether they receive the survey) in the organization.

Get-CsTeamsFilesPolicy

Use the `Get-CsTeamsFilesPolicy` cmdlet to get a list of all pre-configured policy instances related to teams files.

Get-CsTeamsFirstPartyMeetingTemplateConfiguration

This cmdlet fetches the first-party meeting templates stored on the tenant.

Get-CsTeamsGuestCallingConfiguration

Returns information about the GuestCallingConfiguration, which specifies what options guest users have for calling within Teams.

Get-CsTeamsGuestMeetingConfiguration

Designates what meeting features guests using Microsoft Teams will have available.

Get-CsTeamsGuestMessagingConfiguration

TeamsGuestMessagingConfiguration determines the messaging settings for the guest users. This cmdlet returns your organization's current settings.

Get-CsTeamsIPPhonePolicy

Get-CsTeamsIPPhonePolicy allows IT Admins to view policies for IP Phone experiences in Microsoft Teams.

Get-CsTeamsMediaConnectivityPolicy

This cmdlet retrieves all Teams media connectivity policies for current tenant.

Get-CsTeamsMediaLoggingPolicy

Returns information about the Teams Media Logging policy.

Get-CsTeamsMeetingBrandingPolicy

The CsTeamsMeetingBrandingPolicy cmdlet enables administrators to control the appearance in meetings by defining custom backgrounds, logos, and colors.

Get-CsTeamsMeetingBroadcastConfiguration

Get-CsTeamsMeetingBroadcastConfiguration [[-Identity] <XdsIdentity>] [-Tenant <guid>] [-ExposeSDNConfigurationJsonBlob <bool>] [-LocalStore] [<CommonParameters>]

Get-CsTeamsMeetingBroadcastConfiguration [-Tenant <guid>] [-ExposeSDNConfigurationJsonBlob <bool>] [-Filter <string>] [-LocalStore] [<CommonParameters>]

Get-CsTeamsMeetingBroadcastPolicy

User-level policy for tenant admin to configure meeting broadcast behavior for the broadcast event organizer.

Get-CsTeamsMeetingConfiguration

The CsTeamsMeetingConfiguration cmdlets enable administrators to control the meetings configurations in their tenants.

Get-CsTeamsMeetingPolicy

The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users.

Get-CsTeamsMeetingTemplateConfiguration

This cmdlet fetches the custom meeting templates stored on the tenant.

Get-CsTeamsMeetingTemplatePermissionPolicy

Fetches the TeamsMeetingTemplatePermissionPolicy. This policy can be used to hide meeting templates from users and groups.

Get-CsTeamsMessagingConfiguration

TeamsMessagingConfiguration determines the messaging settings for users. This cmdlet returns your organization's current settings.

Get-CsTeamsMessagingPolicy

The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages.

Get-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

Get-CsTeamsMultiTenantOrganizationConfiguration

This cmdlet retrieves all tenant settings for Multi-tenant Organizations

Get-CsTeamsNetworkRoamingPolicy

Get-CsTeamsNetworkRoamingPolicy allows IT Admins to view policies for the Network Roaming and Bandwidth Control experiences in Microsoft Teams.

Get-CsTeamsNotificationAndFeedsPolicy

Retrieves information about the Teams Notification and Feeds policy configured for use in the tenant.

Get-CsTeamsRecordingRollOutPolicy

The CsTeamsRecordingRollOutPolicy controls roll out of the change that governs the storage for meeting recordings.

Get-CsTeamsRoomVideoTeleConferencingPolicy

Use this cmdlet to retrieve the current Teams Room Video TeleConferencing policies.

Get-CsTeamsSettingsCustomApp

Get the Custom Apps Setting's value of Teams Admin Center.

Get-CsTeamsSharedCallingRoutingPolicy

Use the Get-CsTeamsSharedCallingRoutingPolicy cmdlet to get Teams shared calling routing policy information. Teams shared calling routing policy is used to configure shared calling.

Get-CsTeamsShiftsAppPolicy

Returns information about the Teams Shifts App policies that have been configured for use in your organization.

Get-CsTeamsShiftsConnection

This cmdlet returns the list of existing workforce management (WFM) connections. It can also return the configuration details for a given WFM connection.

Get-CsTeamsShiftsConnectionConnector

This cmdlet supports retrieving the available Shifts Connectors.

Get-CsTeamsShiftsConnectionErrorReport

This cmdlet returns the list of all the team mapping error reports. It can also return the configuration details of one mapping error report with its ID provided or other filter parameters.

Get-CsTeamsShiftsConnectionInstance

This cmdlet returns the list of existing connection instances. It can also return the configuration details for a given connection instance.

Get-CsTeamsShiftsConnectionOperation

This cmdlet gets the requested batch mapping operation. The batch mapping operation can be submitted by running New-CsTeamsShiftsConnectionBatchTeamMap.

Get-CsTeamsShiftsConnectionSyncResult

This cmdlet supports retrieving the list of user details in the mapped teams of last sync.

Get-CsTeamsShiftsConnectionTeamMap

This cmdlet supports retrieving the list of team mappings.

Get-CsTeamsShiftsConnectionWfmTeam

This cmdlet supports retrieving the list of available Workforce management (WFM) teams in the connection instance.

Get-CsTeamsShiftsConnectionWfmUser

This cmdlet shows the list of Workforce management (WFM) users in a specified WFM team.

Get-CsTeamsShiftsPolicy

This cmdlet allows you to get properties of a TeamsShiftPolicy instance, including user's Teams off shift warning message-specific settings.

Get-CsTeamsSipDevicesConfiguration

This cmdlet is used to retrieve the organization-wide Teams SIP devices configuration.

Get-CsTeamsSurvivableBranchAppliance

The Survivable Branch Appliance (SBA) cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Get-CsTeamsSurvivableBranchAppliancePolicy

The Survivable Branch Appliance (SBA) Policy cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Get-CsTeamsTemplatePermissionPolicy

Fetches the TeamsTemplatePermissionPolicy. This policy can be used to hide Teams templates from users and groups.

Get-CsTeamsTranslationRule

Cmdlet to get an existing number manipulation rule (or list of rules).

Get-CsTeamsUnassignedNumberTreatment

Displays a specific or all treatments for how calls to an unassigned number range should be routed.

Get-CsTeamsUpdateManagementPolicy

Use this cmdlet to retrieve the current Teams Update Management policies in the organization.

Get-CsTeamsUpgradeConfiguration

Returns information related to managing the upgrade to Teams from Skype for Business. TeamsUpgradeConfiguration should be used in conjunction with TeamsUpgradePolicy. The settings in TeamsUpgradeConfiguration allow administrators to configure whether users subject to upgrade and who are running on Windows clients should automatically download Teams. For Office 365 users, it allows administrators to determine which application end users should use to join Skype for Business meetings.

Get-CsTeamsUpgradePolicy

TeamsUpgradePolicy allows administrators to manage the transition from Skype for Business to Teams.

Important

It can take up to 24 hours for a change to TeamsUpgradePolicy to take effect. Before then, user presence status may not be correct (may show as Unknown).

Get-CsTeamsVdiPolicy

The CsTeamsVdiPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting specifically on an unoptimized VDI environment. It also controls whether a user can be in VDI 2.0 optimization mode.

Get-CsTeamsVideoInteropServicePolicy

Cloud Video Interop for Teams enables 3rd party VTC devices to be able to join Teams meetings. You can use the TeamsVideoInteropServicePolicy cmdlets to enable Cloud Video Interop for particular users or for your entire organization.

Get-CsTeamsVirtualAppointmentsPolicy

This cmdlet is used to fetch policy instances of TeamsVirtualAppointmentsPolicy.

Get-CsTeamsVoiceApplicationsPolicy

Use the Get-CsTeamsVoiceApplicationsPolicy cmdlet to get Teams voice applications policy information. TeamsVoiceApplications policy governs what permissions the supervisors/users have over auto attendants and call queues.

Get-CsTeamsWorkLocationDetectionPolicy

This cmdlet is used to fetch policy instances of TeamsWorkLocationDetectionPolicy.

Get-CsTeamTemplate

This cmdlet supports retrieving details of a team template available to your tenant given the team template uri.

NOTE: The returned template definition is a PowerShell object formatted as a JSON for readability. Please refer to the examples for suggested interaction flows for template management.

Get-CsTeamTemplateList

This cmdlet supports retrieving information of all team templates available to your tenant, including both first party Microsoft team templates as well as custom templates. The templates information retrieved includes OData Id, template name, short description, count of channels and count of applications. Note: All custom templates will be retrieved, regardless of the locale specification. If you have hidden templates in the admin center, you will still be able to see the hidden templates here.

Get-CsTenant

Returns information about the Microsoft Teams or Skype for Business Online tenants that have been configured for use in your organization. Tenants represent groups of online users.

Get-CsTenantBlockedCallingNumbers

Use the Get-CsTenantBlockedCallingNumbers cmdlet to retrieve tenant blocked calling numbers setting.

Get-CsTenantDialPlan

Use the Get-CsTenantDialPlan cmdlet to retrieve a tenant dial plan.

Get-CsTenantFederationConfiguration

Returns information about the federation configuration settings for your Skype for Business Online tenants. Federation configuration settings are used to determine which domains (if any) your users are allowed to communicate with.

Get-CsTenantLicensingConfiguration

Indicates whether licensing information for the specified tenant is available in the Teams admin center.

Get-CsTenantMigrationConfiguration

Use the Get-CsTenantMigrationConfiguration cmdlet to check if Meeting Migration Service (MMS) is enabled in your organization.

Get-CsTenantNetworkConfiguration

Returns information about the network regions, sites and subnets in the tenant network configuration. Tenant network configuration is used for Location Based Routing.

Get-CsTenantNetworkRegion

Returns information about the network region setting in the tenant. Tenant network region is used for Location Based Routing.

Get-CsTenantNetworkSite

Returns information about the network site setting in the tenant. Tenant network site is used for Location Based Routing.

Get-CsTenantNetworkSubnet

Returns information about the network subnet setting in the tenant. Tenant network subnet is used for Location Based Routing.

Get-CsTenantTrustedIPAddress

Returns information about the external trusted IPs in the tenant. Trusted IP address from user's endpoint will be checked to determine which internal subnet the user's endpoint is located.

Get-CsUserCallingSettings

This cmdlet will show the call forwarding, simultaneous ringing, call group and delegation settings for a user.

Get-CsUserPolicyAssignment

This cmdlet is used to return the policy assignments for a user, both directly assigned and inherited from a group.

Get-CsUserPolicyPackage

This cmdlet supports retrieving the policy package that's assigned to a user.

Get-CsUserPolicyPackageRecommendation

This cmdlet supports retrieving recommendations for which policy packages are best suited for a given user.

Get-CsVideoInteropServiceProvider

Cloud Video Interop for Teams enables 3rd party VTC devices to be able to join Teams meetings. The CsVideoInteropServiceProvider cmdlets allow you to designate provider/tenant specific information about the connection to the provider.

Get-LicenseReportForChangeNotificationSubscription

This cmdlet tells whether a user has the required license to export their messages via change notification subscription.

Get-M365TeamsApp

This cmdlet returns app availability and state for the Microsoft Teams app.

Get-M365UnifiedTenantSettings

This cmdlet returns the current tenant settings for a particular tenant

Get-SharedWithTeam

This cmdlet supports retrieving teams with which a specified channel is shared.

Get-SharedWithTeamUser

This cmdlet supports retrieving users of a shared with team.

Get-Team

This cmdlet supports retrieving teams with particular properties/information, including all teams that a specific user belongs to, all teams that have been archived, all teams with a specific display name, or all teams in the organization.

Get-TeamAllChannel

This cmdlet supports retrieving all channels of a team, including incoming channels and channels hosted by the team.

Get-TeamChannel

This cmdlet supports retrieving channels hosted by a team.

Get-TeamChannelUser

Returns users of a channel.

Get-TeamFunSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To retrieve a Team's fun settings, run Get-Team.

Gets a team's fun settings.

Get-TeamGuestSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To retrieve a Team's guest settings, run Get-Team.

Gets Team guest settings.

Get-TeamIncomingChannel

This cmdlet supports retrieving incoming channels of a team.

Get-TeamMemberSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To retrieve a Team's member settings, run Get-Team.

Gets team member settings.

Get-TeamMessagingSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To retrieve a Team's messaging settings, run Get-Team.

Gets team messaging settings.

Get-TeamsApp

Returns app information from the Teams tenant app store.

Get-TeamsAppInstallation

Get a Teams App installed in Microsoft Teams.

Get-TeamTargetingHierarchyStatus

Get the status of a hierarchy upload (see Set-TeamTargetingHierarchy)

Get-TeamUser

Returns users of a team.

Grant-CsApplicationAccessPolicy

Assigns a per-user application access policy to one or more users. After assigning an application access policy to a user, the applications configured in the policy will be authorized to access online meetings on behalf of that user.

Grant-CsCallingLineIdentity

Use the Grant-CsCallingLineIdentity cmdlet to apply a Caller ID policy to a user account, to a group of users, or to set the tenant Global instance.

Grant-CsCloudMeetingPolicy

Grants Skype Meetings polices for a user.

Grant-CsDialoutPolicy

Use the Grant-CsDialoutPolicy cmdlet to assign the tenant global, a group of users, or a per-user outbound calling restriction policy to one or more users.

Grant-CsExternalAccessPolicy

Enables you to assign an external access policy to a user or a group of users. External access policies determine whether or not your users can: 1) communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) communicate with users who are using custom applications built with Azure Communication Services (ACS); 3) access Skype for Business Server over the Internet, without having to log on to your internal network; and, 4) communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Skype.

This cmdlet was introduced in Lync Server 2010.

Grant-CsExternalUserCommunicationPolicy

Provide the topic introduction here.

Grant-CsGroupPolicyPackageAssignment

This cmdlet assigns a policy package to a group in a tenant.

Grant-CsOnlineVoicemailPolicy

Assigns an online voicemail policy to a user account, to a group of users, or set the tenant Global instance. Online voicemail policies manage usages for Voicemail service.

Grant-CsOnlineVoiceRoutingPolicy

Assigns a per-user online voice routing policy to one user, a group of users, or sets the Global policy instance. Online voice routing policies manage online PSTN usages for Phone System users.

Grant-CsTeamsAIPolicy

This cmdlet applies an instance of the Teams AI policy to users or groups in a tenant.

Grant-CsTeamsAppPermissionPolicy

NOTE: You can use this cmdlet to assign a specific custom policy to a user. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience. This cmdlet is not supported for tenants that migrated to app centric management feature as it replaced permission policies. While the cmdlet may succeed, the changes aren't applied to the tenant.

As an admin, you can use app permission policies to allow or block apps for your users. Learn more about the app permission policies at /microsoftteams/teams-app-permission-policies and about app centric management at /microsoftteams/app-centric-management.

Grant-CsTeamsAppSetupPolicy

NOTE: You can use this cmdlet to assign a specific custom policy to a user. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

Grant-CsTeamsAudioConferencingPolicy

Assigns a Teams audio-conferencing policy at the per-user scope. Audio conferencing policies are used to manage audio conferencing toll- and toll-free numbers to be displayed in meeting invites created by users within your organization.

Grant-CsTeamsCallHoldPolicy

Assigns a per-user Teams call hold policy to one or more users. The Teams call hold policy is used to customize the call hold experience for Teams clients.

Grant-CsTeamsCallingPolicy

Assigns a specific Teams Calling Policy to a user, a group of users, or sets the Global policy instance.

Grant-CsTeamsCallParkPolicy

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different Teams phone. The Grant-CsTeamsCallParkPolicy cmdlet lets you assign a custom policy to a specific user.

NOTE: the call park feature currently only available in desktop, web clients and mobile clients. Call Park functionality is currently on the roadmap for Teams IP Phones. Supported with TeamsOnly mode for users with the Phone System license

Grant-CsTeamsChannelsPolicy

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application.

Grant-CsTeamsComplianceRecordingPolicy

Assigns a per-user Teams recording policy to one or more users. This policy is used to govern automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Grant-CsTeamsCortanaPolicy

The CsTeamsCortanaPolicy cmdlets enable administrators to control settings for Cortana voice assistant in Microsoft Teams.

Grant-CsTeamsEmergencyCallingPolicy

This cmdlet assigns a Teams Emergency Calling policy.

Grant-CsTeamsEmergencyCallRoutingPolicy

This cmdlet assigns a Teams Emergency Call Routing policy.

Grant-CsTeamsEnhancedEncryptionPolicy

Cmdlet to assign a specific Teams enhanced encryption Policy to a user.

Grant-CsTeamsEventsPolicy

Assigns Teams Events policy to a user, group of users, or the entire tenant. Note that this policy is currently still in preview.

Grant-CsTeamsFeedbackPolicy

Use this cmdlet to grant a specific Teams Feedback policy to a user (the ability to send feedback about Teams to Microsoft and whether they receive the survey).

Grant-CsTeamsFilesPolicy

Assigns an online teams files policy to a user account, to a group of users, or set the tenant Global instance. Online teams files policies manage usages of files-related features.

Grant-CsTeamsIPPhonePolicy

Use the Grant-CsTeamsIPPhonePolicy cmdlet to assign a set of Teams phone policies to a user account or group of user accounts. Teams phone policies determine the features that are available to users of Teams phones. For example, you might enable the hot desking feature for some users while disabling it for others.

Grant-CsTeamsMediaConnectivityPolicy

This cmdlet applies an instance of the Teams media connectivity policy to users or groups in a tenant.

Grant-CsTeamsMediaLoggingPolicy

Assigns Teams Media Logging policy to a user or entire tenant.

Grant-CsTeamsMeetingBrandingPolicy

Assigns a teams meeting branding policy at the per-user scope. The CsTeamsMeetingBrandingPolicy cmdlet enables administrators to control the appearance in meetings by defining custom backgrounds, logos, and colors.

Grant-CsTeamsMeetingBroadcastPolicy

Grant-CsTeamsMeetingBroadcastPolicy [[-Identity] <UserIdParameter>] [-PolicyName] <string> [-Tenant <guid>] [-DomainController <Fqdn>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Grant-CsTeamsMeetingBroadcastPolicy [-PolicyName] <string> [-Tenant <guid>] [-DomainController <Fqdn>] [-PassThru] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]

Grant-CsTeamsMeetingPolicy

Assigns a teams meeting policy at the per-user scope. The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users

Grant-CsTeamsMeetingTemplatePermissionPolicy

This cmdlet applies an instance of the TeamsMeetingTemplatePermissionPolicy to users or groups in a tenant.

Grant-CsTeamsMessagingPolicy

Assigns a teams messaging policy at the per-user scope. Teams messaging policies determine the features and capabilities that can be used in messaging within the teams client.

Grant-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

Grant-CsTeamsRecordingRollOutPolicy

The CsTeamsRecordingRollOutPolicy controls roll out of the change that governs the storage for meeting recordings.

Grant-CsTeamsRoomVideoTeleConferencingPolicy

Assigns a TeamsRoomVideoTeleConferencingPolicy to a Teams Room Alias on a per-room or per-Group basis.

Grant-CsTeamsSharedCallingRoutingPolicy

Assigns a specific Teams shared calling routing policy to a user, a group of users, or sets the Global policy instance.

Grant-CsTeamsShiftsPolicy

This cmdlet supports applying the TeamsShiftsPolicy to users in a tenant.

Grant-CsTeamsSurvivableBranchAppliancePolicy

The Survivable Branch Appliance (SBA) Policy cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Grant-CsTeamsUpdateManagementPolicy

Use this cmdlet to grant a specific Teams Update Management policy to a user.

Grant-CsTeamsUpgradePolicy

TeamsUpgradePolicy allows administrators to manage the transition from Skype for Business to Teams.

Grant-CsTeamsVdiPolicy

Assigns a teams Vdi policy at the per-user scope. The CsTeamsVdiPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting specifically on an unoptimized VDI environment. It also controls whether a user can be in VDI 2.0 optimization mode.

Grant-CsTeamsVideoInteropServicePolicy

Cloud Video Interop for Teams enables 3rd party VTC devices to be able to join Teams meetings. You can use the TeamsVideoInteropServicePolicy cmdlets to enable Cloud Video Interop for particular users or for your entire organization.

Grant-CsTeamsVirtualAppointmentsPolicy

This cmdlet applies an instance of the TeamsVirtualAppointmentsPolicy to users or groups in a tenant.

Grant-CsTeamsVoiceApplicationsPolicy

Assigns a per-user Teams voice applications policy to one or more users. TeamsVoiceApplications policy governs what permissions the supervisors/users have over auto attendants and call queues.

Grant-CsTeamsWorkLocationDetectionPolicy

This cmdlet applies an instance of the TeamsWorkLocationDetectionPolicy to users or groups in a tenant.

Grant-CsTenantDialPlan

Use the Grant-CsTenantDialPlan cmdlet to assign an existing tenant dial plan to a user, to a group of users, or to set the Global policy instance.

Grant-CsUserPolicyPackage

This cmdlet supports applying a policy package to users in a tenant. Note that there is a limit of 20 users you can apply the package to at a time. To apply a policy package to a larger number of users, consider using New-CsBatchPolicyPackageAssignmentOperation.

Import-CsAutoAttendantHolidays

Use Import-CsAutoAttendantHolidays cmdlet to import holiday schedules of an existing Auto Attendant (AA) that were previously exported using the Export-CsAutoAttendantHolidays cmdlet.

Import-CsOnlineAudioFile

Use the Import-CsOnlineAudioFile cmdlet to upload a new audio file.

New-CsApplicationAccessPolicy

Creates a new application access policy. Application access policy contains a list of application (client) IDs. When granted to a user, those applications will be authorized to access online meetings on behalf of that user.

New-CsAutoAttendant

Use the New-CsAutoAttendant cmdlet to create a new Auto Attendant (AA).

New-CsAutoAttendantCallableEntity

The New-CsAutoAttendantCallableEntity cmdlet lets you create a callable entity.

New-CsAutoAttendantCallFlow

Use the New-CsAutoAttendantCallFlow cmdlet to create a new call flow.

New-CsAutoAttendantCallHandlingAssociation

Use the New-CsAutoAttendantCallHandlingAssociation cmdlet to create a new call handling association.

New-CsAutoAttendantDialScope

Use New-CsAutoAttendantDialScope cmdlet to create dial-scopes for use with Auto Attendant (AA) service.

New-CsAutoAttendantMenu

The New-CsAutoAttendantMenu cmdlet creates a new menu.

New-CsAutoAttendantMenuOption

Use the New-CsAutoAttendantMenuOption cmdlet to create a new menu option.

New-CsAutoAttendantPrompt

Use the New-CsAutoAttendantPrompt cmdlet to create a new prompt.

New-CsBatchPolicyAssignmentOperation

This cmdlet is used to assign or unassign a policy to a batch of users.

New-CsBatchPolicyPackageAssignmentOperation

This cmdlet submits an operation that applies a policy package to a batch of users in a tenant. A batch may contain up to 5000 users.

New-CsBatchTeamsDeployment

This cmdlet is used to run a batch deployment orchestration.

New-CsCallingLineIdentity

Use the New-CsCallingLineIdentity cmdlet to create a new Caller ID policy for your organization.

New-CsCallQueue

Creates new Call Queue in your Skype for Business Online organization.

New-CsCloudCallDataConnection

This cmdlet creates an online call data connection.

New-CsCustomPolicyPackage

Note: This cmdlet is currently in private preview.

This cmdlet creates a custom policy package.

New-CsEdgeAllowAllKnownDomains

Enables Skype for Business Online federation with all domains except for those domains included on the blocked domains list.

New-CsEdgeAllowList

Enables administrators to specify the domains that their users will be allowed to communicate with. The New-CsEdgeAllowList cmdlet, which can be used only with Skype for Business Online, must be used in conjunction with the New-CsEdgeDomainPattern cmdlet and the Set-CsTenantFederationConfiguration cmdlet.

New-CsEdgeDomainPattern

Used to specify a domain that will be added or removed from the set of domains enabled for federation or the set of domains disabled for federation. You must use the New-CsEdgeDomainPattern cmdlet when modifying the allowed or blocked domain lists. String values (such as "fabrikam.com") cannot be directly passed to the cmdlets used to manage either of these lists.

New-CsExternalAccessPolicy

Enables you to create a new external access policy.

External access policies determine whether or not your users can: 1) communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) communicate with users who are using custom applications built with Azure Communication Services; 3) access Skype for Business Server over the Internet, without having to log on to your internal network; 4) communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Skype; and, 5) communicate with people who are using Teams with an account that's not managed by an organization.

This cmdlet was introduced in Lync Server 2010.

For information about external access in Microsoft Teams, see Manage external access in Microsoft Teams and Teams and Skype interoperability for specific details.

New-CsGroupPolicyAssignment

This cmdlet is used to assign a policy to a security group or distribution list.

New-CsHybridTelephoneNumber

This cmdlet adds a hybrid telephone number to the tenant.

New-CsInboundBlockedNumberPattern

Adds a blocked number pattern to the tenant list.

New-CsInboundExemptNumberPattern

This cmdlet lets you configure a new number pattern that is exempt from tenant call blocking.

New-CsOnlineApplicationInstance

Creates an application instance in Microsoft Entra ID.

New-CsOnlineApplicationInstanceAssociation

Use the New-CsOnlineApplicationInstanceAssociation cmdlet to associate either a single or multiple application instances with an application configuration, like auto attendant or call queue.

New-CsOnlineDateTimeRange

Use the New-CsOnlineDateTimeRange cmdlet to create a new date-time range.

New-CsOnlineDirectRoutingTelephoneNumberUploadOrder

This cmdlet creates a request to upload Direct Routing telephone numbers to Microsoft Teams telephone number management inventory.

New-CsOnlineLisCivicAddress

Use the New-CsOnlineLisCivicAddress cmdlet to create a civic address in the Location Information Service (LIS).

New-CsOnlineLisLocation

Use the New-CsOnlineLisLocation cmdlet to create a new emergency dispatch location within an existing civic address. Typically the civic address designates the building, and locations are specific parts of that building such as a floor, office, or wing.

New-CsOnlinePSTNGateway

Creates a new Session Border Controller (SBC) Configuration that describes the settings for the peer entity. This cmdlet was introduced with Microsoft Phone System Direct Routing.

New-CsOnlineSchedule

Use the New-CsOnlineSchedule cmdlet to create a new schedule.

New-CsOnlineTelephoneNumberOrder

Use the New-CsOnlineTelephoneNumberOrder cmdlet to create a telephone number search order. The telephone numbers can then be used to set up calling features for users and services in your organization.

New-CsOnlineTelephoneNumberReleaseOrder

This cmdlet creates a request to release Direct Routing telephone numbers from Microsoft Teams telephone number management inventory.

New-CsOnlineTimeRange

The New-CsOnlineTimeRange cmdlet creates a new time range.

New-CsOnlineVoicemailPolicy

Creates a new Online Voicemail policy. Online Voicemail policies determine whether or not voicemail transcription, profanity masking for the voicemail transcriptions, translation for the voicemail transcriptions, and editing call answer rule settings are enabled for a user. The policies also specify voicemail maximum recording length for a user and the primary and secondary voicemail system prompt languages.

New-CsOnlineVoiceRoute

Creates a new online voice route. Online voice routes contain instructions that tell Skype for Business Online how to route calls from Office 365 users to phone numbers on the public switched telephone network (PSTN) or a private branch exchange (PBX).

New-CsOnlineVoiceRoutingPolicy

Creates a new online voice routing policy. Online voice routing policies manage online PSTN usages for Phone System users.

New-CsSdgBulkSignInRequest

Use the New-CsSdgBulkSignInRequest cmdlet to sign in a batch of up to 100 devices.

New-CsTeamsAIPolicy

This cmdlet creates a Teams AI policy.

New-CsTeamsAppPermissionPolicy

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app permission polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience. This cmdlet is not supported for tenants that migrated to app centric management feature as it replaced permission policies. While the cmdlet may succeed, the changes aren't applied to the tenant.

As an admin, you can use app permission policies to allow or block apps for your users. Learn more about the app permission policies at /microsoftteams/teams-app-permission-policies and about app centric management at /microsoftteams/app-centric-management.

New-CsTeamsAppSetupPolicy

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

New-CsTeamsAudioConferencingPolicy
New-CsTeamsCallHoldPolicy

Creates a new Teams call hold policy in your tenant. The Teams call hold policy is used to customize the call hold experience for Teams clients.

New-CsTeamsCallingPolicy

Use this cmdlet to create a new instance of a Teams Calling Policy.

New-CsTeamsCallParkPolicy

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different Teams phone. The New-CsTeamsCallParkPolicy cmdlet lets you create a new custom policy that can then be assigned to one or more specific users.

NOTE: The call park feature currently available in desktop. mobile and web clients. Supported with TeamsOnly mode.

New-CsTeamsChannelsPolicy

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application.

New-CsTeamsComplianceRecordingApplication

Creates a new association between an application instance of a policy-based recording application and a Teams recording policy for administering automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

New-CsTeamsComplianceRecordingPairedApplication

Creates a new association between multiple application instances of policy-based recording applications to achieve application resiliency in automatic policy-based recording scenarios. Automatic policy-based recording is only applicable to Microsoft Teams users.

New-CsTeamsComplianceRecordingPolicy

Creates a new Teams recording policy for governing automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

New-CsTeamsCortanaPolicy

The CsTeamsCortanaPolicy cmdlets enable administrators to control settings for Cortana voice assistant in Microsoft Teams.

New-CsTeamsEmergencyCallingExtendedNotification
New-CsTeamsEmergencyCallingPolicy
New-CsTeamsEmergencyCallRoutingPolicy

This cmdlet creates a new Teams Emergency Call Routing policy with one or more emergency number.

New-CsTeamsEmergencyNumber
New-CsTeamsEnhancedEncryptionPolicy

Use this cmdlet to create a new Teams enhanced encryption policy.

New-CsTeamsEventsPolicy

This cmdlet allows you to create a new TeamsEventsPolicy instance and set its properties. Note that this policy is currently still in preview.

New-CsTeamsFeedbackPolicy

Use this cmdlet to control whether users in your organization can send feedback about Teams to Microsoft through Give feedback and whether they receive the survey.

New-CsTeamsFilesPolicy

Creates a new teams files policy. teams files policies determine whether or not files entry points to sharepoint enabled for a user. The policies also specify third party app id to allow file storage(eg. Box).

New-CsTeamsHiddenMeetingTemplate

This cmdlet is used to create a HiddenMeetingTemplate object for use with the New-CsTeamsMeetingTemplatePermissionPolicy and Set-CsTeamsMeetingTemplatePermissionPolicy cmdlets.

New-CsTeamsHiddenTemplate

This cmdlet is used to create a HiddenTemplate object for use with the New-CsTeamsTemplatePermissionPolicy and Set-CsTeamsTemplatePermissionPolicy cmdlets.

New-CsTeamsIPPhonePolicy

New-CsTeamsIPPhonePolicy allows you to create a policy to manage features related to Teams phone experiences. Teams phone policies determine the features that are available to users.

New-CsTeamsMediaConnectivityPolicy

This cmdlet creates a Teams media connectivity policy.

New-CsTeamsMeetingBrandingPolicy

The CsTeamsMeetingBrandingPolicy cmdlet enables administrators to control the appearance in meetings by defining custom backgrounds, logos, and colors.

New-CsTeamsMeetingBroadcastPolicy

New-CsTeamsMeetingBroadcastPolicy [-Identity] <XdsIdentity> [-Tenant <guid>] [-Description <string>] [-AllowBroadcastScheduling <bool>] [-AllowBroadcastTranscription <bool>] [-BroadcastAttendeeVisibilityMode <string>] [-BroadcastRecordingMode <string>] [-InMemory] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

New-CsTeamsMeetingPolicy

The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users.

New-CsTeamsMeetingTemplatePermissionPolicy

Creates a new instance of the TeamsMeetingTemplatePermissionPolicy.

New-CsTeamsMessagingPolicy

The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. These also help determine the type of messages users can create and modify.

New-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

New-CsTeamsNetworkRoamingPolicy

New-CsTeamsNetworkRoamingPolicy allows IT Admins to create policies for Network Roaming and Bandwidth Control experiences in Microsoft Teams.

New-CsTeamsPinnedApp

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

New-CsTeamsRecordingRollOutPolicy

The CsTeamsRecordingRollOutPolicy controls roll out of the change that governs the storage for meeting recordings.

New-CsTeamsRoomVideoTeleConferencingPolicy

Creates a new TeamsRoomVideoTeleConferencingPolicy.

New-CsTeamsSharedCallingRoutingPolicy

Use the New-CsTeamsSharedCallingRoutingPolicy cmdlet to configure a shared calling routing policy.

New-CsTeamsShiftsConnection

This cmdlet creates a new workforce management (WFM) connection.

New-CsTeamsShiftsConnectionBatchTeamMap

This cmdlet submits an operation connecting multiple Microsoft Teams teams and Workforce management (WFM) teams.

New-CsTeamsShiftsConnectionInstance

This cmdlet creates a Shifts connection instance.

New-CsTeamsShiftsPolicy

This cmdlet allows you to create a new TeamsShiftPolicy instance and set it's properties.

New-CsTeamsSurvivableBranchAppliance

The Survivable Branch Appliance (SBA) cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

New-CsTeamsSurvivableBranchAppliancePolicy

The Survivable Branch Appliance (SBA) cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

New-CsTeamsTemplatePermissionPolicy

Creates a new instance of the TeamsTemplatePermissionPolicy.

New-CsTeamsTranslationRule

Cmdlet to create a new telephone number manipulation rule.

New-CsTeamsUnassignedNumberTreatment

Creates a new treatment for how calls to an unassigned number range should be routed. The call can be routed to a user, an application or to an announcement service where a custom message will be played to the caller.

New-CsTeamsUpdateManagementPolicy

Use this cmdlet to create Teams Update Management policy.

New-CsTeamsVdiPolicy

The CsTeamsVdiPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting specifically on an unoptimized VDI environment. It also controls whether a user can be in VDI 2.0 optimization mode.

New-CsTeamsVirtualAppointmentsPolicy

This cmdlet is used to create a new instance of the TeamsVirtualAppointmentsPolicy.

New-CsTeamsVoiceApplicationsPolicy

Creates a new Teams voice applications policy. TeamsVoiceApplications policy governs what permissions the supervisors/users have over auto attendants and call queues.

New-CsTeamsWorkLocationDetectionPolicy

This cmdlet is used to create a new instance of the TeamsWorkLocationDetectionPolicy. The end user experience utilizing this policy has rolled out to the general public. You can see updates at Microsoft 365 Roadmap | Microsoft 365 and to learn more on how to enable the end user experience, please see Setting up Bookable Desks in Microsoft Teams - Microsoft Teams | Microsoft Learn.

New-CsTeamTemplate

This cmdlet lets you provision a new team template for use in Microsoft Teams. To learn more about team templates, see Get started with Teams templates in the admin center.

NOTE: The response is a PowerShell object formatted as a JSON for readability. Please refer to the examples for suggested interaction flows for template management.

New-CsTenantDialPlan

Use the New-CsTenantDialPlan cmdlet to create a new tenant dial plan.

New-CsTenantNetworkRegion

As an admin, you can use the Teams PowerShell command, New-CsTenantNetworkRegion to define network regions. A network region interconnects various parts of a network across multiple geographic areas. The RegionID parameter is a logical name that represents the geography of the region and has no dependencies or restrictions. The organization's network region is used for Location-Based Routing.

New-CsTenantNetworkSite

As an admin, you can use the Teams PowerShell command, New-CsTenantNetworkSite to define network sites. Network sites are defined as a collection of IP subnets. Each network site must be associated with a network region. The organization's network site is used for Location-Based Routing.

New-CsTenantNetworkSubnet

As an Admin, you can use the Windows PowerShell command, New-CsTenantNetworkSubnet to define network subnets and assign them to network sites. Each internal subnet may only be associated with one site. Tenant network subnet is used for Location Based Routing.

New-CsTenantTrustedIPAddress

As an Admin, you can use the Windows PowerShell command, New-CsTenantTrustedIPAddress to define external subnets and assign them to the tenant. You can define an unlimited number of external subnets for a tenant.

New-CsUserCallingDelegate

This cmdlet will add a new delegate for calling in Microsoft Teams.

New-CsVideoInteropServiceProvider

Cloud Video Interop for Teams enables 3rd party VTC devices to be able to join Teams meetings. The CsVideoInteropServiceProvider cmdlets allow you to designate provider/tenant specific information about the connection to the provider.

New-CsVoiceNormalizationRule

Creates a new voice normalization rule.

Voice normalization rules are used to convert a telephone dialing requirement (for example, dialing 9 to access an outside line) to the E.164 phone number format used by Skype for Business Server or Microsoft Teams.

This cmdlet was introduced in Lync Server 2010.

New-Team

This cmdlet lets you provision a new Team for use in Microsoft Teams and will create an O365 Unified Group to back the team. Groups created through teams cmdlets, APIs, or clients will not show up in Outlook by default.

If you want these groups to appear in Outlook clients, you can use the Set-UnifiedGroup cmdlet in the Exchange Powershell Module to disable the switch parameter HiddenFromExchangeClientsEnabled (-HiddenFromExchangeClientsEnabled:$false).

Note: The Teams application may need to be open by an Owner for up to two hours before changes are reflected.

New-TeamChannel

Add a new channel to a team.

New-TeamsApp

Creates a new app in the Teams tenant app store.

Register-CsOnlineDialInConferencingServiceNumber

When you buy Audio Conferencing licenses, Microsoft is hosting your audio conferencing bridge for your organization. The audio conferencing bridge gives out dial-in phone numbers from different locations so that meeting organizers and participants can use them to join Microsoft Teams meetings using a phone. In addition to the phone numbers already assigned to your conferencing bridge, you can get additional service numbers (toll and toll-free numbers used for audio conferencing) from other locations, and then assign them to the conferencing bridge so you can expand coverage for your users. The Register-CsOnlineDialInConferencingServiceNumber command allows you to assign any additional service number that you may have acquired to your conference bridge.

Remove-CsApplicationAccessPolicy

Deletes an existing application access policy.

Remove-CsAutoAttendant

Use the Remove-CsAutoAttendant cmdlet to delete an Auto Attendant (AA).

Note

Remove any associated resource accounts with Remove-CsOnlineApplicationInstanceAssociation before attempting to delete the Auto Attendant (AA).

Remove-CsCallingLineIdentity

Use the Remove-CsCallingLineIdentity cmdlet to remove a Caller ID policy from your organization.

Remove-CsCallQueue

The Remove-CsCallQueue cmdlet deletes an existing Call Queue.

Remove-CsCustomPolicyPackage

This cmdlet deletes a custom policy package.

Remove-CsExternalAccessPolicy

Enables you to remove an existing external access policy. External access policies determine whether or not your users can: 1) Communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) Communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Windows Live; 3) Communicate with users who are using custom applications built with Azure Communication Services (ACS) and 4) Access Skype for Business Server over the Internet, without having to log on to your internal network. This cmdlet was introduced in Lync Server 2010.

Remove-CsGroupPolicyAssignment

This cmdlet is used to remove a group policy assignment.

Remove-CsHybridTelephoneNumber

This cmdlet removes a hybrid telephone number.

Remove-CsInboundBlockedNumberPattern

Removes a blocked number pattern from the tenant list.

Remove-CsInboundExemptNumberPattern

Removes a number pattern exempt from call blocking.

Remove-CsOnlineApplicationInstanceAssociation

Use the Remove-CsOnlineApplicationInstanceAssociation cmdlet to remove the association between an application instance and the associated application configuration.

Remove-CsOnlineAudioFile

Marks an audio file of application type TenantGlobal for deletion and later removal (within 24 hours).

Remove-CsOnlineDialInConferencingTenantSettings

Use the Remove-CsOnlineDialInConferencingTenantSettings cmdlet to revert the tenant level dial-in conferencing settings to their original defaults.

Remove-CsOnlineLisCivicAddress

Use the Remove-CsOnlineLisCivicAddress cmdlet to delete an existing civic address from the Location Information Server (LIS).

You can't remove a civic address if any of its associated locations are assigned to users or phone numbers.

Remove-CsOnlineLisLocation

Use the Remove-CsOnlineLisLocation cmdlet to remove an existing emergency location from the Location Information Service (LIS).

You can only remove locations that have no assigned users or phone numbers. You can't remove the default location, you will have to delete the associated civic address which will delete the default location.

Remove-CsOnlineLisPort

Removes an association between a Location port and a location. This association is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Remove-CsOnlineLisSubnet

Removes a Location Information Server (LIS) subnet.

Remove-CsOnlineLisSwitch

Removes a Location Information Server (LIS) network switch.

Remove-CsOnlineLisWirelessAccessPoint

Removes a Location Information Server (LIS) wireless access point (WAP).

Remove-CsOnlinePSTNGateway

Removes the configuration of the previously defined Session Border Controller(s) (SBC(s)) that describes the settings for the peer entity. This cmdlet was introduced with Microsoft Phone System Direct Routing.

Remove-CsOnlineSchedule

Use the Remove-CsOnlineSchedule cmdlet to remove a schedule.

Remove-CsOnlineTelephoneNumber

Use the Remove-CsOnlineTelephoneNumber cmdlet to remove one or more unassigned telephone numbers from your tenant.

Remove-CsOnlineVoicemailPolicy

Deletes an existing Online Voicemail policy or resets the Global policy instance to the default values.

Remove-CsOnlineVoiceRoute

Removes an online voice route. Online voice routes contain instructions that tell Skype for Business Online how to route calls from Office 365 users to phone numbers on the public switched telephone network (PSTN) or a private branch exchange (PBX).

Remove-CsOnlineVoiceRoutingPolicy

Deletes an existing online voice routing policy. Online voice routing policies manage online PSTN usages for Phone System users.

Remove-CsPhoneNumberAssignment

This cmdlet will remove/unassign a phone number from a user or a resource account (online application instance).

Remove-CsTeamsAIPolicy

This cmdlet deletes a Teams AI policy.

Remove-CsTeamsAppPermissionPolicy

NOTE: You can use this cmdlet to remove a specific custom policy from a user. We require that all creation and modification of app permission polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience. This cmdlet is not supported for tenants that migrated to app centric management feature as it replaced permission policies. While the cmdlet may succeed, the changes aren't applied to the tenant.

As an admin, you can use app permission policies to allow or block apps for your users. Learn more about the app permission policies at /microsoftteams/teams-app-permission-policies and about app centric management at /microsoftteams/app-centric-management.

This cmdlet allows you to remove app permission policies that have been created within your organization. If you run Remove-CsTeamsAppPermissionPolicy on the Global policy, it will be reset to the defaults provided for new organizations.

Remove-CsTeamsAppSetupPolicy

NOTE: You can use this cmdlet to remove custom app setup policies. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

If you run Remove-CsTeamsAppSetupPolicy on the Global policy, it will be reset to the defaults provided for new organizations.

Remove-CsTeamsAudioConferencingPolicy

Deletes a custom Teams audio conferencing policy. Audio conferencing policies are used to manage audio conferencing toll- and toll-free numbers to be displayed in meeting invites created by users within your organization.

Remove-CsTeamsCallHoldPolicy

Deletes an existing Teams call hold policy in your tenant. The Teams call hold policy is used to customize the call hold experience for Teams clients.

Remove-CsTeamsCallingPolicy
Remove-CsTeamsCallParkPolicy

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different Teams phone. The Remove-CsTeamsCallParkPolicy cmdlet lets delete a custom policy that has been configured in your organization.

Remove-CsTeamsChannelsPolicy

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application.

Remove-CsTeamsComplianceRecordingApplication

Deletes an existing association between an application instance of a policy-based recording application and a Teams recording policy for administering automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Remove-CsTeamsComplianceRecordingPolicy

Deletes an existing Teams recording policy that is used to govern automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Remove-CsTeamsCortanaPolicy

The CsTeamsCortanaPolicy cmdlets enable administrators to control settings for Cortana voice assistant in Microsoft Teams.

Remove-CsTeamsEmergencyCallingPolicy
Remove-CsTeamsEmergencyCallRoutingPolicy

This cmdlet removes an existing Teams Emergency Call Routing policy instance.

Remove-CsTeamsEnhancedEncryptionPolicy

Use this cmdlet to remove an existing Teams enhanced encryption policy.

Remove-CsTeamsEventsPolicy

The CsTeamsEventsPolicy cmdlets removes a previously created TeamsEventsPolicy. Note that this policy is currently still in preview.

Remove-CsTeamsFeedbackPolicy

Use this cmdlet to remove a Teams Feedback policy from the Tenant.

Remove-CsTeamsFilesPolicy

Deletes an existing teams files policy or resets the Global policy instance to the default values.

Remove-CsTeamsIPPhonePolicy

Use the Remove-CsTeamsIPPhonePolicy cmdlet to remove a custom policy that's been created for controlling Teams phone experiences.

Remove-CsTeamsMediaConnectivityPolicy

This cmdlet deletes a Teams media connectivity policy.

Remove-CsTeamsMeetingBrandingPolicy

The CsTeamsMeetingBrandingPolicy cmdlet enables administrators to control the appearance in meetings by defining custom backgrounds, logos, and colors.

Remove-CsTeamsMeetingBroadcastPolicy

Remove-CsTeamsMeetingBroadcastPolicy [-Identity] <XdsIdentity> [-Tenant <guid>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-CsTeamsMeetingPolicy

The CsTeamsMeetingPolicy cmdlets removes a previously created TeamsMeetingPolicy.

Remove-CsTeamsMeetingTemplatePermissionPolicy

Deletes an instance of TeamsMeetingTemplatePermissionPolicy.

Remove-CsTeamsMessagingPolicy

Deletes a custom messaging policy. Teams messaging policies determine the features and capabilities that can be used in messaging within the teams client.

Remove-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

Remove-CsTeamsNetworkRoamingPolicy

Remove-CsTeamsNetworkRoamingPolicy allows IT Admins to delete policies for Network Roaming and Bandwidth Control experiences in Microsoft Teams.

Remove-CsTeamsNotificationAndFeedsPolicy

Deletes an existing Teams Notification and Feeds Policy

Remove-CsTeamsPinnedApp

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

Remove-CsTeamsRecordingRollOutPolicy

The CsTeamsRecordingRollOutPolicy controls roll out of the change that governs the storage for meeting recordings.

Remove-CsTeamsRoomVideoTeleConferencingPolicy

Deletes an existing TeamsRoomVideoTeleConferencingPolicy.

Remove-CsTeamsSharedCallingRoutingPolicy

Deletes an existing Teams shared calling routing policy instance.

Remove-CsTeamsShiftsConnection

This cmdlet deletes a Shifts connection.

Remove-CsTeamsShiftsConnectionInstance

This cmdlet deletes a Shifts connection instance.

Remove-CsTeamsShiftsConnectionTeamMap

This cmdlet removes the mapping between the Microsoft Teams team and workforce management (WFM) team.

Remove-CsTeamsShiftsPolicy

The Remove-CsTeamsShiftsPolicy cmdlet removes a previously created TeamsShiftsPolicy.

Note: A TeamsShiftsPolicy needs to be unassigned from all the users before it can be deleted.

Remove-CsTeamsShiftsScheduleRecord

This cmdlet enqueues the clear schedule message.

Remove-CsTeamsSurvivableBranchAppliance

The Survivable Branch Appliance (SBA) cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Remove-CsTeamsSurvivableBranchAppliancePolicy

The Survivable Branch Appliance (SBA) Policy cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Remove-CsTeamsTemplatePermissionPolicy

Deletes an instance of TeamsTemplatePermissionPolicy.

Remove-CsTeamsTranslationRule

Cmdlet to remove an existing number manipulation rule (or list of rules).

Remove-CsTeamsUnassignedNumberTreatment

Removes a treatment for how calls to an unassigned number range should be routed.

Remove-CsTeamsUpdateManagementPolicy

Use this cmdlet to remove a Teams Update Management policy from the tenant.

Remove-CsTeamsVdiPolicy

This CsTeamsVdiPolicy cmdlets removes a previously created TeamsVdiPolicy.

Remove-CsTeamsVirtualAppointmentsPolicy

This cmdlet is used to delete an instance of TeamsVirtualAppointmentsPolicy.

Remove-CsTeamsVoiceApplicationsPolicy

Deletes an existing Teams voice applications policy.

Remove-CsTeamsWorkLocationDetectionPolicy

This cmdlet is used to delete an instance of TeamsWorkLocationDetectionPolicy.

Remove-CsTeamTemplate

This cmdlet deletes a specified Team Template from Microsoft Teams.

Remove-CsTenantDialPlan

Use the Remove-CsTenantDialPlan cmdlet to remove a tenant dial plan.

Remove-CsTenantNetworkRegion

Use the Remove-CsTenantNetworkRegion cmdlet to remove a tenant network region.

Remove-CsTenantNetworkSite

Use the Remove-CsTenantNetworkSite cmdlet to remove a tenant network site.

Remove-CsTenantNetworkSubnet

Use the Remove-CsTenantNetworkSubnet cmdlet to remove a tenant network subnet.

Remove-CsTenantTrustedIPAddress

Use the Remove-CsTenantTrustedIPAddress cmdlet to remove a tenant trusted IP address.

Remove-CsUserCallingDelegate

This cmdlet will remove a delegate for calling in Microsoft Teams.

Remove-CsUserLicenseGracePeriod

The CsUserLicenseGracePeriod cmdlet expedites the delicensing operation for the assigned plan(s) of a user/resource account by removing the grace period, permanently deleting the assigned plan(s). Note that this cmdlet is to be used only by tenants with license resiliency enabled. (License resiliency is currently under private preview and not available for everyone.)

Remove-CsVideoInteropServiceProvider

Cloud Video Interop for Teams enables 3rd party VTC devices to be able to join Teams meetings. The CsVideoInteropServiceProvider cmdlets allow you to designate provider/tenant specific information about the connection to the provider.

Remove-SharedWithTeam

This cmdlet supports unsharing a channel with a team.

Remove-Team

This cmdlet deletes a specified Team from Microsoft Teams.

NOTE: The associated Office 365 Unified Group will also be removed.

Remove-TeamChannel

Delete a channel. This will not delete content in associated tabs.

Note: The channel will be "soft deleted", meaning the contents are not permanently deleted for a time. So a subsequent call to Add-TeamChannel using the same channel name will fail if enough time has not passed.

Remove-TeamChannelUser

Note: the command will return immediately, but the Teams application will not reflect the update immediately, please refresh the members page to see the update.

To turn an existing Owner into a Member, specify role parameter as Owner.

Note: last owner cannot be removed from the private channel.

Remove-TeamsApp

Removes an app in the Teams tenant app store.

Remove-TeamsAppInstallation

Removes a Teams App installed in Microsoft Teams.

Remove-TeamTargetingHierarchy

Removes the tenant's hierarchy.

Remove-TeamUser

Remove an owner or member from a team, and from the unified group which backs the team.

Note: the command will return immediately, but the Teams application will not reflect the update immediately. The Teams application may need to be open for up to an hour before changes are reflected.

Note: last owner cannot be removed from the team.

Set-CsApplicationAccessPolicy

Modifies an existing application access policy.

Set-CsApplicationMeetingConfiguration

Modifies an existing application meeting configuration for the tenant.

Set-CsAutoAttendant

Use the Set-CsAutoAttendant cmdlet to modify the properties of an existing Auto Attendant (AA).

Set-CsCallingLineIdentity

Use the Set-CsCallingLineIdentity cmdlet to modify a Caller ID policy in your organization.

Set-CsCallQueue

Updates a Call Queue in your Skype for Business Online or Teams organization.

Set-CsExternalAccessPolicy

Enables you to modify the properties of an existing external access policy. External access policies determine whether or not your users can: 1) communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) communicate with users who are using custom applications built with Azure Communication Services; 3) access Skype for Business Server over the Internet, without having to log on to your internal network; 4) communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Skype; and, 5) communicate with people who are using Teams with an account that's not managed by an organization.

This cmdlet was introduced in Lync Server 2010.

Set-CsGroupPolicyAssignment

Note

The cmdlet Set-CsGroupPolicyAssignment is not yet available. In the meantime, to change a group policy assignment you can first remove the current policy assignment from the group and then add a new policy assignment.

Set-CsInboundBlockedNumberPattern

Modifies one or more parameters of a blocked number pattern in the tenant list.

Set-CsInboundExemptNumberPattern

Modifies one or more parameters of an exempt number pattern in the tenant list.

Set-CsOnlineApplicationInstance

Updates an application instance in Microsoft Entra ID.

Note: The use of this cmdlet for assigning phone numbers in commercial and GCC cloud instances has been deprecated. Use the new Set-CsPhoneNumberAssignment and Remove-CsPhoneNumberAssignment cmdlets instead.

Set-CsOnlineDialInConferencingBridge

Use the Set-CsOnlineDialInConferencingBridge cmdlet to modify the settings of a Microsoft audio conferencing bridge.

Set-CsOnlineDialInConferencingServiceNumber

Use the Set-CsOnlineDialInConferencingServiceNumber cmdlet to modify the properties of a dial-in or audio conferencing service number that is used by callers when they dial in to a meeting.

Set-CsOnlineDialInConferencingTenantSettings

Use the Set-CsOnlineDialInConferencingTenantSettings to modify the tenant level settings of dial-in conferencing. Dial-in conferencing tenant settings control the conference experience of users and manage some conferencing administrative functions.

Set-CsOnlineDialInConferencingUser

Note

The AllowPSTNOnlyMeetings, ResetConferenceId, and ConferenceId parameters will be deprecated on Jan 31, 2022. To allow Teams meeting participants joining via the PSTN to bypass the lobby, use the AllowPSTNUsersToBypassLobby of the Set-CsTeamsMeetingPolicy cmdlet. The capabilities associated with the ResetConferenceId and ConferenceId parameters are no longer supported.

Use the Set-CsOnlineDialInConferencingUser cmdlet to modify the properties of a user that has been enabled for Microsoft's audio conferencing service.

Set-CsOnlineDialInConferencingUserDefaultNumber

Replace the default toll or toll-free number for all users.

Important

This command is being deprecated and will not be available after July 7, 2024. If you are using this command to bulk update Audio conferencing Toll or Toll free phone numbers for users in your organization you can do that using the following alternative methods.

  1. Use a custom Teams audio conferencing policy - Audio Conferencing toll-free number policies - Microsoft Teams | Microsoft Learn
  2. Use Set-CsOnlineDialinConferencingUser - Set-CsOnlineDialInConferencingUser (MicrosoftTeamsPowerShell) | Microsoft Learn

If you need assistance in using any of the above methods to achieve what you previously did with the Set-CsOnlineDialInConferencingUserDefaultNumber command, please open a support case with our customer support team.

Set-CsOnlineEnhancedEmergencyServiceDisclaimer

When using Microsoft Teams PSTN Calling Services you need to record your organization's acceptance of the enhanced emergency service terms and conditions. This is done per country/region and it needs to be done before you can provide PSTN calling services to Microsoft Teams users in the country/region.

You can record your organization's acceptance using the Set-CsOnlineEnhancedEmergencyServiceDisclaimer cmdlet at any time. If you haven't accepted it for a given country/region you will be prompted to do so by warning information in the Teams PS Module, when you try to assign a phone number to a Microsoft Teams user, or in the Teams admin center, when you create an emergency address in a country/region.

Any tenant administrator can accept the terms and conditions and it only needs to be done once per country/region.

As the output the cmdlet will show the emergency service disclaimer and that it has been accepted. You can use Get-CsOnlineEnhancedEmergencyServiceDisclaimer to see the status of the emergency service disclaimer.

Set-CsOnlineLisCivicAddress

Use the `Set-CsOnlineLisCivicAddress` cmdlet to modify an existing civic address which has not been validated. Validated civic addresses cannot be modified.

Note

This cmdlet is only available for public use with limited countries and certain fields. The remaining countries and fields are for Microsoft internal use only.

Set-CsOnlineLisLocation

Use the `Set-CsOnlineLisLocation` cmdlet to modify an existing emergency dispatch location. There can be multiple locations in a civic address. Typically the civic address designates the building, and locations are specific parts of that building such as a floor, office, or wing.

Set-CsOnlineLisPort

Creates a Location Information Server (LIS) port, creates an association between a port and a location, or modifies an existing port and its associated location. The association between a port and location is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Set-CsOnlineLisSubnet

Creates a Location Information Server (LIS) subnet, creates an association between a subnet and a location, or modifies an existing subnet and its associated location. The association between a subnet and location is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Set-CsOnlineLisSwitch

Creates a Location Information Server (LIS) switch, creates an association between a switch and a location, or modifies an existing switch and its associated location. The association between a switch and location is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Set-CsOnlineLisWirelessAccessPoint

Creates a Location Information Server (LIS) wireless access point (WAP), creates an association between a WAP and a location, or modifies an existing WAP and its associated location. The association between a WAP and location is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Set-CsOnlinePSTNGateway

Modifies the previously defined Session Border Controller (SBC) Configuration that describes the settings for the peer entity. This cmdlet was introduced with Microsoft Phone System Direct Routing.

Set-CsOnlinePstnUsage

Modifies a set of strings that identify the allowed online public switched telephone network (PSTN) usages. This cmdlet can be used to add usages to the list of online PSTN usages or remove usages from the list.

Set-CsOnlineSchedule

Use the Set-CsOnlineSchedule cmdlet to update a schedule.

Set-CsOnlineVoiceApplicationInstance

The Set-CsOnlineVoiceApplicationInstance modifies an application instance in Microsoft Entra ID.

Note: This cmdlet has been deprecated. Use the new Set-CsPhoneNumberAssignment and Remove-CsPhoneNumberAssignment cmdlets instead.

Set-CsOnlineVoicemailPolicy

Modifies an existing Online Voicemail policy. Online Voicemail policies determine whether or not voicemail transcription, profanity masking for the voicemail transcriptions, translation for the voicemail transcriptions, and editing call answer rule settings are enabled for a user. The policies also specify voicemail maximum recording length for a user and the primary and secondary voicemail system prompt languages.

Set-CsOnlineVoicemailUserSettings

Use the Set-CsOnlineVoicemailUserSettings cmdlet to modify the online voicemail user settings of a specific user. New online voicemail user settings of the user would be returned after executing.

Set-CsOnlineVoiceRoute

Modifies an online voice route. Online voice routes contain instructions that tell Microsoft Teams how to route calls from Microsoft or Office 365 users to phone numbers on the public switched telephone network (PSTN) or a private branch exchange (PBX).

Set-CsOnlineVoiceRoutingPolicy

Modifies an existing online voice routing policy. Online voice routing policies manage online PSTN usages for Phone System users.

Set-CsOnlineVoiceUser

Use the Set-CsOnlineVoiceUser cmdlet to set the PSTN specific parameters (like telephone numbers and emergency response locations.)

Note: This cmdlet has been deprecated. Use the new Set-CsPhoneNumberAssignment and Remove-CsPhoneNumberAssignment cmdlets instead.

Set-CsPhoneNumberAssignment

This cmdlet will assign a phone number to a user or a resource account (online application instance).

Set-CsTeamsAcsFederationConfiguration

Limited Preview: Functionality described in this document is currently in limited preview and only authorized organizations have access. This preview version is provided without a service-level agreement, and is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

This cmdlet is used to manage the federation configuration between Teams and Azure Communication Services. For more information, please see Azure Communication Services and Teams Interoperability.

Set-CsTeamsAIPolicy

This cmdlet Set Teams AI policy value for current tenant.

Set-CsTeamsAppPermissionPolicy

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app permission polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience. This cmdlet is not supported for tenants that migrated to app centric management feature as it replaced permission policies. While the cmdlet may succeed, the changes aren't applied to the tenant.

As an admin, you can use app permission policies to allow or block apps for your users. Learn more about the app permission policies at /microsoftteams/teams-app-permission-policies and about app centric management at /microsoftteams/app-centric-management.

Set-CsTeamsAppSetupPolicy

NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app setup polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

Set-CsTeamsAudioConferencingPolicy

Audio conferencing policies can be used to manage audio conferencing toll- and toll-free numbers to be displayed in meeting invites created by users within your organization.

Set-CsTeamsCallHoldPolicy

Modifies an existing Teams call hold policy in your tenant. The Teams call hold policy is used to customize the call hold experience for Teams clients.

Set-CsTeamsCallingPolicy

Use this cmdlet to update values in existing Teams Calling Policies.

Set-CsTeamsCallParkPolicy

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different Teams phone. The Set-CsTeamsCallParkPolicy cmdlet lets you update a policy that has already been created for your organization.

NOTE: The call park feature is currently available in desktop, mobile, and web clients. Supported with TeamsOnly mode.

Set-CsTeamsChannelsPolicy

The CsTeamsChannelsPolicy allows you to manage features related to the Teams and Channels experience within the Teams application.

Set-CsTeamsClientConfiguration

The TeamsClientConfiguration allows IT admins to control the settings that can be accessed via Teams clients across their organization. This configuration includes settings like which third party cloud storage your organization allows, whether or not guest users can access the teams client, and how Surface Hub devices can interact with Skype for Business meetings. The parameter descriptions below describe what settings are managed by this configuration and how they are enforced.

Set-CsTeamsComplianceRecordingApplication

Modifies an existing association between an application instance of a policy-based recording application and a Teams recording policy for administering automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Set-CsTeamsComplianceRecordingPolicy

Modifies an existing Teams recording policy for governing automatic policy-based recording in your tenant. Automatic policy-based recording is only applicable to Microsoft Teams users.

Set-CsTeamsCortanaPolicy

The CsTeamsCortanaPolicy cmdlets enable administrators to control settings for Cortana voice assistant in Microsoft Teams.

Set-CsTeamsEducationAssignmentsAppPolicy

This policy is controlled by Global and Teams Service Administrators, and is used to turn on/off certain features only related to the Assignments Service, which runs for tenants with EDU licenses.

Set-CsTeamsEducationConfiguration

This cmdlet is used to manage the organization-wide education configuration for Teams.

Set-CsTeamsEmergencyCallingPolicy
Set-CsTeamsEmergencyCallRoutingPolicy

This cmdlet modifies an existing Teams Emergency Call Routing Policy.

Set-CsTeamsEnhancedEncryptionPolicy

Use this cmdlet to update values in existing Teams enhanced encryption policy.

Set-CsTeamsEventsPolicy

This cmdlet allows you to configure options for customizing Teams events experiences. Note that this policy is currently still in preview.

Set-CsTeamsExternalAccessConfiguration
Set-CsTeamsFeedbackPolicy

Use this cmdlet to modify a Teams feedback policy (the ability to send feedback about Teams to Microsoft and whether they receive the survey).

Set-CsTeamsFilesPolicy

Creates a new teams files policy. Teams files policies determine whether or not files entry points to SharePoint enabled for a user. The policies also specify third-party app ID to allow file storage (e.g., Box).

Set-CsTeamsGuestCallingConfiguration

Allows admins to set values in the GuestCallingConfiguration, which specifies what options guest users have for calling within Teams.

Set-CsTeamsGuestMeetingConfiguration

Designates what meeting features guests using Microsoft Teams will have available. Use this cmdlet to set the configuration.

Set-CsTeamsGuestMessagingConfiguration

TeamsGuestMessagingConfiguration determines the messaging settings for the guest users.

Set-CsTeamsIPPhonePolicy

Set-CsTeamsIPPhonePolicy enables you to modify the properties of an existing Teams phone policy settings.

Set-CsTeamsMediaConnectivityPolicy

This cmdlet Set Teams media connectivity policy value for current tenant.

Set-CsTeamsMeetingBrandingPolicy

The CsTeamsMeetingBrandingPolicy cmdlet enables administrators to control the appearance in meetings by defining custom backgrounds, logos, and colors.

Set-CsTeamsMeetingBroadcastConfiguration

Set-CsTeamsMeetingBroadcastConfiguration [[-Identity] <XdsIdentity>] [-Tenant <guid>] [-SupportURL <string>] [-AllowSdnProviderForBroadcastMeeting <bool>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-CsTeamsMeetingBroadcastConfiguration -SdnProviderName <string> -SdnApiTemplateUrl <string> [-Tenant <guid>] [-SupportURL <string>] [-AllowSdnProviderForBroadcastMeeting <bool>] [-SdnLicenseId <string>] [-SdnApiToken <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-CsTeamsMeetingBroadcastConfiguration [-Tenant <guid>] [-SupportURL <string>] [-AllowSdnProviderForBroadcastMeeting <bool>] [-Instance <psobject>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-CsTeamsMeetingBroadcastPolicy

User-level policy for tenant admin to configure meeting broadcast behavior for the broadcast event organizer.

Set-CsTeamsMeetingConfiguration

The CsTeamsMeetingConfiguration cmdlets enable administrators to control the meetings configurations in their tenants.

Set-CsTeamsMeetingPolicy

The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users.

Set-CsTeamsMeetingTemplatePermissionPolicy

This cmdlet updates an existing TeamsMeetingTemplatePermissionPolicy.

Set-CsTeamsMessagingConfiguration

The TeamsMessagingConfiguration determines the messaging settings for users in your tenant.

Set-CsTeamsMessagingPolicy

The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. These also help determine the type of messages users can create and modify.

Set-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.

Set-CsTeamsMultiTenantOrganizationConfiguration

This cmdlet configures the Multi-tenant Organization settings for the tenant.

Set-CsTeamsNetworkRoamingPolicy

Set-CsTeamsNetworkRoamingPolicy allows IT Admins to create or update policies for Network Roaming and Bandwidth Control experiences in Microsoft Teams.

Set-CsTeamsNotificationAndFeedsPolicy

Modifies an existing Teams Notifications and Feeds Policy

Set-CsTeamsPinnedApp

NOTE: This cmdlet has been deprecated.

As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear. App setup policies let you showcase apps that users in your organization need, including ones built by third parties or by developers in your organization. You can also use app setup policies to manage how built-in features appear.

Apps are pinned to the app bar. This is the bar on the side of the Teams desktop client and at the bottom of the Teams mobile clients (iOS and Android). Learn more about the App Setup Policies: /MicrosoftTeams/teams-app-setup-policies.

Set-CsTeamsRecordingRollOutPolicy

The CsTeamsRecordingRollOutPolicy controls roll out of the change that governs the storage for meeting recordings.

Set-CsTeamsRoomVideoTeleConferencingPolicy

Modifies the property of an existing TeamsRoomVideoTeleConferencingPolicy.

Set-CsTeamsSettingsCustomApp

Set the Custom Apps Setting's value of Teams Admin Center.

Set-CsTeamsSharedCallingRoutingPolicy

Use the Set-CsTeamsSharedCallingRoutingPolicy cmdlet to change a shared calling routing policy instance.

Set-CsTeamsShiftsAppPolicy

Allows you to set or update properties of a Teams Shifts App Policy instance.

Set-CsTeamsShiftsConnection

This cmdlet sets an existing workforce management (WFM) connection.

Set-CsTeamsShiftsConnectionInstance

This cmdlet updates a Shifts connection instance.

Set-CsTeamsShiftsPolicy

This cmdlet allows you to set or update properties of a TeamsShiftPolicy instance, including Teams off shift warning message-specific settings.

Set-CsTeamsSipDevicesConfiguration

This cmdlet is used to manage the organization-wide Teams SIP devices configuration.

Set-CsTeamsSurvivableBranchAppliance

The Survivable Branch Appliance (SBA) cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Set-CsTeamsSurvivableBranchAppliancePolicy

The Survivable Branch Appliance (SBA) Policy cmdlets facilitate the continuation of Teams Phone operations, allowing for the placement and reception of Public Switched Telephone Network (PSTN) calls during service disruptions. These cmdlets are exclusively intended for Tenant Administrators and Session Border Controller (SBC) Vendors. In the absence of SBA configuration within a Tenant, the cmdlets will be inoperative.

Set-CsTeamsTemplatePermissionPolicy

This cmdlet updates an existing TeamsTemplatePermissionPolicy.

Set-CsTeamsTranslationRule

Cmdlet to modify an existing normalization rule.

Set-CsTeamsUnassignedNumberTreatment

Changes a treatment for how calls to an unassigned number range should be routed. The call can be routed to a user, an application or to an announcement service where a custom message will be played to the caller.

Set-CsTeamsUpdateManagementPolicy

Use this cmdlet to modify a Teams Update Management policy.

Set-CsTeamsUpgradeConfiguration

Administrators can use Set-CsTeamsUpgradeConfiguration to manage certain aspects of client behavior for users being upgraded from Skype for Business to Teams. TeamsUpgradeConfiguration should be used in conjunction with TeamsUpgradePolicy. The settings in TeamsUpgradeConfiguration allow administrators to configure whether users subject to upgrade and who are running on Windows clients should automatically download Teams. It allows administrators to determine which application end users should use to join Skype for Business meetings.

Set-CsTeamsVdiPolicy

The CsTeamsVdiPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting specifically on an unoptimized VDI environment. It also controls whether a user can be in VDI 2.0 optimization mode.

Set-CsTeamsVirtualAppointmentsPolicy

This cmdlet is used to update an instance of TeamsVirtualAppointmentsPolicy.

Set-CsTeamsVoiceApplicationsPolicy

Modifies an existing Teams voice applications policy.

Set-CsTeamsWorkLocationDetectionPolicy

This cmdlet is used to update an instance of TeamsWorkLocationDetectionPolicy.

Set-CsTenantBlockedCallingNumbers

Use the Set-CsTenantBlockedCallingNumbers cmdlet to set tenant blocked calling numbers setting.

Set-CsTenantDialPlan

Use the Set-CsTenantDialPlan cmdlet to modify an existing tenant dial plan.

Set-CsTenantFederationConfiguration

Manages federation configuration settings for your Skype for Business Online tenants. These settings are used to determine which domains (if any) your users are allowed to communicate with.

Set-CsTenantMigrationConfiguration

Used to enable or disable Meeting Migration Service (MMS).

Set-CsTenantNetworkRegion

As an admin, you can use the Teams PowerShell command, Set-CsTenantNetworkRegion to define network regions. A network region interconnects various parts of a network across multiple geographic areas. The RegionID parameter is a logical name that represents the geography of the region and has no dependencies or restrictions. The organization's network region is used for Location-Based Routing.

Set-CsTenantNetworkSite

As an Admin, you can use the Windows PowerShell command, Set-CsTenantNetworkSite to define network sites. Network sites are defined as a collection of IP subnets. Each network site must be associated with a network region. Tenant network site is used for Location Based Routing.

Set-CsTenantNetworkSubnet

As an admin, you can use the Teams PowerShell command, Set-CsTenantNetworkSubnet to define network subnets and assign them to network sites. Each internal subnet may only be associated with one site. The organization's network subnet is used for Location-Based Routing.

Set-CsTenantTrustedIPAddress

As an Admin, you can use the Windows PowerShell command, Set-CsTenantTrustedIPAddress to define external subnets and assign them to the tenant. You can define an unlimited number of external subnets for a tenant.

Set-CsUser

Modifies Skype for Business properties for an existing user account. Properties can be modified only for accounts that have been enabled for use with Skype for Business. This cmdlet was introduced in Lync Server 2010.

Note: Using this cmdlet for Microsoft Teams users in commercial and GCC cloud instances has been deprecated. Use the new Set-CsPhoneNumberAssignment and Remove-CsPhoneNumberAssignment cmdlets instead.

Set-CsUserCallingDelegate

This cmdlet will change permissions for a delegate for calling in Microsoft Teams.

Set-CsUserCallingSettings

This cmdlet will set the call forwarding, simultaneous ringing and call group settings for the specified user.

Set-CsVideoInteropServiceProvider

Cloud Video Interop for Teams enables 3rd party VTC devices to be able to join Teams meetings. The CsVideoInteropServiceProvider cmdlets allow you to designate provider/tenant specific information about the connection to the provider.

Set-Team

This cmdlet allows you to update properties of a team, including its displayname, description, and team-specific settings.

Set-TeamArchivedState

This cmdlet is used to freeze all of the team activity, but Teams Administrators and team owners will still be able to add or remove members and update roles. You can unarchive the team anytime.

Set-TeamChannel

Update Team channels settings.

Set-TeamFunSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To set a Team's settings, run Set-Team.

Update Giphy, Stickers and Memes settings.

Set-TeamGuestSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To set a Team's settings, run Set-Team.

Updates team guest settings.

Set-TeamMemberSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To set a Team's settings, run Set-Team.

Updates team member settings.

Set-TeamMessagingSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To set a Team's settings, run Set-Team.

Updates team messaging settings.

Set-TeamPicture

Update the team picture.

Note: the command will return immediately, but the Teams application will not reflect the update immediately. The Teams application may need to be open for up to an hour before changes are reflected.

Note: this cmdlet is not support in special government environments (TeamsGCCH and TeamsDoD) and is currently only supported in our beta release.

Set-TeamsApp

Updates an app in the Teams tenant app store.

Set-TeamsEnvironmentConfig

Sets environment-specific configurations on the local machine and is used to connect to the right environment when running Connect-MicrosoftTeams.

Set-TeamTargetingHierarchy

Upload a hierarchy to the tenant. A tenant may only have 1 active hierarchy. Each Set-TeamTargetingHierarchy cmdlet call will overwrite the previous one.

Start-CsExMeetingMigration

This cmdlet manually trigger a meeting migration request for the specified user.

Sync-CsOnlineApplicationInstance

Use the Sync-CsOnlineApplicationInstance cmdlet to sync the application instance from Microsoft Entra ID into Agent Provisioning Service. This is needed because the mapping between application instance and application needs to be stored in Agent Provisioning Service. If an application ID was provided at the creation of the application instance, you need not run this cmdlet.

Test-CsEffectiveTenantDialPlan

Use the Test-CsEffectiveTenantDialPlan cmdlet to test a tenant dial plan.

Test-CsInboundBlockedNumberPattern

This cmdlet tests the given number against the created (by using New-CsInboundBlockedNumberPattern cmdlet) blocked numbers pattern.

Test-CsTeamsShiftsConnectionValidate

This cmdlet validates workforce management (WFM) connection settings.

Test-CsTeamsTranslationRule

This cmdlet tests a phone number against the configured number manipulation rules and returns information about the matching rule.

Test-CsTeamsUnassignedNumberTreatment

This cmdlet tests the given number against the created (by using New-CsTeamsUnassignedNumberTreatment cmdlet) unassigned number treatment configurations.

Test-CsVoiceNormalizationRule

Tests a telephone number against a voice normalization rule and returns the number after the normalization rule has been applied. Voice normalization rules are typically used to convert a telephone dialing requirement (for example, you must dial 9 to access an outside line) to the E.164 phone number format. This cmdlet was introduced in Lync Server 2010.

Unregister-CsOnlineDialInConferencingServiceNumber

Unassigns the previously assigned service number as default Conference Bridge number.

Update-CsAutoAttendant

Use Update-CsAutoAttendant cmdlet to force an update of resources associated with an Auto Attendant (AA) provisioning.

Update-CsCustomPolicyPackage

Note: This cmdlet is currently in private preview.

This cmdlet updates a custom policy package.

Update-CsTeamsShiftsConnection

This cmdlet updates an existing workforce management (WFM) connection.

Update-CsTeamsShiftsConnectionInstance

This cmdlet updates Shifts connection instance fields.

Update-CsTeamTemplate

This cmdlet submits an operation that updates a custom team template with new team template settings.

NOTE: The response is a PowerShell object formatted as a JSON for readability. Please refer to the examples for suggested interaction flows for template management.

Update-M365TeamsApp

This cmdlet updates app state and app available values for the Microsoft Teams app.

Update-M365UnifiedTenantSettings

This cmdlet updates tenant settings.

Update-TeamsAppInstallation

Update a Teams App in Microsoft Teams.