Skip to content

Commit

Permalink
Merge pull request #2790 from NikCharlebois/Fix-#2789
Browse files Browse the repository at this point in the history
Fixes #2789
  • Loading branch information
NikCharlebois authored Jan 16, 2023
2 parents 3c8fbde + 31671f5 commit 38f645e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
* PlannerTask
* Refactored to leverage the official cmdlets instead of using the legacy GraphHandlers.
FIXES [#2767](https://github.com/microsoft/Microsoft365DSC/issues/2767)
* SCRetentionCompliancePolicy
* Fixes an issue where the SkypeLocation was trying to be converted to a string when it was an array.
FIXES [#2789](https://github.com/microsoft/Microsoft365DSC/issues/2789)
* DEPENDENCIES
* Updated Microsoft.Graph.* to version 1.20.0
* Updated MSCloudLoginAssistant to version 1.0.103
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function Set-TargetResource
throw 'You need to specify at least one Location for this Policy.'
}

if ($null -ne $SkypeLocation -and $SkypeLocation.ToLower() -eq 'all')
if ($null -ne $SkypeLocation -and $SkypeLocation -eq 'all')
{
throw 'Skype Location must be a any value that uniquely identifies the user.Ex Name, email address, GUID'
}
Expand Down

0 comments on commit 38f645e

Please sign in to comment.