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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Microsoft Employee
Microsoft 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.