We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec875a7 commit cc37f24Copy full SHA for cc37f24
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecSetOoO.ps1
@@ -1,6 +1,6 @@
1
using namespace System.Net
2
3
-Function Invoke-ExecSetOoO {
+function Invoke-ExecSetOoO {
4
<#
5
.FUNCTIONALITY
6
Entrypoint
@@ -17,8 +17,7 @@ Function Invoke-ExecSetOoO {
17
18
$Username = $Request.Body.userId
19
$TenantFilter = $Request.Body.tenantFilter
20
- $State = $Request.Body.AutoReplyState.value
21
-
+ $State = $Request.Body.AutoReplyState.value ?? $Request.Body.AutoReplyState
22
$SplatParams = @{
23
userid = $Username
24
tenantFilter = $TenantFilter
0 commit comments