Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Get-PowerBIActivityEvent no longer returning RLSIdentities array for Activity "GenerateEmbedToken"

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?

 

Status: Needs Info
Comments
Anonymous
Not applicable

Hi  @DataNomad 

Does that return some error? Is there a specific error message? Did you make any changes during the period?

 

Best Regards,
Community Support Team _ Ailsa Tao