The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
We are embedding PowerBI reports in Web Applications.
We track who the relevant user is using such PowerBI embedded reports by virtue of for whom the relevant embed token was generated.
This used to be part of the data in the Activity Log.
=> Using the powershell Get-PowerBIActivityEvent (or the REST API version).
For the Activity = "GenerateEmbedToken" an array was returned in the JSON object named: RLSIdentities.
e.g.
{
"activityEventEntities": [
{
"Id": "3be****",
"RecordType": 20,
"CreationTime": "2021-08-24T10:18:08",
"Operation": "GenerateEmbedToken",
"OrganizationId": "95****",
"UserType": 6,
"UserKey": "5e********",
"Workload": "PowerBI",
"UserId": "5e******",
"Activity": "GenerateEmbedToken",
"ItemName": "Consultant Dashboard",
"WorkSpaceName": "Sales",
"DatasetName": "Consultant Dashboard",
"ReportName": "Consultant Dashboard",
"CapacityId": "63*********",
"CapacityName": "p*****",
"WorkspaceId": "56********",
"ObjectId": "Consultant Dashboard",
"DatasetId": "ad********",
"ReportId": "a9**********",
"EmbedTokenId": "42*********",
"RLSIdentities": [
{
"Username": "jane.doe",
"Roles": [
"All"
],
"Datasets": [
"ad********"
]
}
],
"IsSuccess": true,
"ReportType": "PowerBIReport",
"RequestId": "f3*********",
"ActivityId": "00********",
"DistributionMethod": "Shared"
}
],
"continuationUri": "https://wabi-europe-north-b-redirect.analysis.windows.net/v1.0/myorg/admin/activityevents?continuationToken='LD************'",
"continuationToken": "LD***********",
"lastResultSet": false
}
This array is no longer returned.
What changed?
What can be done to have it returned in the event data?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.