Best Practices for adding a large number of guest users to a Team

%3CLINGO-SUB%20id%3D%22lingo-sub-1804478%22%20slang%3D%22en-US%22%3EBest%20Practices%20for%20adding%20a%20large%20number%20of%20guest%20users%20to%20a%20Team%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1804478%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20of%20the%20departments%20at%20our%20University%20is%20planning%20to%20use%20Teams%20to%20host%20a%20virtual%20conference%20in%20January.%20This%20will%20involve%20adding%20500%2B%20guests%2C%20so%20the%20GUI%20method%20is%20not%20going%20to%20be%20practical.%20I'd%20prefer%20to%20use%20Powershell%20to%20do%20it%20since%20it's%20fairly%20easy%20to%20pull%20in%20lists%20of%20emails%20from%20a%20CSV%20file%20and%20loop%20through%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20MicrosoftTeams%20module%20in%20Powershell%20does%20have%20an%20%22Add-TeamUser%22%20cmdlet%2C%20but%20it%20requires%20that%20the%20user%20already%20exist%20in%20Azure%20AD%20(either%20a%20native%20user%20or%20a%20guest%20who%20has%20been%20invited).%20OK%2C%20so%20there's%20another%20cmdlet%20in%20the%20AzureAD%20module%20-%20%22New-AzureADMSInvitation%22%20-%20that%20can%20be%20used%20to%20invite%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20my%20plan%20is%20to%20run%26nbsp%3BNew-AzureADMSInvitation%20to%20send%20the%20invitations%2C%20then%20Add-TeamUser%20to%20add%20them%20to%20the%20Team.%20Here's%20the%20problem%3A%20if%20they%20haven't%26nbsp%3B%3CEM%3Eaccepted%3C%2FEM%3E%20the%20invitation%2C%20the%20typical%20%22You've%20been%20added%20to%20a%20Team%22%20email%20is%26nbsp%3B%3CEM%3Enot%3C%2FEM%3E%20sent.%20So%2C%20I%20somehow%20need%20to%20be%20able%20to%20know%20when%2Fif%20they%20accept%20the%20invitation%2C%20so%20I%20can%20then%20add%20them%20to%20the%20Team.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnless%20there's%20some%20better%20method%20for%20this%20that%20I'm%20totally%20overlooking%20or%20unaware%20of.%20Also%2C%20to%20be%20up-front%2C%20I%20am%20not%20a%20Teams%20or%20Global%20admin%2C%20so%20don't%20have%20access%20to%20the%20Teams%20admin%20center.%20I%20do%20have%20a%20SharePoint%20admin%20role%2C%20but%20that%20doesn't%20really%20help%20in%20this%20situation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1804478%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBest%20Practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGuest%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1804633%22%20slang%3D%22en-US%22%3ERe%3A%20Best%20Practices%20for%20adding%20a%20large%20number%20of%20guest%20users%20to%20a%20Team%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1804633%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20check%20the%20invitation%2Fredemption%20status%20via%20PowerShell%2C%20so%20you%20can%20postpone%20adding%20to%20the%20team%20until%20that%20point%2C%20if%20sending%20the%20email%20is%20that%20important.%20Also%2C%20you%20can%20bulk%20invite%20guest%20users%20via%20the%20Azure%20AD%20portal%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fexternal-identities%2Ftutorial-bulk-invite%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fexternal-identities%2Ftutorial-bulk-invite%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

One of the departments at our University is planning to use Teams to host a virtual conference in January. This will involve adding 500+ guests, so the GUI method is not going to be practical. I'd prefer to use Powershell to do it since it's fairly easy to pull in lists of emails from a CSV file and loop through them.

 

The MicrosoftTeams module in Powershell does have an "Add-TeamUser" cmdlet, but it requires that the user already exist in Azure AD (either a native user or a guest who has been invited). OK, so there's another cmdlet in the AzureAD module - "New-AzureADMSInvitation" - that can be used to invite them.

 

So, my plan is to run New-AzureADMSInvitation to send the invitations, then Add-TeamUser to add them to the Team. Here's the problem: if they haven't accepted the invitation, the typical "You've been added to a Team" email is not sent. So, I somehow need to be able to know when/if they accept the invitation, so I can then add them to the Team. 

 

Unless there's some better method for this that I'm totally overlooking or unaware of. Also, to be up-front, I am not a Teams or Global admin, so don't have access to the Teams admin center. I do have a SharePoint admin role, but that doesn't really help in this situation.

1 Reply
Highlighted

You can check the invitation/redemption status via PowerShell, so you can postpone adding to the team until that point, if sending the email is that important. Also, you can bulk invite guest users via the Azure AD portal: https://docs.microsoft.com/en-us/azure/active-directory/external-identities/tutorial-bulk-invite