Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.