You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a script that is creating a MS Team and a Shared Channel. When I go to add a new member to the Shared Channel using New-MgTeamChannelMember, I'm continually getting this error:
"New-MgTeamChannelMember: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided."
Below is the code I am executing (commented out code is a variation I have been trying with the same result). Can anyone provide any suggestions on how I can get around this/what I'm doing incorrectly in my code? $userID parameter I've tried the users ID and UPN, same results.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a script that is creating a MS Team and a Shared Channel. When I go to add a new member to the Shared Channel using New-MgTeamChannelMember, I'm continually getting this error:
"New-MgTeamChannelMember: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided."
Below is the code I am executing (commented out code is a variation I have been trying with the same result). Can anyone provide any suggestions on how I can get around this/what I'm doing incorrectly in my code? $userID parameter I've tried the users ID and UPN, same results.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions