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/stream-analytics/blob-output-managed-identity.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ This article shows you how to enable Managed Identity for the Blob output(s) of
18
18
19
19
1. Create a new Stream Analytics job or open an existing job in the Azure portal. From the menu bar located on the left side of the screen, select **Managed Identity** located under **Configure**. Ensure that "Use System-assigned Managed Identity" is selected and then click the **Save** button on the bottom of the screen.
2. In the output properties window of the Azure Blob storage output sink, select the Authentication mode drop-down and choose **Managed Identity**. For information regarding the other output properties, see [Understand outputs from Azure Stream Analytics](./stream-analytics-define-outputs.md). When you are finished, click **Save**.
Copy file name to clipboardExpand all lines: articles/stream-analytics/powerbi-output-managed-identity.md
+27-33Lines changed: 27 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -10,31 +10,33 @@ ms.date: 10/18/2019
10
10
11
11
# Use Managed Identity to authenticate your Azure Stream Analytics job to Power BI (Preview)
12
12
13
-
[Managed Identity authentication](../active-directory/managed-identities-azure-resources/overview.md) for output to Power BI is now available for Azure Stream Analytics as a preview. This gives Stream Analytics jobs direct access to a workspace within your Power BI account. This feature allows for deployments of Stream Analytics jobs to be fully automated, since it is no longer required for a user to interactively login via the Azure Portal.
13
+
[Managed Identity authentication](../active-directory/managed-identities-azure-resources/overview.md) for output to Power BI is available for Azure Stream Analytics as a preview. This gives Stream Analytics jobs direct access to a workspace within your Power BI account. This feature allows for deployments of Stream Analytics jobs to be fully automated, since it is no longer required for a user to interactively login to Power BI via the Azure Portal. Additionally, long running jobs that write to Power BI are now better supported, since you will not need to periodically re-authorize the job.
14
14
15
15
This article shows you how to enable Managed Identity for the Power BI output(s) of a Stream Analytics job through the Azure portal and through an Azure Resource Manager deployment.
16
16
17
17
## Prerequisites
18
18
19
19
The following are required for using this feature:
20
20
21
-
1. A Power BI account with a Pro license
21
+
1. A Power BI account with a [Pro license](https://docs.microsoft.com/power-bi/service-admin-purchasing-power-bi-pro).
22
22
23
23
2. An upgraded workspace within your Power BI account. See [Power BI's announcement](https://powerbi.microsoft.com/en-us/blog/announcing-new-workspace-experience-general-availability-ga/) of this feature for more details.
24
24
25
25
## Create a Stream Analytics job using the Azure portal
26
26
27
-
1. Create a new Stream Analytics job or open an existing job in the Azure portal. From the menu bar located on the left side of the screen, select **Managed Identity** located under **Configure**. Ensure that "Use System-assigned Managed Identity" is selected and then click the **Save** button on the bottom of the screen.
27
+
1. Create a new Stream Analytics job or open an existing job in the Azure portal. From the menu bar located on the left side of the screen, select **Managed Identity** located under **Configure**. Ensure that "Use System-assigned Managed Identity" is selected and then select the **Save** button on the bottom of the screen.
2.In the output properties window of the Power BI output sink, select the Authentication mode drop-down and choose **Managed Identity**. For information regarding the other output properties, see [Understand outputs from Azure Stream Analytics](./stream-analytics-define-outputs.md). When you are finished, click **Save**.
31
+
2.Before configuring the output, give the Stream Analytics job access to your Power BI workspace by following the directions in the [Give the Stream Analytics job access to your Power BI workspace](#give-the-stream-analytics-job-access-to-your-powerbi-workspace) section of this article.
32
32
33
-
<!--
34
-
Image placeholder: photo of Power BI output blade.
35
-
-->
33
+
3. Navigate to the **Outputs** section of your Stream Analytic's job, select **+ Add**, and then choose **Power BI**. Then, select the **Authorize** button and login with your Power BI account.
36
34
37
-
3. Now that the job is created, see the [Give the Stream Analytics job access to your Power BI workspace](#give-the-stream-analytics-job-access-to-your-powerbi-workspace) section of this article.
35
+

36
+
37
+
4. Once authorized, a dropdown list will be populated with all of the workspaces you have access to. Select the workspace that you authorized in the previous step. Then select **Managed Identity** as the "Authentication mode". Finally, select the **Save** button.
38
+
39
+

38
40
39
41
## Azure Resource Manager deployment
40
42
@@ -77,7 +79,7 @@ Using Azure Resource Manager allows you to fully automate the deployment of your
@@ -99,31 +101,31 @@ Using Azure Resource Manager allows you to fully automate the deployment of your
99
101
2. After the job is created, you can use Azure Resource Manager to retrieve the job's full definition.
100
102
101
103
```azurecli
102
-
az resource show --ids /subscriptions/{SUBSCRIPTION_ID}/resourceGroups/{RESOURCE_GROUP}/providers/Microsoft.StreamAnalytics/StreamingJobs/{RESOURCE_NAME}
104
+
az resource show --ids /subscriptions/<subsription-id>/resourceGroups/<resource-group>/providers/Microsoft.StreamAnalytics/StreamingJobs/<resource-name>
103
105
```
104
106
105
107
The above command will return a response like the below:
@@ -134,49 +136,41 @@ Using Azure Resource Manager allows you to fully automate the deployment of your
134
136
"name": "Standard"
135
137
}
136
138
},
137
-
"resourceGroup": "{RESOURCE_GROUP}",
139
+
"resourceGroup": "<resource-group>",
138
140
"sku": null,
139
141
"tags": null,
140
142
"type": "Microsoft.StreamAnalytics/streamingjobs"
141
143
}
142
144
```
143
145
144
-
Take note of the **principalId** from the job's definition, which identifies your job's Managed Identity within Azure Active Directory and will be used in the next step to grant the Stream Analytics job access to the storage account.
145
-
146
146
3. Now that the job is created, see the [Give the Stream Analytics job access to your Power BI workspace](#give-the-stream-analytics-job-access-to-your-powerbi-workspace) section of this article.
147
147
148
148
149
149
## Give the Stream Analytics job access to your Power BI workspace
150
150
151
-
### Grant access via Power BI portal
151
+
Now that the Stream Analytics job has been created, it can be given access to a Power BI workspace.
152
152
153
-
154
-
1. Navigate to the Workspace's access settings.
153
+
1. Navigate to the workspace's access settings. See this article for more details: [Give access to your workspace](https://docs.microsoft.com/en-us/power-bi/service-create-the-new-workspaces#give-access-to-your-workspace).
155
154
156
155
2. Type the name of your Stream Analytics job in the text box and select **Contributor** as the access level.
157
156
158
-
3. Click **Add** and close the pane.
159
-
160
-
<!--
161
-
Image placeholder: Photo of Power BI ACL page.
162
-
-->
163
-
157
+
3. Select **Add** and close the pane.
164
158
165
-
### Grant access via the command line
159
+

166
160
167
-
**TODO**
168
161
169
162
## Limitations
170
-
Below are the current limitations of this feature:
163
+
Below are the limitations of this feature:
171
164
172
-
1. Classic Power BI workspaces
165
+
1. Classic Power BI workspaces are not supported.
173
166
174
167
2. Azure accounts without Azure Active Directory.
175
168
176
169
3. Multi-tenant access is not supported. The Service principal created for a given Stream Analytics job must reside in the same Azure Active Directory tenant in which the job was created, and cannot be used with a resource that resides in a different Azure Active Directory tenant.
177
170
178
-
4. [User Assigned Identity](../active-directory/managed-identities-azure-resources/overview.md) is not supported. This means the user is not able to enter their own service principal to be used by their Stream Analytics job. The service principal must be generated by Azure Stream Analytics.
171
+
4. [User Assigned Identity](../active-directory/managed-identities-azure-resources/overview.md) is not supported. This means you are not able to enter your own service principal to be used by their Stream Analytics job. The service principal must be generated by Azure Stream Analytics.
179
172
180
173
## Next steps
181
174
175
+
* [Power BI dashboard integration with Azure Stream Analytics](./stream-analytics-power-bi-dashboard.md)
182
176
* [Understand outputs from Azure Stream Analytics](./stream-analytics-define-outputs.md)
0 commit comments