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.

Reply
Anonymous
Not applicable

Null DatasetID when cloning a report through api

When I'm cloning a report on a specific workspace using the api, the datasetID is returning null. Why this is happening? 

 

 

VERBOSE: GET https://api.powerbi.com/v1.0/myorg/groups/a008b51a-be32-46ec-a236-d42a05331d8f/reports/dcc398c2-9bdc-4343-bf1c-83a7c80dadec with 0-byte payload

VERBOSE: received -1-byte response of content type application/json; odata.metadata=minimal; odata.streaming=true

VERBOSE: Found!

VERBOSE: @{@odata.context=http://api.powerbi.com/v1.0/myorg/groups/a008b51a-be32-46ec-a236-d42a05331d8f/$metadata#reports/$entity; id=dcc398c2-9bdc-4343-bf1c-83a7c80dadec; reportType=PowerBIReport; name=reportname; webUrl=https://app.powerbi.com/groups/a008b51a-be32-46ec-a236-d42a05331d8f/reports/dcc398c2-9bdc-4343-bf1c-83a7c80dadec; embedUrl=https://app.powerbi.com/reportEmbed?reportId=dcc398c2-9bdc-4343-bf1c-83a7c80dadec&groupId=a008b51a-be32-46ec-a236-d42a05331d8f&w=2&config=ey...; isFromPbix=False; isOwnedByMe=True; datasetId=aa3bf5b8-af51-4c21-9d6d-88242c986098}

VERBOSE: Getting dataset aa3bf5b8-af51-4c21-9d6d-88242c986098...

VERBOSE: GET https://api.powerbi.com/v1.0/myorg/groups/a008b51a-be32-46ec-a236-d42a05331d8f/datasets/aa3bf5b8-af51-4c21-9d6d-88242c986098 with 0-byte payload

VERBOSE: received -1-byte response of content type application/json; odata.metadata=minimal; odata.streaming=true

VERBOSE: Found!

VERBOSE: @{@odata.context=http://api.powerbi.com/v1.0/myorg/groups/a008b51a-be32-46ec-a236-d42a05331d8f/$metadata#datasets/$entity; id=aa3bf5b8-af51-4c21-9d6d-88242c986098; name=reportname; addRowsAPIEnabled=False; configuredBy=user; isRefreshable=False; isEffectiveIdentityRequired=True; isEffectiveIdentityRolesRequired=False; isOnPremGatewayRequired=True; targetStorageMode=Abf}

VERBOSE: Cloning report dcc398c2-9bdc-4343-bf1c-83a7c80dadec...

VERBOSE: System.Collections.Hashtable

VERBOSE: POST https://api.powerbi.com/v1.0/myorg/groups/a008b51a-be32-46ec-a236-d42a05331d8f/reports/dcc398c2-9bdc-4343-bf1c-83a7c80dadec/clone with -1-byte payload

VERBOSE: received -1-byte response of content type application/json; odata.metadata=minimal

VERBOSE: Successful cloned!

VERBOSE: @{@odata.context=http://api.powerbi.com/v1.0/myorg/groups/a008b51a-be32-46ec-a236-d42a05331d8f/$metadata#reports/$entity; id=3ea99a7d-238d-4b95-8f85-cc466b0d4270; reportType=PowerBIReport; name=TempReport_c3b13bc9-3c46-4108-8d6e-6c7730af4d2c; webUrl=https://app.powerbi.com/reports/3ea99a7d-238d-4b95-8f85-cc466b0d4270; embedUrl=https://app.powerbi.com/reportEmbed?reportId=3ea99a7d-238d-4b95-8f85-cc466b0d4270&config=eyJ...; isOwnedByMe=False; datasetId=}

 

3 REPLIES 3
Anonymous
Not applicable

The problem occurs only with workspace in version 2, the clone api call is returning the datasetid as empty.

Were you able to solve this?

Anonymous
Not applicable

After clone I do another call to get the report if this comes null.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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