Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.