Skip to content

Commit c3a1f6e

Browse files
Merge branch 'main' into patch-11
2 parents a3bc297 + bd4b57c commit c3a1f6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2623
-223
lines changed

exchange/exchange-ps/exchange/New-DlpCompliancePolicy.md

Lines changed: 77 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,67 @@ New-DlpCompliancePolicy -Name "GlobalPolicy" -Comment "Primary policy" -SharePoi
8888
This example creates a DLP policy named GlobalPolicy for the specified SharePoint Online and OneDrive for Business locations. The new policy has a descriptive comment and will be enabled on creation.
8989

9090
### Example 3
91-
9291
```powershell
9392
New-DlpCompliancePolicy -Name "PowerBIPolicy" -Comment "Primary policy" -PowerBIDlpLocation "All" -PowerBIDlpLocationException "workspaceID1","workspaceID2","workspaceID3" -Mode Enable
9493
```
9594

9695
This example creates a DLP policy named PowerBIPolicy for all qualifying Power BI workspaces (that is, those hosted on Premium Gen2 capacities) except for the specified workspaces. The new policy has a descriptive comment and will be enabled on creation.
9796

97+
### Example 4
98+
```powershell
99+
Get-Label | Format-List Priority,ContentType,Name,DisplayName,Identity,Guid
100+
101+
$guidVar = "e222b65a-b3a8-46ec-ae12-00c2c91b71c0"
102+
103+
$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant", Identity:"All"}]}]"
104+
105+
New-DLPCompliancePolicy -Name "Copilot Policy" -Locations $loc
106+
107+
$advRule = @{
108+
"Version" = "1.0"
109+
"Condition" = @{
110+
"Operator" = "And"
111+
"SubConditions" = @(
112+
@{
113+
"ConditionName" = "ContentContainsSensitiveInformation"
114+
"Value" = @(
115+
@{
116+
"groups" = @(
117+
@{
118+
"Operator" = "Or"
119+
"labels" = @(
120+
@{
121+
"name" = $guidVar
122+
"type" = "Sensitivity"
123+
}
124+
)
125+
"name" = "Default"
126+
}
127+
)
128+
}
129+
)
130+
}
131+
)
132+
}
133+
} | ConvertTo-Json -Depth 100
134+
135+
New-DLPComplianceRule -Name "Copilot Rule" -Policy "Copilot Policy" -AdvancedRule $advrule -RestrictAccess @(@{setting="ExcludeContentProcessing";value="Block"})
136+
```
137+
138+
This example creates a DLP policy for Microsoft 365 Copilot (Preview) in several steps:
139+
140+
- The first command returns information about all sensitivity labels. Select the GUID value of the sensitivity label that you want to use. For example, `e222b65a-b3a8-46ec-ae12-00c2c91b71c0`.
141+
142+
- The second command stores the GUID value of the sensitivity label in the variable named `$guidVar`.
143+
144+
- The third command stores the Microsoft 365 Copilot location (`470f2276-e011-4e9d-a6ec-20768be3a4b0`) in the variable named `$loc`. Update the `$loc` value based on the Inclusions/Exclusions scoping that you want to provide.
145+
146+
- The fourth command creates the DLP policy using the `$loc` variable for the value of the Locations parameter, and "Copilot Policy" as the name of the policy (use any unique name).
147+
148+
- The fifth command creates the variable named `$advRule`. The advanced rule needs to be updated depending on the grouping of labels you want to provide as input.
149+
150+
- The last command creates the DLP rule with the name "Copilot Rule" (use any unique name). Use the name of the DLP policy from step four as the value of the Policy parameter.
151+
98152
## PARAMETERS
99153

100154
### -Name
@@ -427,7 +481,28 @@ Accept wildcard characters: False
427481
```
428482

429483
### -Locations
430-
{{ Fill Locations Description }}
484+
The Locations parameter specifies to whom, what, and where the DLP policy applies. This parameter uses the following properties:
485+
486+
- Workload: What the DLP policy applies to. Use the value `Applications`.
487+
- Location: Where the DLP policy applies. For Microsoft 365 Copilot, (Preview), use the value `470f2276-e011-4e9d-a6ec-20768be3a4b0`.
488+
- Inclusions: Who the DLP policy applies to. For users, use the email address in this syntax: `{Type:IndividualResource,Identity:<EmailAddress>}`. For security groups or distribution groups, use the ObjectId value of the group from the Microsoft Entra portal in this syntax: `{Type:Group,Identity:<ObjectId>}`. For the entire tenant, use this value: `{Type:"Tenant",Identity:"All"}`.
489+
- Exclusions: Exclude security groups, distribution groups, or users from the scope of this DLP policy. For users, use the email address in this syntax: `{Type:IndividualResource,Identity:<EmailAddress>}`. For groups, use the ObjectId value of the group from the Microsoft Entra portal in this syntax: `{Type:Group, Identity:<ObjectId>}`.
490+
491+
You create and store the properties in a variable as shown in the following examples:
492+
493+
DLP policy scoped to all users in the tenant:
494+
495+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant",Identity:"All"}]}]"`
496+
497+
DLP policy scoped to the specified user and groups:
498+
499+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"},{"Type":"Group","Identity":"b4dc1e1d-8193-4525-b59c-6d6e0f1718d2"},{"Type":"IndividualResource","Identity":"[email protected]"}]}]"`
500+
501+
DLP policy scoped to all users in the tenant except for members of the specified group:
502+
503+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant",Identity:"All"}]}],"Exclusions":[{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"}]}]"`
504+
505+
After you create the `$loc` variable as shown in the previous examples, use the value `$loc` for this parameter.
431506

432507
```yaml
433508
Type: String

exchange/exchange-ps/exchange/Set-DlpCompliancePolicy.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,28 @@ Accept wildcard characters: False
743743
```
744744

745745
### -Locations
746-
{{ Fill Locations Description }}
746+
The Locations parameter specifies to whom, what, and where the DLP policy applies. This parameter uses the following properties:
747+
748+
- Workload: What the DLP policy applies to. Use the value `Applications`.
749+
- Location: Where the DLP policy applies. For Microsoft 365 Copilot, (Preview), use the value `470f2276-e011-4e9d-a6ec-20768be3a4b0`.
750+
- AddInclusions or RemoveInclusions: Add or remove security groups, distribution groups, or users to or from the scope of this DLP policy. For users, use the email address in this syntax: `{Type:IndividualResource,Identity:<EmailAddress>}`. For security groups or distribution groups, use the ObjectId value of the group from the Microsoft Entra portal in this syntax: `{Type:Group,Identity:<ObjectId>}`.
751+
- AddExclusions or RemoveExclusions: Add or remove security groups, distribution groups, or users to or from exclusions to the scope of this DLP policy. For users, use the email address in this syntax: `{Type:IndividualResource,Identity:<EmailAddress>}`. For security groups or distribution groups, use the ObjectId value of the group from the Microsoft Entra portal in this syntax: `{Type:Group,Identity:<ObjectId>}`.
752+
753+
You create and store the properties in a variable as shown in the following examples:
754+
755+
DLP policy scoped to all users in the tenant:
756+
757+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","AddInclusions":[{Type:"Tenant",Identity:"All"}]}]"`
758+
759+
DLP policy scoped to the specified user and groups:
760+
761+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","AddInclusions":[{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"},{"Type":"Group","Identity":"b4dc1e1d-8193-4525-b59c-6d6e0f1718d2"},{"Type":"IndividualResource","Identity":"[email protected]"}]}]"`
762+
763+
DLP policy scoped to all users in the tenant except for members of the specified group:
764+
765+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","AddInclusions":[{Type:"Tenant",Identity:"All"}],"AddExclusions": [{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"},{"Type":"Group","Identity":"b4dc1e1d-8193-4525-b59c-6d6e0f1718d2"}]}]`
766+
767+
After you create the `$loc` variable as shown in the previous examples, use the value `$loc` for this parameter.
747768

748769
```yaml
749770
Type: String

teams/teams-ps/teams/Find-CsGroup.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ online version: https://learn.microsoft.com/powershell/module/teams/find-csgroup
44
applicable: Microsoft Teams
55
title: Find-CsGroup
66
schema: 2.0.0
7-
manager: bulenteg
8-
author: tomkau
9-
ms.author: tomkau
10-
ms.reviewer: williamlooney
117
---
128

139
# Find-CsGroup
@@ -18,7 +14,7 @@ Use the Find-CsGroup cmdlet to search groups.
1814
## SYNTAX
1915

2016
```
21-
Find-CsGroup [-Tenant <Guid>] -SearchQuery <String> [-MaxResults <UInt32>] [-ExactMatchOnly <Boolean>]
17+
Find-CsGroup [-Tenant <Guid>] -SearchQuery <String> [-MaxResults <UInt32>] [-ExactMatchOnly <Boolean>] [-MailEnabledOnly <Boolean>]
2218
[-Force] [<CommonParameters>]
2319
```
2420

@@ -107,6 +103,21 @@ Accept pipeline input: False
107103
Accept wildcard characters: False
108104
```
109105
106+
### -MailEnabledOnly
107+
Instructs the cmdlet to return mail enabled only groups.
108+
109+
```yaml
110+
Type: Boolean
111+
Parameter Sets: (All)
112+
Aliases:
113+
114+
Required: False
115+
Position: Named
116+
Default value: None
117+
Accept pipeline input: False
118+
Accept wildcard characters: False
119+
```
120+
110121
### -Tenant
111122
This parameter is reserved for internal Microsoft use.
112123

teams/teams-ps/teams/Get-CsHybridTelephoneNumber.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This cmdlet displays information about one or more hybrid telephone numbers.
1919

2020
### Assignment (Default)
2121
```powershell
22-
Get-CsHybridTelephoneNumber [-TelephoneNumber <string>] [<CommonParameters>]
22+
Get-CsHybridTelephoneNumber [-TelephoneNumber <string>] -InputObject <IConfigApiBasedCmdletsIdentity> [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
@@ -69,6 +69,21 @@ Accept pipeline input: False
6969
Accept wildcard characters: False
7070
```
7171
72+
### -InputObject
73+
The identity parameter.
74+
75+
```yaml
76+
Type: IConfigApiBasedCmdletsIdentity
77+
Parameter Sets: GetViaIdentity
78+
Aliases:
79+
80+
Required: True
81+
Position: Named
82+
Default value: None
83+
Accept pipeline input: True (ByValue)
84+
Accept wildcard characters: False
85+
```
86+
7287
### CommonParameters
7388
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).
7489
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
---
2+
external help file: MicrosoftTeams-help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://learn.microsoft.com/powershell/module/teams/get-csonlineaudioconferencingroutingpolicy
5+
schema: 2.0.0
6+
---
7+
8+
# Get-CsOnlineAudioConferencingRoutingPolicy
9+
10+
## SYNOPSIS
11+
12+
This cmdlet retrieves all online audio conferencing routing policies for the tenant.
13+
14+
## SYNTAX
15+
16+
### Identity (Default)
17+
18+
```powershell
19+
Get-CsOnlineAudioConferencingRoutingPolicy [[-Identity] <String>] [-MsftInternalProcessingMode <String>]
20+
[<CommonParameters>]
21+
```
22+
23+
### Filter
24+
25+
```powershell
26+
Get-CsOnlineAudioConferencingRoutingPolicy [-MsftInternalProcessingMode <String>] [-Filter <String>]
27+
[<CommonParameters>]
28+
```
29+
30+
## DESCRIPTION
31+
32+
Teams meeting dial-out calls are initiated from within a meeting in your organization to PSTN numbers, including call-me-at calls and calls to bring new participants to a meeting.
33+
34+
To enable Teams meeting dial-out routing through Direct Routing to on-network users, you need to create and assign an Audio Conferencing routing policy called "OnlineAudioConferencingRoutingPolicy."
35+
36+
The OnlineAudioConferencingRoutingPolicy policy is equivalent to the CsOnlineVoiceRoutingPolicy for 1:1 PSTN calls via Direct Routing.
37+
38+
Audio Conferencing voice routing policies determine the available routes for calls from meeting dial-out based on the destination number. Audio Conferencing voice routing policies link to PSTN usages, determining routes for meeting dial-out calls by associated organizers.
39+
40+
## EXAMPLES
41+
42+
### Example 1
43+
44+
```powershell
45+
PS C:\> Get-CsOnlineAudioConferencingRoutingPolicy
46+
```
47+
48+
Retrieves all Online Audio Conferencing Routing Policy instances
49+
50+
## PARAMETERS
51+
52+
### -Filter
53+
54+
Enables you to use wildcard characters when indicating the policy (or policies) to be returned. To return a collection of all the per-user policies, use this syntax: -Filter "tag:*".
55+
56+
```yaml
57+
Type: String
58+
Parameter Sets: Filter
59+
Aliases:
60+
61+
Required: False
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: False
65+
Accept wildcard characters: False
66+
```
67+
68+
### -Identity
69+
70+
The identity of the Online Audio Conferencing Routing Policy.
71+
72+
```yaml
73+
Type: String
74+
Parameter Sets: Identity
75+
Aliases:
76+
77+
Required: False
78+
Position: 1
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
84+
### -MsftInternalProcessingMode
85+
86+
For internal use only.
87+
88+
```yaml
89+
Type: String
90+
Parameter Sets: (All)
91+
Aliases:
92+
93+
Required: False
94+
Position: Named
95+
Default value: None
96+
Accept pipeline input: False
97+
Accept wildcard characters: False
98+
```
99+
100+
### CommonParameters
101+
102+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
103+
104+
## INPUTS
105+
106+
### None
107+
108+
## OUTPUTS
109+
110+
### System.Object
111+
112+
## NOTES
113+
114+
## RELATED LINKS
115+
116+
[New-CsOnlineAudioConferencingRoutingPolicy](New-CsOnlineAudioConferencingRoutingPolicy.md)
117+
[Remove-CsOnlineAudioConferencingRoutingPolicy](Remove-CsOnlineAudioConferencingRoutingPolicy.md)
118+
[Grant-CsOnlineAudioConferencingRoutingPolicy](Grant-CsOnlineAudioConferencingRoutingPolicy.md)
119+
[Set-CsOnlineAudioConferencingRoutingPolicy](Set-CsOnlineAudioConferencingRoutingPolicy.md)

teams/teams-ps/teams/Get-CsOnlineUser.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,34 @@ A recent fix has addressed an issue where some Guest users were being omitted fr
315315
- Conferencing_RequiresCommunicationCredits: Allows pay-per minute Audio Conferencing without monthly licenses.
316316
- CommunicationCredits: Enables users to pay Teams calling and conferencing through the credits.
317317

318+
**Updates in Teams PowerShell Module version 6.8.0 and later**:
319+
320+
New policies - TeamsBYODAndDesksPolicy, TeamsAIPolicy, TeamsWorkLocationDetectionPolicy, TeamsMediaConnectivityPolicy, TeamsMeetingTemplatePermissionPolicy, TeamsVirtualAppointmentsPolicy and TeamsWorkLoadPolicy will be visible in the Get-CsOnlineUser cmdlet output.
321+
322+
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 6.8.0 or later for Microsoft Teams operated by 21Vianet. These updates will be rolled out gradually to older Microsoft Teams PowerShell versions.
323+
324+
The following attributes are populated with correct values in the output of Get-CsOnlineUser when not using the "-identity" parameter:
325+
326+
- CountryAbbreviation
327+
- UserValidationErrors
328+
- WhenCreated
329+
330+
The following updates are applicable to the output in scenarios where "-identity" parameter is not used:
331+
332+
- Only valid OnPrem users would be available in the output: These are users that are DirSyncEnabled and have a valid OnPremSipAddress or SIP address in ShadowProxyAddresses.
333+
- Guest are available in the output
334+
- Unlicensed Users: Unlicensed users would show up in the output of Get-CsOnlineUser (note Unlicensed users in commercial clouds would show up in the output for only 30 days post-license removal.)
335+
- Soft deleted users: These users will be displayed in the output of Get-CsOnlineUser and the TAC Manage Users page by default with SoftDeletionTimestamp set to a value.
336+
- AccountType as Unknown will be renamed to AccountType as IneligibleUser in GCC High and DoD environments. IneligibleUser will include users who do not have any valid Teams licenses (except Guest, SfbOnPremUser, ResourceAccount).
337+
338+
If any information is required for a user that is not available in the output (when not using "-identity" parameter) then it can be obtained using the "-identity" parameter. Information for all users would be available using the "-identity" parameter until they are hard deleted.
339+
340+
If Guest, Soft Deleted Users, IneligibleUser are not required in the output then they can be filtered out by using filter on AccountType and SoftDeletionTimestamp. For example:
341+
342+
- Get-CsOnlineUser -Filter {AccountType -ne 'Guest'}
343+
- Get-CsOnlineUser -Filter {SoftDeletionTimestamp -eq $null}
344+
- Get-CsOnlineUser -Filter {AccountType -ne 'IneligibleUser'}
345+
318346
**Updates in Teams PowerShell Module version 6.1.1 Preview and later**:
319347

320348
The following updates are applicable for organizations that use Microsoft Teams PowerShell version 6.1.1 (Targeted Release: April 15th, 2024) or later. These changes will be gradually rolled out for all tenants starting from April 26th, 2024.

teams/teams-ps/teams/Get-CsPolicyPackage.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ This cmdlet supports retrieving all the policy packages available on a tenant.
1717

1818
## SYNTAX
1919

20-
```
21-
Get-CsPolicyPackage [[-Identity] <String>] [<CommonParameters>]
20+
```powershell
21+
Get-CsPolicyPackage [[-Identity] <String>] -InputObject <IConfigApiBasedCmdletsIdentity> [<CommonParameters>]
2222
```
2323

2424
## DESCRIPTION
@@ -80,6 +80,22 @@ Accept pipeline input: False
8080
Accept wildcard characters: False
8181
```
8282
83+
### -InputObject
84+
85+
The identity parameter.
86+
87+
```yaml
88+
Type: IConfigApiBasedCmdletsIdentity
89+
Parameter Sets: GetViaIdentity
90+
Aliases:
91+
92+
Required: True
93+
Position: Named
94+
Default value: None
95+
Accept pipeline input: True (ByValue)
96+
Accept wildcard characters: False
97+
```
98+
8399
### CommonParameters
84100
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).
85101

0 commit comments

Comments
 (0)