Skip to content

Commit 00eff7f

Browse files
authored
Merge branch 'main' into teams-chrisda
2 parents 6b4714c + 1f812f7 commit 00eff7f

10 files changed

Lines changed: 224 additions & 38 deletions

exchange/exchange-ps/ExchangePowerShell/Add-AvailabilityAddressSpace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Accept wildcard characters: False
223223

224224
This parameter is available only in the cloud-based service.
225225

226-
The TargetServiceEpr parameter specifies the Exchange Online Calendar Service URL of the external Microsoft 365 organization that you're trying to read free/busy information from. Valid values are:
226+
The TargetServiceEpr parameter specifies the Exchange Online address of the external Microsoft 365 organization that you're trying to read free/busy information from. Valid values are:
227227

228228
- Microsoft 365 or Microsoft 365 GCC: outlook.office.com
229229
- Office 365 operated by 21Vianet: partner.outlook.cn

exchange/exchange-ps/ExchangePowerShell/Set-Mailbox.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3391,7 +3391,8 @@ This switch doesn't remove the following types of holds:
33913391
- eDiscovery holds (maintained for compliance).
33923392
- Litigation holds (maintained for compliance).
33933393
- Restrictive retention policies (preserved for compliance rules).
3394-
- Policy configurations (doesn't update policy exclusion lists).
3394+
3395+
Policy configurations of Microsoft 365 retention policies is not updated (doesn't update exclusion lists).
33953396

33963397
After you use this switch in a **Set-Mailbox** command on an inactive mailbox, run the following **Get-Mailbox** command to confirm the results:
33973398

@@ -3419,7 +3420,9 @@ Accept wildcard characters: False
34193420

34203421
This parameter is available only in Exchange Online.
34213422

3422-
The ExcludeFromAllOrgHolds switch excludes the mailbox from all organization-wide Microsoft 365 retention policies. This switch can only be used for inactive mailboxes. You don't need to specify a value with this switch.
3423+
The ExcludeFromAllOrgHolds switch excludes the mailbox from all organization-wide Microsoft 365 Exchange retention policies. This switch can only be used for inactive mailboxes. You don't need to specify a value with this switch.
3424+
3425+
This switch doesn't exclude the mailbox from App-Retention policies (including organization-wide).
34233426

34243427
When you use this switch, use the DistinguishedName or ExchangeGuid property value for the identity of the inactive mailbox (those are the only values that guarantee uniqueness).
34253428

teams/teams-ps/MicrosoftTeams/Get-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ Get-CsTeamsWorkLocationDetectionPolicy [-Filter <String>] [<CommonParameters>]
2828
```
2929

3030
## DESCRIPTION
31-
Fetches instances of TeamsWorkLocationDetectionPolicy. Each policy object contains a property called `EnableWorkLocationDetection`. This setting allows your organization to collect the work location of users when they connect, interact, or are detected near your organization's networks and devices. It also captures the geographic location information users share from personal and mobile devices.
32-
This gives users the ability to consent to the use of this location data to set their current work location.Microsoft collects this information to provide users with a consistent location-based experience and to improve the hybrid work experience in Microsoft 365 according to the [Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839).
31+
Fetches instances of TeamsWorkLocationDetectionPolicy. Each policy object contains the following properties:
32+
33+
- `EnableWorkLocationDetection`: This setting allows your organization to collect the work location of users when they connect, interact, or are detected near your organization's networks and devices. It also captures the geographic location information users share from personal and mobile devices. This gives users the ability to consent to the use of this location data to set their current work location. Microsoft collects this information to provide users with a consistent location-based experience and to improve the hybrid work experience in Microsoft 365 according to the [Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839).
34+
35+
- `UserSettingsDefault`: Specifies the default user settings behavior for work location detection. Possible values are `Disabled` (default) and `Enabled`.
3336

3437
## EXAMPLES
3538

@@ -38,11 +41,11 @@ This gives users the ability to consent to the use of this location data to set
3841
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy
3942
```
4043
```output
41-
Identity EnableWorkLocationDetection
42-
-------- ----------------------
43-
Global False
44-
Tag:wld-policy1 True
45-
Tag:wld-policy2 False
44+
Identity EnableWorkLocationDetection UserSettingsDefault
45+
-------- --------------------------- -------------------
46+
Global False Disabled
47+
Tag:wld-policy1 True Enabled
48+
Tag:wld-policy2 False Disabled
4649
```
4750
Fetches all the policy instances currently available.
4851

@@ -51,9 +54,9 @@ Fetches all the policy instances currently available.
5154
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy1
5255
```
5356
```output
54-
Identity EnableWorkLocationDetection
55-
-------- ----------------------
56-
Tag:wld-policy1 True
57+
Identity EnableWorkLocationDetection UserSettingsDefault
58+
-------- --------------------------- -------------------
59+
Tag:wld-policy1 True Enabled
5760
```
5861
Fetches an instance of a policy with a known identity.
5962

@@ -62,10 +65,10 @@ Fetches an instance of a policy with a known identity.
6265
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Filter *wld*
6366
```
6467
```output
65-
Identity EnableWorkLocationDetection
66-
-------- ----------------------
67-
Tag:wld-policy1 True
68-
Tag:wld-policy2 False
68+
Identity EnableWorkLocationDetection UserSettingsDefault
69+
-------- --------------------------- -------------------
70+
Tag:wld-policy1 True Enabled
71+
Tag:wld-policy2 False Disabled
6972
```
7073
The `Filter` parameter can be used to fetch policy instances based on partial matches on Identity.
7174

teams/teams-ps/MicrosoftTeams/MicrosoftTeams.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,9 @@ Use the `New-CsOnlineTelephoneNumberOrder` cmdlet to create a telephone number s
890890
### [New-CsOnlineTelephoneNumberReleaseOrder](New-CsOnlineTelephoneNumberReleaseOrder.md)
891891
This cmdlet creates a request to release telephone numbers from Microsoft Teams telephone number management inventory.
892892

893+
### [New-CsPhoneNumberUsageChangeOrder](New-CsPhoneNumberUsageChangeOrder.md)
894+
This cmdlet creates a request to change the TN usage.
895+
893896
### [New-CsOnlineTimeRange](New-CsOnlineTimeRange.md)
894897
The New-CsOnlineTimeRange cmdlet creates a new time range.
895898

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
2+
applicable: Microsoft Teams
3+
author: garciadaniel
4+
external help file: Microsoft.Teams.ConfigAPI.Cmdlets-help.xml
5+
Locale: en-US
6+
manager: roykuntz
7+
Module Name: MicrosoftTeams
8+
ms.author: garciadaniel
9+
ms.reviewer: garciadaniel
10+
online version: https://learn.microsoft.com/powershell/module/teams/new-csphonenumberusagechangeorder
11+
schema: 2.0.0
12+
title: New-CsPhoneNumberUsageChangeOrder
13+
---
14+
15+
# New-CsPhoneNumberUsageChangeOrder
16+
17+
## SYNOPSIS
18+
This cmdlet creates a request to to update TN Usage (e.g. from User Type to Service Type).
19+
20+
## SYNTAX
21+
22+
```
23+
New-CsPhoneNumberUsageChangeOrder -TelephoneNumber <String[]> -Usage <String>
24+
```
25+
26+
## DESCRIPTION
27+
This cmdlet creates a order to update the usage of the given phone numbers (e.g. from User Type to Service Type).
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
PS C:\> New-CsPhoneNumberUsageChangeOrder -TelephoneNumber "+123456789" -Usage ServiceType
34+
```
35+
```output
36+
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
37+
```
38+
39+
In this example, the telephone number "+123456789" would change to Service Type usage.
40+
41+
### Example 2
42+
```powershell
43+
[string[]]$tns="+14255551234","+14255551233"
44+
PS C:\> New-CsPhoneNumberUsageChangeOrder -TelephoneNumber $tns -Usage ServiceType
45+
```
46+
```output
47+
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
48+
```
49+
50+
In this example, the usage of the given list of telephone numbers is being updated to Service Type.
51+
52+
## PARAMETERS
53+
54+
### -TelephoneNumber
55+
Specifies the telephone number(s) to remove. The format can be with or without the prefixed +, but needs to include country code etc.
56+
57+
```yaml
58+
Type: System.String[]
59+
Parameter Sets: (All)
60+
Aliases:
61+
62+
Required: True
63+
Position: Named
64+
Default value: None
65+
Accept pipeline input: False
66+
Accept wildcard characters: False
67+
```
68+
69+
### -Usage
70+
Specifies the new usage type for the given telephone numbers.
71+
72+
```yaml
73+
Type: System.Management.Automation.SwitchParameter
74+
Parameter Sets: (All)
75+
Aliases:
76+
77+
Required: True
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
84+
## INPUTS
85+
86+
### None
87+
88+
## OUTPUTS
89+
90+
### System.String
91+
92+
### None
93+
94+
## NOTES
95+
This cmdlet is available in Teams PowerShell module 7.5.0 or later.
96+
97+
## RELATED LINKS

teams/teams-ps/MicrosoftTeams/New-CsTeamsMobilityPolicy.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.
1919

2020
```
2121
New-CsTeamsMobilityPolicy [-Tenant <System.Guid>] [-Description <String>] [-IPVideoMobileMode <String>]
22-
[-IPAudioMobileMode <String>] [-Identity] <XdsIdentity>] [-MobileDialerPreference <String>] [-InMemory] [-Force] [-WhatIf] [-Confirm]
22+
[-IPAudioMobileMode <String>] [-Identity] <XdsIdentity>] [-MobileDialerPreference <String>] [-LinksInTeams <String>] [-InMemory] [-Force] [-WhatIf] [-Confirm]
2323
[<CommonParameters>]
2424
```
2525

@@ -145,6 +145,21 @@ Accept pipeline input: False
145145
Accept wildcard characters: False
146146
```
147147
148+
### -LinksInTeams
149+
Controls the availability of browser choice options in Teams Mobile. When set to OfferBrowserOptions, users get two browser choice experiences: (1) browser options in the Teams Mobile settings page for configuring default preferences, and (2) browser options in the upsell card when tapping links. When set to UseUserDefaults, links open using the user's system default browser settings. Possible values are: OfferBrowserOptions, UseUserDefaults.
150+
151+
```yaml
152+
Type: String
153+
Parameter Sets: (All)
154+
Aliases:
155+
156+
Required: False
157+
Position: Named
158+
Default value: OfferBrowserOptions
159+
Accept pipeline input: False
160+
Accept wildcard characters: False
161+
```
162+
148163
### -WhatIf
149164
Shows what would happen if the cmdlet runs.
150165
The cmdlet is not run.

teams/teams-ps/MicrosoftTeams/New-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@ This cmdlet is used to create a new instance of the TeamsWorkLocationDetectionPo
1818
## SYNTAX
1919

2020
```
21-
New-CsTeamsWorkLocationDetectionPolicy [-EnableWorkLocationDetection <Boolean>] [-Identity] <String> [-Force]
21+
New-CsTeamsWorkLocationDetectionPolicy [-EnableWorkLocationDetection <Boolean>] [-UserSettingsDefault <String>] [-Identity] <String> [-Force]
2222
[-WhatIf] [-Confirm] [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
26-
Creates a new instance of the TeamsWorkLocationDetectionPolicy. This policy can be used to tailor the work location detection experience. The parameter `EnableWorkLocationDetection` allows your organization to collect the work location of users when they connect, interact, or are detected near your organization's networks and devices. It also captures the geographic location information users share from personal and mobile devices.
27-
This gives users the ability to consent to the use of this location data to set their current work location.Microsoft collects this information to provide users with a consistent location-based experience and to improve the hybrid work experience in Microsoft 365 according to the [Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839).
26+
Creates a new instance of the TeamsWorkLocationDetectionPolicy. This policy can be used to tailor the work location detection experience.
27+
28+
- The parameter `EnableWorkLocationDetection` allows your organization to collect the work location of users when they connect, interact, or are detected near your organization's networks and devices. It also captures the geographic location information users share from personal and mobile devices. This gives users the ability to consent to the use of this location data to set their current work location. Microsoft collects this information to provide users with a consistent location-based experience and to improve the hybrid work experience in Microsoft 365 according to the [Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839).
29+
30+
- The parameter `UserSettingsDefault` specifies the default user settings behavior for work location detection. Possible values are `Disabled` (default) and `Enabled`.
2831

29-
The end user experience utilizing this policy has rolled out to the general public. You can see updates at [Microsoft 365 Roadmap | Microsoft 365](https://www.microsoft.com/en-us/microsoft-365/roadmap?msockid=287ab43847c06d0008cca05b46076c18&filters=&searchterms=automatically%2Cset%2Cwork%2Clocation%22https://www.microsoft.com/en-us/microsoft-365/roadmap?msockid=287ab43847c06d0008cca05b46076c18&filters=&searchterms=automatically%2cset%2cwork%2clocation%22) 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.](https://learn.microsoft.com/microsoftteams/rooms/bookable-desks).
32+
The end user experience utilizing this policy has rolled out to the general public. You can see updates at [Microsoft 365 Roadmap | Microsoft 365](https://www.microsoft.com/en-us/microsoft-365/roadmap?msockid=287ab43847c06d0008cca05b46076c18&filters=&searchterms=automatically%2Cset%2Cwork%2Clocation) 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.](https://learn.microsoft.com/microsoftteams/rooms/bookable-desks).
3033

3134
## EXAMPLES
3235

@@ -35,22 +38,22 @@ The end user experience utilizing this policy has rolled out to the general publ
3538
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy -EnableWorkLocationDetection $true
3639
```
3740
```output
38-
Identity EnableWorkLocationDetection
39-
-------- ----------------------
40-
Tag:wld-policy True
41+
Identity EnableWorkLocationDetection UserSettingsDefault
42+
-------- --------------------------- -------------------
43+
Tag:wld-policy True Disabled
4144
```
42-
Creates a new policy instance with the identity wld-enabled. `EnableWorkLocationDetection` is set to the value specified in the command.
45+
Creates a new policy instance with the identity wld-policy. `EnableWorkLocationDetection` is set to the value specified in the command, and `UserSettingsDefault` defaults to `Disabled`.
4346

4447
### Example 2
4548
```powershell
46-
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
49+
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy -UserSettingsDefault Enabled
4750
```
4851
```output
49-
Identity EnableWorkLocationDetection
50-
-------- ----------------------
51-
Tag:wld-policy False
52+
Identity EnableWorkLocationDetection UserSettingsDefault
53+
-------- --------------------------- -------------------
54+
Tag:wld-policy False Enabled
5255
```
53-
Creates a new policy instance with the identity wld-policy. `EnableWorkLocationDetection` will default to false if it is not specified.
56+
Creates a new policy instance with the identity wld-policy. `EnableWorkLocationDetection` defaults to `False` and `UserSettingsDefault` is set to `Enabled`.
5457

5558
## PARAMETERS
5659

@@ -85,6 +88,26 @@ Accept pipeline input: False
8588
Accept wildcard characters: False
8689
```
8790
91+
### -UserSettingsDefault
92+
Specifies the default user settings behavior for work location detection. Possible values are:
93+
94+
- `Enabled`: Enables the default user settings for work location detection.
95+
- `Disabled`: Disables the default user settings for work location detection.
96+
97+
The default value is `Disabled`.
98+
99+
```yaml
100+
Type: String
101+
Parameter Sets: (All)
102+
Aliases:
103+
104+
Required: False
105+
Position: Named
106+
Default value: Disabled
107+
Accept pipeline input: False
108+
Accept wildcard characters: False
109+
```
110+
88111
### -Force
89112
Suppresses the display of any non-fatal error message that might arise when running the command.
90113

teams/teams-ps/MicrosoftTeams/Set-CsTeamsMessagingConfiguration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Accept wildcard characters: False
140140
### -FileTypeCheck
141141
142142
> [!NOTE]
143-
> This parameter is in Private Preview.
143+
> This cmdlet is not available in GCC, GCCH and DOD.
144144
145145
This setting enables weaponizable file detection in Teams messages in the tenant.
146146
@@ -211,7 +211,7 @@ Accept wildcard characters: False
211211
### -ReportIncorrectSecurityDetections
212212
213213
> [!NOTE]
214-
> This parameter is in Private Preview.
214+
> This cmdlet is not available in GCC, GCCH and DOD.
215215
216216
This setting enables the end users to Report incorrect security detections in Teams messages in the tenant.
217217
@@ -234,7 +234,7 @@ Accept wildcard characters: False
234234
### -UrlReputationCheck
235235
236236
> [!NOTE]
237-
> This parameter is in Private Preview.
237+
> This cmdlet is not available in GCC, GCCH and DOD.
238238
239239
This setting enables malicious URL detection in Teams messages in the tenant.
240240

teams/teams-ps/MicrosoftTeams/Set-CsTeamsMobilityPolicy.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.
2020
### Identity (Default)
2121
```
2222
Set-CsTeamsMobilityPolicy [-Tenant <System.Guid>] [-Description <String>] [-IPVideoMobileMode <String>]
23-
[-IPAudioMobileMode <String>] [[-Identity] <XdsIdentity>] [-MobileDialerPreference <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
23+
[-IPAudioMobileMode <String>] [[-Identity] <XdsIdentity>] [-MobileDialerPreference <String>] [-LinksInTeams <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2424
```
2525

2626
### Instance
2727
```
2828
Set-CsTeamsMobilityPolicy [-Tenant <System.Guid>] [-Description <String>] [-IPVideoMobileMode <String>]
29-
[-IPAudioMobileMode <String>] [-Instance <PSObject>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
29+
[-IPAudioMobileMode <String>] [-Instance <PSObject>] [-LinksInTeams <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
3030
```
3131

3232
## DESCRIPTION
@@ -38,7 +38,7 @@ The Set-CsTeamsMobilityPolicy cmdlet allows administrators to update teams mobil
3838

3939
### Example 1
4040
```powershell
41-
PS C:\> Set-CsTeamsMobilityPolicy -Identity SalesPolicy -IPVideoMobileMode "WifiOnly
41+
PS C:\> Set-CsTeamsMobilityPolicy -Identity SalesPolicy -IPVideoMobileMode "WifiOnly"
4242
```
4343
The command shown in Example 1 uses the Set-CsTeamsMobilityPolicy cmdlet to update an existing teams mobility policy with the Identity SalesPolicy. This SalesPolicy will not have IPVideoMobileMode equal to "WifiOnly".
4444

@@ -149,6 +149,20 @@ Accept pipeline input: False
149149
Accept wildcard characters: False
150150
```
151151
152+
### -LinksInTeams
153+
Controls the availability of browser choice options in Teams Mobile. When set to OfferBrowserOptions, users get two browser choice experiences: (1) browser options in the Teams Mobile settings page for configuring default preferences, and (2) browser options in the upsell card when tapping links. When set to UseUserDefaults, links open using the user's system default browser settings. Possible values are: OfferBrowserOptions, UseUserDefaults.
154+
155+
```yaml
156+
Type: String
157+
Parameter Sets: (All)
158+
Aliases:
159+
Required: False
160+
Position: Named
161+
Default value: OfferBrowserOptions
162+
Accept pipeline input: False
163+
Accept wildcard characters: False
164+
```
165+
152166
### -WhatIf
153167
Shows what would happen if the cmdlet runs.
154168
The cmdlet is not run.

0 commit comments

Comments
 (0)