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/b2b/tutorial-bulk-invite.md
+47-77Lines changed: 47 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ services: active-directory
7
7
ms.service: active-directory
8
8
ms.subservice: B2B
9
9
ms.topic: tutorial
10
-
ms.date: 08/14/2018
10
+
ms.date: 9/19/2019
11
11
12
12
ms.author: mimart
13
13
author: msmimart
@@ -19,123 +19,93 @@ ms.reviewer: mal
19
19
ms.collection: M365-identity-device-management
20
20
---
21
21
22
-
# Tutorial: Bulk invite Azure AD B2B collaboration users
22
+
# Tutorial: Bulk invite Azure AD B2B collaboration users (preview)
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
+
||
25
+
| --- |
26
+
| This article describes a public preview feature of Azure Active Directory. For more information about previews, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).|
27
+
||
28
+
29
+
30
+
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 the Azure portal to send bulk invitations to external users. Specifically, you do the following:
25
31
26
32
> [!div class="checklist"]
27
-
> *Prepare a comma-separated value (.csv) file with the user information
28
-
> *Run a PowerShell script to send invitations
33
+
> *Use **Bulk invite users (Preview)** to prepare a comma-separated value (.csv) file with the user information and invitation preferences
34
+
> *Upload the .csv file to Azure AD
29
35
> * Verify the users were added to the directory
30
36
31
-
If you don’t have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
37
+
If you don’t have Azure Active Directory, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
32
38
33
39
## Prerequisites
34
40
35
-
### Install the latest AzureADPreview module
36
-
Make sure that you install the latest version of the Azure AD PowerShell for Graph module (AzureADPreview).
37
-
38
-
First, check which modules you have installed. Open Windows PowerShell as an elevated user (Run as administrator), and run the following command:
39
-
40
-
```powershell
41
-
Get-Module -ListAvailable AzureAD*
42
-
```
43
-
44
-
Based on the output, do one of the following:
45
-
46
-
- If no results are returned, run the following command to install the AzureADPreview module:
47
-
48
-
```powershell
49
-
Install-Module AzureADPreview
50
-
```
51
-
- If only the AzureAD module shows up in the results, run the following commands to install the AzureADPreview module:
52
-
53
-
```powershell
54
-
Uninstall-Module AzureAD
55
-
Install-Module AzureADPreview
56
-
```
57
-
- If only the AzureADPreview module shows up in the results, but you receive a message that indicates there's a later version, run the following commands to update the module:
58
-
59
-
```powershell
60
-
Uninstall-Module AzureADPreview
61
-
Install-Module AzureADPreview
62
-
```
63
-
64
-
You may receive a prompt that you're installing the module from an untrusted repository. This occurs if you haven't previously set the PSGallery repository as a trusted repository. Press **Y** to install the module.
65
-
66
-
### Get test email accounts
67
-
68
41
You need two or more test email accounts that you can send the invitations to. The accounts must be from outside your organization. You can use any type of account, including social accounts such as gmail.com or outlook.com addresses.
69
42
70
-
## Prepare the CSV file
43
+
## Invite guest users in bulk
71
44
72
-
In Microsoft Excel, create a CSV file with the list of invitee user names and email addresses. Make sure to include the **Name** and **InvitedUserEmailAddress** column headings.
45
+
1. Sign in to the Azure portal with an account that is a User administrator in the organization.
46
+
2. In the navigation pane, select **Azure Active Directory**.
47
+
3. Under **Manage**, select **Users** > **Bulk invite**.
48
+
4. On the **Bulk invite users (Preview)** page, select **Download** to get a valid .csv file with invitation properties.
73
49
74
-
For example, create a worksheet in the following format:
5. Open the .csv file and add a line for each guest user. Required values are:
76
53
77
-

54
+
***Email address to invite** - the user who will receive an invitation
78
55
79
-
Save the file as**C:\BulkInvite\Invitations.csv**.
56
+
***Redirection url** - the URL to which the invited user is forwarded after accepting the invitation
80
57
81
-
If you don't have Excel, you can create a CSV file in any text editor, such as Notepad. Separate each value with a comma, and each row with a new line.
58
+

82
59
83
-
## Sign in to your tenant
60
+
> [!NOTE]
61
+
> Don't use commas in the **Customized invitation message** because they'll prevent the message from being parsed successfully.
84
62
85
-
Run the following command to connect to the tenant domain:
63
+
6. Save the file.
64
+
7. On the **Bulk invite users (Preview)** page, under **Upload your csv file**, browse to the file. When you select the file, validation of the .csv file starts.
65
+
8. When the file contents are validated, you’ll see **File uploaded successfully**. If there are errors, you must fix them before you can submit the job.
66
+
9. When your file passes validation, select **Submit** to start the Azure bulk operation that adds the invitations.
67
+
10. To view the job status, select **Click here to view the status of each operation**. Or, you can select **Bulk operation results (Preview)** in the **Activity** section. For details about each line item within the the bulk operation, select the values under the **# Success**, **# Failure**, or **Total Requests** columns. If failures occurred, the reasons for failure will be listed.
The script sends an invitation to the email addresses in the Invitations.csv file. You should see output similar to the following for each user:
77
+
### View guest users in the Azure portal
78
+
79
+
1. Sign in to the Azure portal with an account that is a User administrator in the organization.
80
+
2. In the navigation pane, select **Azure Active Directory**.
81
+
3. Under **Manage**, select **Users**.
82
+
4. Under **Show**, select **Guest users only** and verify the users you added are listed.
115
83
116
-

84
+
### View guest users with PowerShell
117
85
118
-
## Verify users exist in the directory
86
+
Run the following command:
119
87
120
-
To verify that the invited users were added to Azure AD, run the following command:
121
88
```powershell
122
89
Get-AzureADUser -Filter "UserType eq 'Guest'"
123
90
```
91
+
124
92
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.
125
93
126
94
## Clean up resources
127
95
128
-
When no longer needed, you can delete the test user accounts in the directory. Run the following command to delete a user account:
96
+
When no longer needed, you can delete the test user accounts in the directory in the Azure portal on the Users page by selecting the checkbox next to the guest user and then selecting **Delete**.
97
+
98
+
Or you can run the following PowerShell command to delete a user account:
129
99
130
100
```powershell
131
101
Remove-AzureADUser -ObjectId "<UPN>"
132
102
```
133
-
For example: `Remove-AzureADUser -ObjectId "lstokes_fabrikam.com#EXT#@contoso.onmicrosoft.com"`
134
103
104
+
For example: `Remove-AzureADUser -ObjectId "lstokes_fabrikam.com#EXT#@contoso.onmicrosoft.com"`
135
105
136
106
## Next steps
107
+
137
108
In this tutorial, you sent bulk invitations to guest users outside of your organization. Next, learn how the invitation redemption process works.
138
109
139
110
> [!div class="nextstepaction"]
140
111
> [Learn about the Azure AD B2B collaboration invitation redemption process](redemption-experience.md)
Copy file name to clipboardExpand all lines: articles/active-directory/reports-monitoring/troubleshoot-content-pack.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ This article provides you with information about the possible causes and how to
45
45
| Cause | How to fix |
46
46
| --- | --- |
47
47
| Refresh failure errors can be caused when the credentials of the users connecting to the content pack have been reset but not updated in the connection settings of the content pack. | In Power BI, locate the dataset corresponding to the Azure AD activity logs dashboard (**Azure Active Directory Activity logs**), choose schedule refresh, and then enter your Azure AD credentials. |
48
-
| A refresh can fail due to large datasets. | Currently, the Azure AD Content pack with Power BI can support only small data sets (less than 500,00 rows) because of some limitations around timeouts in the Power BI Service. If you encounter throttling errors or if the refresh fails due to timeout issues, this might because you are trying to fetch a large dataset. Reduce the time period in the query and try again.|
48
+
| A refresh can fail due to large datasets. | Currently, the Azure AD Content pack with Power BI can support only small data sets (less than 500,000 rows) because of some limitations around timeouts in the Power BI Service. If you encounter throttling errors or if the refresh fails due to timeout issues, this might because you are trying to fetch a large dataset. Reduce the time period in the query and try again.|
0 commit comments