Skip to content

Commit dd3b225

Browse files
authored
Merge branch 'master' into MyAnalyticsConfig-chrisda
2 parents 6b1ba8d + ee6abc8 commit dd3b225

File tree

8 files changed

+599
-8
lines changed

8 files changed

+599
-8
lines changed

exchange/exchange-ps/exchange/New-ApplicationAccessPolicy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3535

3636
Use the New-ApplicationAccessPolicy cmdlet to restrict or deny access for an application that is using Outlook REST APIs or Microsoft Graph APIs to a specific set of mailboxes. These policies are complimentary to the permission scopes that are declared by the application.
3737

38+
A limit of 100 policies per Microsoft 365 tenant is enforced as of today. An error message stating "A tenant cannot have more than 100 policies." will be displayed if this number is exceeded.
39+
3840
While the scope-based resource access like Mail.Read or Calendar.Read is effective to ensure that the application can only read mails or events within a mailbox and not do anything else; Application Access Policy feature allows admins to enforce limits that are based on a list of mailboxes. For example, in a global organization apps developed for one country shouldn’t have access to data from other countries or a CRM integration application should only access calendar of the Sales organization and no other departments.
3941

4042
Every API request using the Outlook REST APIs or Microsoft Graph APIs to a target mailbox done by an application is verified using the following rules (in the same order):

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteUserInvitations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ This example retrieves email invites stored in the ContosoWeb1 site to the user
4040

4141
### -Site
4242

43-
Specifies the URL or GUID of the site collection to get.
43+
Specifies the URL of the site collection to get.
4444

45-
The type must be a valid URL, in the form, https://server_name or https://server_name/sites/sitename, or a valid GUID (for example, 12345678-90ab-cdef-1234-567890bcdefgh).
45+
The type must be a valid URL, in the form, https://server_name or https://server_name/sites/sitename
4646

4747
```yaml
4848
Type: SpoSitePipeBind

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOHubToHubAssociation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Removes the selected hub site from its parent hub.
1919
## SYNTAX
2020

2121
```powershell
22-
Remove-SPOHubToHubAssociation [-HubSite] <SpoHubSitePipeBind> [<CommonParameters>]
22+
Remove-SPOHubToHubAssociation [-HubSiteId] <SpoHubSitePipeBind> [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
@@ -31,19 +31,19 @@ Use this cmdlet to remove the selected hub site from its parent hub.
3131
### Example 1
3232

3333
```powershell
34-
Remove-SPOHubToHubAssociation -HubSite https://contoso.sharepoint.com/sites/Research
34+
Remove-SPOHubToHubAssociation -HubSiteId 6638bd4c-d88d-447c-9eb2-c84f28ba8b15
3535
```
3636

37-
This example removes <https://contoso.sharepoint.com/sites/Research> from its parent Hub.
37+
This example removes the site with the given id from its parent Hub.
3838

3939
## PARAMETERS
4040

41-
### -Hubsite
41+
### -HubsiteId
4242

43-
Url of the Hub site to be removed from its parent Hub.
43+
Id of the Hub site to be removed from its parent Hub.
4444

4545
```yaml
46-
Type: SpoHubSitePipeBind
46+
Type: Guid
4747
Parameter Sets: (All)
4848
Aliases:
4949
Applicable: SharePoint Online
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://docs.microsoft.com/powershell/module/teams/get-teamsshiftspolicy
5+
schema: 2.0.0
6+
---
7+
8+
# Get-CsTeamsShiftsPolicy
9+
10+
## SYNOPSIS
11+
12+
This cmdlet allows you to get properties of a TeamsShiftPolicy instance, including user's shift based presence and Teams off shift warning message-specific settings.
13+
14+
## SYNTAX
15+
16+
### Identity (Default)
17+
```
18+
Get-CsTeamsShiftsPolicy [[-Identity] <XdsIdentity>] [<CommonParameters>]
19+
```
20+
21+
## DESCRIPTION
22+
This cmdlet allows you to get properties of a TeamsShiftPolicy instance. Use this to get the policy name, user's shift based presence (EnableShiftPresence) and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).
23+
24+
25+
## EXAMPLES
26+
27+
### Example 1
28+
```powershell
29+
PS C:\> Get-CsTeamsShiftsPolicy
30+
```
31+
32+
Gets the properties of all instances of the TeamsShiftPolicy.
33+
34+
### Example 2
35+
```powershell
36+
PS C:\> Get-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always
37+
```
38+
39+
Gets the properties of the OffShiftAccessMessage1Always instance of the TeamsShiftPolicy.
40+
41+
## PARAMETERS
42+
43+
### -Identity
44+
Policy instance name. Optional.
45+
46+
```yaml
47+
Type: XdsIdentity
48+
Parameter Sets: Identity
49+
Aliases:
50+
Applicable: Microsoft Teams
51+
Required: False
52+
Position: 1
53+
Default value: None
54+
Accept pipeline input: False
55+
Accept wildcard characters: False
56+
```
57+
58+
### CommonParameters
59+
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).
60+
61+
62+
## INPUTS
63+
64+
### None
65+
66+
## OUTPUTS
67+
68+
### System.Object
69+
## NOTES
70+
71+
## RELATED LINKS
72+
73+
[Get-CsTeamsShiftsPolicy](Set-CsTeamsShiftsPolicy.md)
74+
75+
[New-CsTeamsShiftsPolicy](New-CsTeamsShiftsPolicy.md)
76+
77+
[Remove-CsTeamsShiftsPolicy](Remove-CsTeamsShiftsPolicy.md)
78+
79+
[Grant-CsTeamsShiftsPolicy](Grant-CsTeamsShiftsPolicy.md)
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://docs.microsoft.com/powershell/module/teams/grant-teamsshiftspolicy
5+
schema: 2.0.0
6+
---
7+
8+
# Grant-CsTeamsShiftsPolicy
9+
10+
## SYNOPSIS
11+
12+
This commandlet supports applying the TeamsShiftsPolicy to users in a tenant.
13+
14+
## SYNTAX
15+
16+
```
17+
Grant-CsTeamsShiftsPolicy [[-Identity] <UserIdParameter>] [-PolicyName] <String> [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
This commandlet enables admins to grant Shifts specific policy settings to users in their tenant.
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> Grant-CsTeamsShiftsPolicy -Identity [email protected] -PolicyName OffShiftAccessMessage1Always
28+
```
29+
Applies the OffShiftAccessMessage1Always instance of TeamsShiftsPolicy to one user in the tenant.
30+
31+
## PARAMETERS
32+
33+
### -Identity
34+
UserId to whom the policy is granted. Email id is acceptable.
35+
36+
```yaml
37+
Type: UserIdParameter
38+
Parameter Sets: Identity
39+
Aliases:
40+
Applicable: Microsoft Teams
41+
Required: False
42+
Position: 0
43+
Default value: None
44+
Accept pipeline input: True (ByPropertyName, ByValue)
45+
Accept wildcard characters: False
46+
```
47+
48+
### -PolicyName
49+
The name of the TeamsShiftsPolicy instance that is being applied to the user.
50+
51+
```yaml
52+
Type: String
53+
Parameter Sets: (All)
54+
Aliases:
55+
Applicable: Microsoft Teams
56+
Required: True
57+
Position: 1
58+
Default value: None
59+
Accept pipeline input: False
60+
Accept wildcard characters: False
61+
```
62+
63+
### CommonParameters
64+
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).
65+
66+
67+
## INPUTS
68+
69+
### Microsoft.Rtc.Management.AD.UserIdParameter
70+
71+
## OUTPUTS
72+
73+
### System.Object
74+
## NOTES
75+
76+
## RELATED LINKS
77+
78+
[Get-CsTeamsShiftsPolicy](Get-CsTeamsShiftsPolicy.md)
79+
80+
[New-CsTeamsShiftsPolicy](New-CsTeamsShiftsPolicy.md)
81+
82+
[Set-CsTeamsShiftsPolicy](Set-CsTeamsShiftsPolicy.md)
83+
84+
[Remove-CsTeamsShiftsPolicy](Remove-CsTeamsShiftsPolicy.md)

0 commit comments

Comments
 (0)