Skip to content

Commit 36499fd

Browse files
authored
Merge branch 'master' into islubin-patch-9
2 parents 4601bcf + d65d66f commit 36499fd

File tree

4 files changed

+135
-20
lines changed

4 files changed

+135
-20
lines changed

skype/skype-ps/skype/Grant-CsTeamsAppPermissionPolicy.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ schema: 2.0.0
99

1010
## SYNOPSIS
1111

12+
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Permission Policies: https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies.
13+
14+
**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.**
15+
16+
You can use this cmdlet to assign a specific custom policy to a user.
17+
1218
## SYNTAX
1319

1420
### Identity (Default)
@@ -24,16 +30,20 @@ Grant-CsTeamsAppPermissionPolicy [-PolicyName] <String> [-Tenant <System.Guid>]
2430
```
2531

2632
## DESCRIPTION
27-
{{Fill in the Description}}
33+
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Permission Policies: https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies.
34+
35+
**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.**
36+
37+
You can use this cmdlet to assign a specific custom policy to a user.
2838

2939
## EXAMPLES
3040

3141
### Example 1
3242
```powershell
33-
PS C:\> {{ Add example code here }}
43+
PS C:\> Grant-CsTeamsAppPermissionPolicy -Identity "Ken Myer" -PolicyName StudentAppPermissionPolicy
3444
```
3545

36-
{{ Add example description here }}
46+
In this example, a user with identity "Ken Myer" is being assigned the StudentAppPermissionPolicy
3747

3848
## PARAMETERS
3949

@@ -53,8 +63,7 @@ Accept wildcard characters: False
5363
```
5464
5565
### -DomainController
56-
{{Fill DomainController Description}}
57-
66+
Do not use.
5867
```yaml
5968
Type: Fqdn
6069
Parameter Sets: (All)
@@ -68,7 +77,7 @@ Accept wildcard characters: False
6877
```
6978
7079
### -Global
71-
{{Fill Global Description}}
80+
Resets the values in the global policy to match those in the provided (PolicyName) policy. Note that this means all users with no explicit policy assigned will have these new policy settings.
7281
7382
```yaml
7483
Type: SwitchParameter
@@ -83,7 +92,7 @@ Accept wildcard characters: False
8392
```
8493
8594
### -Identity
86-
{{Fill Identity Description}}
95+
The user to whom the policy should be assigned.
8796
8897
```yaml
8998
Type: UserIdParameter
@@ -98,7 +107,6 @@ Accept wildcard characters: False
98107
```
99108
100109
### -PassThru
101-
{{Fill PassThru Description}}
102110
103111
```yaml
104112
Type: SwitchParameter
@@ -113,7 +121,7 @@ Accept wildcard characters: False
113121
```
114122
115123
### -PolicyName
116-
{{Fill PolicyName Description}}
124+
The name of the custom policy that is being assigned to the user. To remove a specific assignment and fall back to the default tenant policy, you can assign to $Null.
117125
118126
```yaml
119127
Type: String
@@ -128,7 +136,7 @@ Accept wildcard characters: False
128136
```
129137
130138
### -Tenant
131-
{{Fill Tenant Description}}
139+
Do not use.
132140
133141
```yaml
134142
Type: System.Guid

skype/skype-ps/skype/New-CsTeamsAppPermissionPolicy.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@ schema: 2.0.0
99

1010
## SYNOPSIS
1111

12+
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Setup Policies: https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies.
13+
14+
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.**
15+
1216
## SYNTAX
1317

1418
## DESCRIPTION
15-
{{Fill in the Description}}
19+
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Setup Policies: https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies.
20+
21+
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.**
1622

1723
## EXAMPLES
1824

1925
### Example 1
20-
```powershell
21-
PS C:\> {{ Add example code here }}
22-
```
23-
24-
{{ Add example description here }}
26+
Intentionally omitted.
2527

2628
## PARAMETERS
2729

skype/skype-ps/skype/Remove-CsTeamsAppPermissionPolicy.md

Lines changed: 102 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,123 @@ schema: 2.0.0
99

1010
## SYNOPSIS
1111

12+
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Permission Policies: https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies.
13+
14+
**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.**
15+
16+
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.
17+
1218
## SYNTAX
1319

20+
```
21+
Remove-CsTeamsAppSetupPolicy [-Tenant <Guid>] [-Identity] <XdsIdentity> [-Force] [-WhatIf] [-Confirm]
22+
[<CommonParameters>]
23+
```
24+
1425
## DESCRIPTION
15-
{{Fill in the Description}}
26+
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Permission Policies: https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies.
27+
28+
**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.**
29+
30+
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.
1631

1732
## EXAMPLES
1833

1934
### Example 1
2035
```powershell
21-
PS C:\> {{ Add example code here }}
36+
PS C:\> Remove-CsTeamsAppPermissionPolicy -Identity SalesPolicy
2237
```
2338

24-
{{ Add example description here }}
39+
Deletes a custom policy that has already been created in the organization.
2540

2641
## PARAMETERS
2742

43+
### -Identity
44+
Unique identifier for the policy to be removed.
45+
To "remove" the global policy, use the following syntax: `-Identity global`.
46+
(Note that the global policy cannot actually be removed. Instead, all the properties in that policy will be reset to their default values.) To remove a per-user policy, use syntax similar to this: `-Identity "SalesDepartmentPolicy"`.
47+
You cannot use wildcards when specifying a policy Identity.
48+
49+
```yaml
50+
Type: XdsIdentity
51+
Parameter Sets: (All)
52+
Aliases:
53+
Applicable: Skype for Business Online
54+
55+
Required: True
56+
Position: 2
57+
Default value: None
58+
Accept pipeline input: True (ByPropertyName)
59+
Accept wildcard characters: False
60+
```
61+
62+
### -Force
63+
Suppresses all non-fatal errors.
64+
65+
```yaml
66+
Type: SwitchParameter
67+
Parameter Sets: (All)
68+
Aliases:
69+
Applicable: Skype for Business Online
70+
71+
Required: False
72+
Position: Named
73+
Default value: None
74+
Accept pipeline input: False
75+
Accept wildcard characters: False
76+
```
77+
78+
### -WhatIf
79+
Describes what would happen if you executed the command without actually executing the command.
80+
81+
```yaml
82+
Type: SwitchParameter
83+
Parameter Sets: (All)
84+
Aliases: wi
85+
Applicable: Skype for Business Online
86+
87+
Required: False
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: False
91+
Accept wildcard characters: False
92+
```
93+
94+
### -Confirm
95+
Prompts you for confirmation before executing the command.
96+
97+
```yaml
98+
Type: SwitchParameter
99+
Parameter Sets: (All)
100+
Aliases: cf
101+
Applicable: Skype for Business Online
102+
103+
Required: False
104+
Position: Named
105+
Default value: None
106+
Accept pipeline input: False
107+
Accept wildcard characters: False
108+
```
109+
110+
### -Tenant
111+
Internal Microsoft use only.
112+
113+
```yaml
114+
Type: Guid
115+
Parameter Sets: (All)
116+
Aliases:
117+
Applicable: Skype for Business Online
118+
119+
Required: False
120+
Position: Named
121+
Default value: None
122+
Accept pipeline input: False
123+
Accept wildcard characters: False
124+
```
125+
28126
### CommonParameters
29127
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
30-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
128+
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
31129
32130
## INPUTS
33131

skype/skype-ps/skype/Set-CsUser.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ In Example 2, all the users in the Finance department have their accounts enable
5959
In this command, the `Get-CsUser` cmdlet and the LdapFilter parameter are first used to return a collection of all the users who work in the Finance department.
6060
That information is then piped to the `Set-CsUser` cmdlet, which enables Enterprise Voice for each account in the collection.
6161

62+
### -------------------------- Example 3 --------------------------
63+
```
64+
Set-CsUser -Identity "Pilar Ackerman" –LineUri "tel:+123456789"
65+
```
66+
67+
In Example 3, the `Set-CsUser` cmdlet is used to modify the user account with the Identity Pilar Ackerman.
68+
In this case, the account is modified to set the phone number assigned to the user settings its LineUri property.
6269

6370
## PARAMETERS
6471

0 commit comments

Comments
 (0)