I wanted to add a list of members to Microsoft Teams but couldn't do it easily like adding multiple emails in gmail.
I read in a link that I can use PowerShell commands but I get error results.
Update1: After getting the solution in the first answer, I was able to pass the first error. In the previous picture.
Now I want to proceed and run the rest of commands and I reached this command and can't get through it.
This is the error message on PowerShell:
This is the link I got the idea from: Adding bulk users from a .csv file to a Microsoft Teams team
I tried the next commands you provided but here's a picture. I have problems running the commands.
It could be some admin privileges I don't have in my rig, even I tried before to set myself as the main admin of the rig.
But anyway I solved the issue from another perspective. I used some excel functions to lookup the numbers I want and solved the problem that I wanted to run these commands for which is to add members in bulk for Microsoft Teams.