Problems using New-MgTeamChannelMember #3370
              
                Unanswered
              
          
                  
                    
                      karenk-tara
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 2 replies
-
| Hi @karenk-tara | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a script that is generate a Microsoft Team with a private channel. Once this private channel is created, I want to add specific individuals to the channel. Every time I'm executing New-MgTeamChannelMember I'm getting a "Parameter set cannot be resolved using the name parameters" message. I've look at this over and compared to numerous other examples of how this should look and I'm at a loss as to what is wrong. Could someone provide some guidance as to how I can resolve this?
I'm using version 2.28.0
The code being executed:

Error being returned:

Beta Was this translation helpful? Give feedback.
All reactions