You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyCalPerms.ps1
+53-28Lines changed: 53 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,21 @@ Function Invoke-ExecModifyCalPerms {
5
5
.FUNCTIONALITY
6
6
Entrypoint
7
7
.ROLE
8
-
Exchange.Calendar.ReadWrite
8
+
Exchange.Mailbox.ReadWrite
9
9
#>
10
10
[CmdletBinding()]
11
11
param($Request,$TriggerMetadata)
12
12
13
13
$APIName=$Request.Params.CIPPEndpoint
14
14
Write-LogMessage-headers $Request.Headers-API $APINAME-message 'Accessed this API'-Sev 'Debug'
$null=$results.Add("Granted $($TargetUser)$($PermissionLevel) access to $($username) Calendar$($CanViewPrivateItems?' with access to private items' : '')")
$null=$results.Add("Updated $($TargetUser)$($PermissionLevel) access to $($username) Calendar$($CanViewPrivateItems?' with access to private items' : '')")
115
+
}
88
116
}
89
-
90
-
$Result=Set-CIPPCalendarPermission@Params
91
-
92
-
$null=$results.Add($Result)
93
117
Write-LogMessage-headers $Request.Headers-API $APINAME-message "Successfully executed $($PermissionLevel) permission modification for $($TargetUser) on $($username)"-Sev 'Info'-tenant $TenantFilter
94
-
} catch {
118
+
}
119
+
catch {
95
120
$HasErrors=$true
96
121
Write-LogMessage-headers $Request.Headers-API $APINAME-message "Could not execute $($PermissionLevel) permission modification for $($TargetUser) on $($username). Error: $($_.Exception.Message)"-Sev 'Error'-tenant $TenantFilter
97
122
$null=$results.Add("Could not execute $($PermissionLevel) permission modification for $($TargetUser) on $($username). Error: $($_.Exception.Message)")
@@ -112,4 +137,4 @@ Function Invoke-ExecModifyCalPerms {
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardDeployContactTemplates.ps1
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,22 @@ function Invoke-CIPPStandardDeployContactTemplates {
5
5
.COMPONENT
6
6
(APIName) DeployContactTemplates
7
7
.SYNOPSIS
8
-
(Label) Deploy Contact Templates
8
+
(Label) Deploy Mail Contact Template
9
9
.DESCRIPTION
10
-
(Helptext) Creates a new contacts in Exchange Online across all selected tenants from saved contact templates. The contact will be visible in the Global Address List unless hidden.
11
-
(DocsDescription) This standard creates new contacts in Exchange Online from saved contact templates. Mail contacts are useful for adding external email addresses to your organization's address book. They can be used for distribution lists, shared mailboxes, and other collaboration scenarios.
10
+
(Helptext) Creates new mail contacts in Exchange Online across all selected tenants based on the selected templates. The contact will be visible in the Global Address List unless hidden.
11
+
(DocsDescription) This standard creates new mail contacts in Exchange Online based on the selected templates. Mail contacts are useful for adding external email addresses to your organization's address book. They can be used for distribution lists, shared mailboxes, and other collaboration scenarios.
{"type":"autoComplete","multiple":true,"creatable":false,"label":"Select Mail Contact Templates","name":"standards.DeployContactTemplates.templateIds","api":{"url":"/api/ListContactTemplates","labelField":"name","valueField":"GUID","queryKey":"Contact Templates"}}
0 commit comments