New-MgGroup not working using BodyParameter (asking for mailEnabled value despite being set) #3212
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
I am trying to create a new Microsoft 365 Group (before converting it to a Teams team).
I am trying to create the group using the New-MgGroup Cmdlet along with the -BodyParameter parameter, especially to select the group owner.
The same code used to work in version 2.25 and below, suddenly stopped working in 2.26.1. I installed v2.25 back and it works again with this version.
Expected behavior
How to reproduce
Throws the below error :
SDK Version
2.26.1
Latest version known to work for scenario above?
2.25
Known Workarounds
It works this way :
New-MgGroup @params
But then I can't use the following parameter in the set :
Debug output
Click to expand log
Configuration
Powershell integrated terminal in VS Code
Other information
The request body seems truncated in the HTTP post request.
The text was updated successfully, but these errors were encountered: