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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tcliu1990
Frequent Visitor

How to find identityblob for a paginated report

Hi,

I am looking at this exmaple https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token#example-of-generating...

I can get my datasource from https://api.powerbi.com/v1.0/myorg/groups/group_id/reports/report_id/datasources. It's something like

{
    "value": [
        {
            "name": "DataSource1",
            "datasourceType": "AnalysisServices",
            "connectionDetails": {
                "server": "pbiazure://api.powerbi.com/",
                "database": "sobe_wowvirtualserver-dataset_id"
            },
            "datasourceId": "datasource_id",
            "gatewayId": "gatewayId"
        }
    ]
}

But there's no identityblob from this endpoint. How can I find the identityblob. If it's not applied to my case, which case should I use among all exmaples

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @tcliu1990 ,

 

As far as I know, identityblob and valid datasource are bound together, each identityblob is independent.

vyangliumsft_0-1715676359303.png

If you identityblob can't get it, maybe your data source is not a valid data source for Power BI.

Since paginated reports (RDL) don't have a dataset, the dataset ID value in the API response for paginated reports isn't displayed.

Reports - Get Reports - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
AmosHersch
Employee
Employee

If you have a Power BI dataset as a data source than you should probably look at this example:

Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

There's no need for an identity blob in such case.

If it doesn't work then please check how you added the Power BI  dataset to your paginated report. It's better to follow these steps: Create a paginated report based on a Power BI shared dataset - Power BI | Microsoft Learn

v-yangliu-msft
Community Support
Community Support

Hi  @tcliu1990 ,

 

As far as I know, identityblob and valid datasource are bound together, each identityblob is independent.

vyangliumsft_0-1715676359303.png

If you identityblob can't get it, maybe your data source is not a valid data source for Power BI.

Since paginated reports (RDL) don't have a dataset, the dataset ID value in the API response for paginated reports isn't displayed.

Reports - Get Reports - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.