Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ online version: https://learn.microsoft.com/powershell/module/teams/set-csphonen
applicable: Microsoft Teams
author: jenstrier
ms.author: serdars
ms.reviewer:
ms.reviewer:
manager:
schema: 2.0.0
---
Expand Down Expand Up @@ -48,7 +48,7 @@ This cmdlet assigns a phone number to a user or resource account. When you assig

You can also assign a location to a phone number.

To remove a phone number from a user or resource account, use the [Remove-CsPhoneNumberAssignment](Remove-CsPhoneNumberAssignment.md) cmdlet.
To remove a phone number from a user or resource account, use the [Remove-CsPhoneNumberAssignment](https://learn.microsoft.com/powershell/module/teams/remove-csphonenumberassignment) cmdlet.

## EXAMPLES

Expand Down Expand Up @@ -127,8 +127,8 @@ foreach ($pn in $pns) {
Try {
Set-CsPhoneNumberAssignment -PhoneNumber $pn.TelephoneNumber -LocationId $NewLocationId -ErrorAction Stop
Write-Host $pn.TelephoneNumber was updated to have location $NewLocationId
}
Catch {
}
Catch {
Write-Host Could not update $pn.TelephoneNumber with location $NewLocationId
}
}
Expand All @@ -141,8 +141,7 @@ This Example shows how to update the LocationID from an old location to a new lo
```powershell
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +12065551226 -ReverseNumberLookup 'SkipInternalVoip'
```
This example shows how to turn off reverse number lookup (RNL) on a phone number. When RNL is set to 'SkipInternalVoip', an internal call to this phone number will not attempt to pass through internal VoIP via reverse number lookup in Microsoft Teams. Instead the call will be established through external PSTN connectivity directly. This example is only applicable for Direct Routing phone numbers.

This example shows how to turn off reverse number lookup (RNL) on a phone number. When RNL is set to 'SkipInternalVoip', an internal call to this phone number will not attempt to pass through internal VoIP via reverse number lookup in Microsoft Teams. Instead the call will be established through external PSTN connectivity directly. This example is only applicable for Direct Routing phone numbers.

## PARAMETERS

Expand All @@ -152,7 +151,7 @@ This parameter is reserved for internal Microsoft use.
```yaml
Type: System.String
Parameter Sets: (Assignment)
Aliases:
Aliases:
Applicable: Microsoft Teams

Required: False
Expand All @@ -169,7 +168,7 @@ This parameter is mutual exclusive with PhoneNumber.
```yaml
Type: System.Boolean
Parameter Sets: (Attribute)
Aliases:
Aliases:
Applicable: Microsoft Teams

Required: True
Expand Down Expand Up @@ -197,7 +196,7 @@ Accept wildcard characters: False
The LocationId of the location to assign to the specific user. You can get it using Get-CsOnlineLisLocation. You can set the location on both assigned and unassigned
phone numbers.

Removal of location from a phone number is supported for Direct Routing numbers and Operator Connect numbers that are not managed by the Service Desk.
Removal of location from a phone number is supported for Direct Routing numbers and Operator Connect numbers that are not managed by the Service Desk.
If you want to remove the location, use the string value null for LocationId.

```yaml
Expand All @@ -217,7 +216,7 @@ This parameter is reserved for internal Microsoft use.
```yaml
Type: System.String
Parameter Sets: (Assignment)
Aliases:
Aliases:
Applicable: Microsoft Teams

Required: False
Expand Down Expand Up @@ -280,6 +279,6 @@ The previous command for assigning phone numbers to users Set-CsUser had the par
necessary and that is why the parameter is not available on Set-CsPhoneNumberAssignment.

## RELATED LINKS
[Remove-CsPhoneNumberAssignment](Remove-CsPhoneNumberAssignment.md)
[Remove-CsPhoneNumberAssignment](https://learn.microsoft.com/powershell/module/teams/remove-csphonenumberassignment)

[Get-CsPhoneNumberAssignment](Get-CsPhoneNumberAssignment.md)
[Get-CsPhoneNumberAssignment](https://learn.microsoft.com/powershell/module/teams/get-csphonenumberassignment)
20 changes: 12 additions & 8 deletions teams/teams-ps/teams/Set-CsTeamsAIPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ This cmdlet Set Teams AI policy value for current tenant.
## SYNTAX

```
Set-CsTeamsAIPolicy
[[-Identity] <string>]
[-EnrollFace <Enabled/Disabled>]
[-EnrollVoice <Enabled/Disabled>]
Set-CsTeamsAIPolicy [[-Identity] <string>]
[-EnrollFace <Boolean>]
[-EnrollVoice <Boolean>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -75,6 +75,7 @@ PS C:\> Set-CsTeamsAIPolicy -Identity Test -EnrollVoice Disabled
Set Teams AI policy "EnrollVoice" value to "Disabled" for identity "Test".

## PARAMETERS

### -Identity
Identity of the Teams AI policy.

Expand All @@ -89,6 +90,7 @@ Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -EnrollFace
Policy value of the Teams AI EnrollFace policy. EnrollFace controls user access to user face enrollment in the Teams app settings.

Expand Down Expand Up @@ -126,12 +128,14 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

## NOTES

## RELATED LINKS

[New-CsTeamsAIPolicy](New-CsTeamsAIPolicy.md)
[New-CsTeamsAIPolicy](https://learn.microsoft.com/powershell/module/teams/new-csteamsaipolicy)

[Remove-CsTeamsAIPolicy](Remove-CsTeamsAIPolicy.md)
[Remove-CsTeamsAIPolicy](https://learn.microsoft.com/powershell/module/teams/remove-csteamsaipolicy)

[Get-CsTeamsAIPolicy](Get-CsTeamsAIPolicy.md)
[Get-CsTeamsAIPolicy](https://learn.microsoft.com/powershell/module/teams/get-csteamsaipolicy)

[Grant-CsTeamsAIPolicy](Grant-CsTeamsAIPolicy.md)
[Grant-CsTeamsAIPolicy](https://learn.microsoft.com/powershell/module/teams/grant-csteamsaipolicy)
24 changes: 12 additions & 12 deletions teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ schema: 2.0.0

**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](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).

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](/azure/communication-services/concepts/teams-interop).
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](https://learn.microsoft.com/azure/communication-services/concepts/teams-interop).

## SYNTAX

```powershell
Set-CsTeamsAcsFederationConfiguration
[-Identity <String[]>]
[-EnableAcsUsers <Boolean>]
[-AllowedAcsResources <String[]>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
[-Identity <String[]>]
[-EnableAcsUsers <Boolean>]
[-AllowedAcsResources <String[]>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

## DESCRIPTION

Federation between Teams and Azure Communication Services (ACS) allows external users from ACS to connect and communicate with Teams users over voice and video. These custom applications may be used by end users or by bots, and there is no differentiation in how they appear to Teams users unless the developer of the application explicitly indicates this as part of the communication. For more information, see [Teams interoperability](/azure/communication-services/concepts/teams-interop).
Federation between Teams and Azure Communication Services (ACS) allows external users from ACS to connect and communicate with Teams users over voice and video. These custom applications may be used by end users or by bots, and there is no differentiation in how they appear to Teams users unless the developer of the application explicitly indicates this as part of the communication. For more information, see [Teams interoperability](https://learn.microsoft.com/azure/communication-services/concepts/teams-interop).

This cmdlet is used to enable or disable Teams and ACS federation for a Teams tenant, and to specify which ACS resources can connect to Teams. Only listed ACS resources can be allowed.

Expand Down Expand Up @@ -108,10 +108,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## RELATED LINKS

[Get-CsTeamsAcsFederationConfiguration](Get-CsTeamsAcsFederationConfiguration.md)
[Get-CsTeamsAcsFederationConfiguration](https://learn.microsoft.com/powershell/module/teams/get-csteamsacsfederationconfiguration)

[New-CsExternalAccessPolicy](New-CsExternalAccessPolicy.md)
[New-CsExternalAccessPolicy](https://learn.microsoft.com/powershell/module/teams/new-csexternalaccesspolicy)

[Set-CsExternalAccessPolicy](Set-CsExternalAccessPolicy.md)
[Set-CsExternalAccessPolicy](https://learn.microsoft.com/powershell/module/teams/set-csexternalaccesspolicy)

[Grant-CsExternalAccessPolicy](Grant-CsExternalAccessPolicy.md)
[Grant-CsExternalAccessPolicy](https://learn.microsoft.com/powershell/module/teams/grant-csexternalaccesspolicy)
15 changes: 2 additions & 13 deletions teams/teams-ps/teams/Set-CsTeamsAppPermissionPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Set-CsTeamsAppPermissionPolicy -Identity Set-$identity -DefaultCatalogAppsType B
```
This example allows all Microsoft apps, third-party apps, and custom apps. No apps are blocked.


### Example 2

```powershell
Expand All @@ -61,8 +60,6 @@ Set-CsTeamsAppPermissionPolicy -Identity Set-$identity -DefaultCatalogAppsType A
```
This example blocks all Microsoft apps, third-party apps, and custom apps. No apps are allowed.



### Example 3

```powershell
Expand All @@ -74,7 +71,7 @@ $ListsApp = New-Object -TypeName Microsoft.Teams.Policy.Administration.Cmdlets.C
$OneNoteApp = New-Object -TypeName Microsoft.Teams.Policy.Administration.Cmdlets.Core.DefaultCatalogApp -Property @{Id="26bc2873-6023-480c-a11b-76b66605ce8c"}
$DefaultCatalogAppList = @($ListsApp,$OneNoteApp)
# set allow Lists and OneNote apps and block other Microsoft apps
Set-CsTeamsAppPermissionPolicy -Identity Set-$identity -DefaultCatalogAppsType AllowedAppList -DefaultCatalogApps $DefaultCatalogAppList
Set-CsTeamsAppPermissionPolicy -Identity Set-$identity -DefaultCatalogAppsType AllowedAppList -DefaultCatalogApps $DefaultCatalogAppList
```
This example allows Microsoft Lists and OneNote apps and blocks other Microsoft apps. Microsoft Lists and OneNote can be installed by your users.

Expand All @@ -92,7 +89,6 @@ Set-CsTeamsAppPermissionPolicy -Identity Set-$identity -GlobalCatalogAppsType Al
```
This example allows third-party TaskList and OnePlan apps and blocks other third-party apps. TaskList and OnePlan can be installed by your users.


### Example 5

```powershell
Expand All @@ -107,7 +103,6 @@ Set-CsTeamsAppPermissionPolicy -Identity Set-$identity -PrivateCatalogAppsType A
```
This example allows custom GetStartApp and TestBotApp apps and blocks other custom apps. GetStartApp and TestBotApp can be installed by your users.


## PARAMETERS

### -Confirm
Expand Down Expand Up @@ -143,7 +138,6 @@ Accept wildcard characters: False
### -DefaultCatalogAppsType
Choose to allow or block the installation of Microsoft apps. Values that can be used: AllowedAppList, BlockedAppList.


```yaml
Type: String
Parameter Sets: (All)
Expand All @@ -159,7 +153,6 @@ Accept wildcard characters: False
### -Description
Description of app setup permission policy.


```yaml
Type: String
Parameter Sets: (All)
Expand Down Expand Up @@ -190,7 +183,6 @@ Accept wildcard characters: False
### -GlobalCatalogApps
Choose which Teams apps published by a third party can be installed by your users.


```yaml
Type: Microsoft.Teams.Policy.Administration.Cmdlets.Core.GlobalCatalogApp[]
Parameter Sets: (All)
Expand All @@ -206,7 +198,6 @@ Accept wildcard characters: False
### -GlobalCatalogAppsType
Choose to allow or block the installation of third-party apps. Values that can be used: AllowedAppList, BlockedAppList.


```yaml
Type: String
Parameter Sets: (All)
Expand All @@ -222,7 +213,6 @@ Accept wildcard characters: False
### -Identity
Name of App setup permission policy. If empty, all Identities will be used by default.


```yaml
Type: XdsIdentity
Parameter Sets: Identity
Expand Down Expand Up @@ -312,8 +302,7 @@ Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

Expand Down
7 changes: 3 additions & 4 deletions teams/teams-ps/teams/Set-CsTeamsAppSetupPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Apps are pinned to the app bar. This is the bar on the side of the Teams desktop
```powershell
# Create new teams app setup policy named "Set-Test".
New-CsTeamsAppSetupPolicy -Identity 'Set-Test'
Set-CsTeamsAppSetupPolicy -Identity 'Set-Test' -AllowUserPinning $true -AllowSideLoading $false
Set-CsTeamsAppSetupPolicy -Identity 'Set-Test' -AllowUserPinning $true -AllowSideLoading $false
```

Step 1: Create a new Teams app setup policy named "Set-Test".
Expand Down Expand Up @@ -179,7 +179,7 @@ Accept wildcard characters: False
```

### -AppPresetList
Choose which apps and messaging extensions you want to be installed in your users' personal Teams environment and in meetings they create. Users can install other available apps from the Teams app store.
Choose which apps and messaging extensions you want to be installed in your users' personal Teams environment and in meetings they create. Users can install other available apps from the Teams app store.

```yaml
Type: Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset[]
Expand Down Expand Up @@ -315,8 +315,7 @@ Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

Expand Down
6 changes: 3 additions & 3 deletions teams/teams-ps/teams/Set-CsTeamsAudioConferencingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## RELATED LINKS

[Get-CsTeamsAudioConferencingPolicy](Get-CsTeamsAudioConferencingPolicy.md)
[Get-CsTeamsAudioConferencingPolicy](https://learn.microsoft.com/powershell/module/teams/get-csteamsaudioconferencingpolicy)

[New-CsTeamsAudioConferencingPolicy](New-CsTeamsAudioConferencingPolicy.md)
[New-CsTeamsAudioConferencingPolicy](https://learn.microsoft.com/powershell/module/teams/new-csteamsaudioconferencingpolicy)

[Grant-CsTeamsAudioConferencingPolicy](Grant-CsTeamsAudioConferencingPolicy.md)
[Grant-CsTeamsAudioConferencingPolicy](https://learn.microsoft.com/powershell/module/teams/grant-csteamsaudioconferencingpolicy)
14 changes: 7 additions & 7 deletions teams/teams-ps/teams/Set-CsTeamsCallHoldPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Assigning a Teams call hold policy to a user sets an audio file to be played dur

### Example 1
```powershell
PS C:\> Set-CsTeamsCallHoldPolicy -Identity "ContosoPartnerTeamsCallHoldPolicy" -AudioFileId "c65233-ac2a27-98701b-123ccc"
PS C:\> Set-CsTeamsCallHoldPolicy -Identity "ContosoPartnerTeamsCallHoldPolicy" -AudioFileId "c65233-ac2a27-98701b-123ccc"
```

The command shown in Example 1 modifies an existing per-user Teams call hold policy with the Identity ContosoPartnerTeamsCallHoldPolicy.
Expand All @@ -45,7 +45,7 @@ Any Microsoft Teams users who are assigned this policy will have their call hold

### Example 2
```powershell
PS C:\> Set-CsTeamsCallHoldPolicy -Identity "ContosoPartnerTeamsCallHoldPolicy" -Description "country music"
PS C:\> Set-CsTeamsCallHoldPolicy -Identity "ContosoPartnerTeamsCallHoldPolicy" -Description "country music"
```

The command shown in Example 2 modifies an existing per-user Teams call hold policy with the Identity ContosoPartnerTeamsCallHoldPolicy.
Expand Down Expand Up @@ -192,12 +192,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## RELATED LINKS

[Get-CsTeamsCallHoldPolicy](Get-CsTeamsCallHoldPolicy.md)
[Get-CsTeamsCallHoldPolicy](https://learn.microsoft.com/powershell/module/teams/get-csteamscallholdpolicy)

[New-CsTeamsCallHoldPolicy](New-CsTeamsCallHoldPolicy.md)
[New-CsTeamsCallHoldPolicy](https://learn.microsoft.com/powershell/module/teams/new-csteamscallholdpolicy)

[Grant-CsTeamsCallHoldPolicy](Grant-CsTeamsCallHoldPolicy.md)
[Grant-CsTeamsCallHoldPolicy](https://learn.microsoft.com/powershell/module/teams/grant-csteamscallholdpolicy)

[Remove-CsTeamsCallHoldPolicy](Remove-CsTeamsCallHoldPolicy.md)
[Remove-CsTeamsCallHoldPolicy](https://learn.microsoft.com/powershell/module/teams/remove-csteamscallholdpolicy)

[Import-CsOnlineAudioFile](Import-CsOnlineAudioFile.md)
[Import-CsOnlineAudioFile](https://learn.microsoft.com/powershell/module/teams/import-csonlineaudiofile)
4 changes: 1 addition & 3 deletions teams/teams-ps/teams/Set-CsTeamsCallParkPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,12 @@ Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.Management.Automation.PSObject


## OUTPUTS

### System.Object
Expand Down
Loading
Loading