Bug in MicrosoftTeams PS Module - Set-team to alter GiphyContentRating
I think there is a bug with the Set-Team cmdlet.
If I run "get-team -GroupId dbeda73c-c317-42f5-8fe1-9aa3f159c1a4 | select -ExpandProperty GiphyContentRating" it returns "strict".
But if you then wish to alter this to "moderate", set-team fracks things up.
"Set-Team -groupid dbeda73c-c317-42f5-8fe1-9aa3f159c1a4 -GiphyContentRating moderate" doesn't change from strict to moderate, it simply "does" nothing it would seem. However if you try this "Set-Team -groupid dbeda73c-c317-42f5-8fe1-9aa3f159c1a4 -GiphyContentRating strict" it will change the GiphyContentRating to moderate
I've had others in the PowerShell Community test and verifiy the issue of this bug.
So I recon you have an enumration issue some place in the module. Time to Open source this module?
Stolen screenshots from Brett Miller, thanks.