Bulk import guest users with more than just an email address

Matthew Carter 26 Reputation points
2022-04-15T01:14:30.373+00:00

Use case:
Add say 25 guests to a Teams team to collaborate with them in our M365 E3 tenant.

I go to Azure AD and go to
https://portal.azure.com/#blade/Microsoft_AAD_IAM/UsersManagementMenuBlade/MsGraphUsers
Go to New Guest User, Invite User and do so 1 by 1 by 1 times.
If I go to New User, and Bulk Invite then I can take a CSV, which I have for the image below and from what I got from the text and hyperlink below:

Tutorial: Bulk invite Azure AD B2B collaboration users

193219-image.png

https://learn.microsoft.com/en-us/azure/active-directory/external-identities/tutorial-bulk-invite

The issue I have is that it is missing a LOT. I would like to set the full name, the first name, the last name, and possibly the manager; AND the AAD groups they will be added to, like "Teams name guests". I did the bulk import for 20 people and it went well. GREAT; now I need to RUSH to get them added to the Groups before they try to click on the link. What if we had 100? I couldn't do so as it would be too much.
At the least, if I could do the email and one AAD group, it would be great.
I wonder if there is some powershell that might be there. Many places I saw, point to the document above and don't provide more detail.
If there was a way to add to the CSV, with additional columns, that would be FAN TASTIC!
Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,363 questions
0 comments No comments
{count} votes