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
Copy file name to clipboardExpand all lines: articles/active-directory/external-identities/bulk-invite-powershell.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,12 @@ services: active-directory
7
7
ms.service: active-directory
8
8
ms.subservice: B2B
9
9
ms.topic: tutorial
10
-
ms.date: 02/11/2020
10
+
ms.date: 11/18/2022
11
11
12
12
ms.author: mimart
13
13
author: msmimart
14
14
manager: celestedg
15
-
15
+
ms.custom: engagement-fy23
16
16
17
17
# Customer intent: As a tenant administrator, I want to send B2B invitations to multiple external users at the same time so that I can avoid having to send individual invitations to each user.
# Tutorial: Use PowerShell to bulk invite Azure AD B2B collaboration users
23
23
24
-
If you use Azure Active Directory (Azure AD) B2B collaboration to work with external partners, you can invite multiple guest users to your organization at the same time. In this tutorial, you learn how to use PowerShell to send bulk invitations to external users. Specifically, you do the following:
24
+
If you use [Azure Active Directory (Azure AD) B2B collaboration](what-is-b2b.md) to work with external partners, you can invite multiple guest users to your organization at the same time[via the portal](tutorial-bulk-invite.md) or via PowerShell. In this tutorial, you learn how to use PowerShell to send bulk invitations to external users. Specifically, you do the following:
25
25
26
26
> [!div class="checklist"]
27
27
> * Prepare a comma-separated value (.csv) file with the user information
@@ -34,9 +34,9 @@ If you don’t have an Azure subscription, create a [free account](https://azure
34
34
35
35
### Install the latest AzureADPreview module
36
36
37
-
Make sure that you install the latest version of the Azure AD PowerShell for Graph module (AzureADPreview).
37
+
Make sure that you install the latest version of the Azure AD PowerShell for Graph module (AzureADPreview).
38
38
39
-
First, check which modules you have installed. Open Windows PowerShell as an elevated user (Run as administrator), and run the following command:
39
+
First, check which modules you've' installed. Open Windows PowerShell as an elevated user (Run as administrator), and run the following command:
40
40
41
41
```powershell
42
42
Get-Module -ListAvailable AzureAD*
@@ -76,7 +76,7 @@ In Microsoft Excel, create a CSV file with the list of invitee user names and em
76
76
77
77
For example, create a worksheet in the following format:
78
78
79
-

79
+
:::image type="content" source="media/tutorial-bulk-invite/AddUsersExcel.PNG" alt-text="Screenshot that shows the csv file columns of Name and InvitedUserEmailAddress.":::
80
80
81
81
Save the file as **C:\BulkInvite\Invitations.csv**.
82
82
@@ -127,7 +127,7 @@ To verify that the invited users were added to Azure AD, run the following comma
127
127
Get-AzureADUser -Filter "UserType eq 'Guest'"
128
128
```
129
129
130
-
You should see the users that you invited listed, with a user principal name (UPN) in the format *emailaddress*#EXT#\@*domain*. For example, *lstokes_fabrikam.com#EXT#\@contoso.onmicrosoft.com*, where contoso.onmicrosoft.com is the organization from which you sent the invitations.
130
+
You should see the users that you invited listed, with a [user principal name (UPN)](../hybrid/plan-connect-userprincipalname.md#what-is-userprincipalname) in the format *emailaddress*#EXT#\@*domain*. For example, *lstokes_fabrikam.com#EXT#\@contoso.onmicrosoft.com*, where contoso.onmicrosoft.com is the organization from which you sent the invitations.
131
131
132
132
## Clean up resources
133
133
@@ -141,7 +141,7 @@ For example: `Remove-AzureADUser -ObjectId "lstokes_fabrikam.com#EXT#@contoso.on
141
141
142
142
## Next steps
143
143
144
-
In this tutorial, you sent bulk invitations to guest users outside of your organization. Next, learn how the invitation redemption process works.
144
+
In this tutorial, you sent bulk invitations to guest users outside of your organization. Next, learn how the invitation redemption process works and how to enforce MFA for guest users.
145
145
146
-
> [!div class="nextstepaction"]
147
-
> [Learn about the Azure AD B2B collaboration invitation redemption process](redemption-experience.md)
146
+
-[Learn about the Azure AD B2B collaboration invitation redemption process](redemption-experience.md)
147
+
-[Enforce multi-factor authentication for B2B guest users](b2b-tutorial-require-mfa.md)
0 commit comments