Skip to content

Commit

Permalink
Merge pull request #4695 from ricmestre/fixspotenantsettings
Browse files Browse the repository at this point in the history
SPOTenantSettings: Remove property UserVoiceForFeedbackEnabled
  • Loading branch information
NikCharlebois committed May 22, 2024
2 parents 381a3f3 + 28624b4 commit 516b3d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
* SPOTenantCdnPolicy
* If properties in the tenant are empty then export them as empty arrays
instead of null strings, missed while fixing #4658
* SPOTenantSettings
* Remove property UserVoiceForFeedbackEnabled when setting the resource since
it has been deprecated
* M365DSCUtil
* Fixed an issue in `Assert-M365DSCBlueprint` where the clone and export
of a blueprint with a GUID could lead to configuration name starting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ function Set-TargetResource
$CurrentParameters.Remove('AccessTokens') | Out-Null

$CurrentParameters.Remove('TenantDefaultTimezone') | Out-Null # this one is updated separately using Graph
if ($CurrentParameters.Keys.Contains('UserVoiceForFeedbackEnabled'))
{
Write-Verbose -Message 'Property UserVoiceForFeedbackEnabled is deprecated, removing it'
$CurrentParameters.Remove('UserVoiceForFeedbackEnabled') | Out-Null
}

if ($PublicCdnEnabled -eq $false)
{
Expand Down

0 comments on commit 516b3d6

Please sign in to comment.