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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Chas2002
Helper III
Helper III

Did MS change something on APIs?

 

My powershells worked for months -- pushing real-time streams to tiles on a dashboard.

 

All of a sudden I'm getting this:

 

VERBOSE: DELETE https://api.powerbi.com/v1.0/myorg/datasets/132e1621-21b0-484c-8e0c-776f3e79f169/tables/RealTimeData... with 0-byte payload


Invoke-RestMethod : The remote server returned an error: (404) Not Found.
At C:\Users\David\Desktop\PowerShell_Failed.ps1:164 char:15
+ $result = Invoke-RestMethod -uri $url -Headers $headers -Method Delete

 

It's as thought it's not authenicating or powershell cant get to the https site?  I know the dataset is correct because I can push data to it -- I just can't delete rows from the table.

 

The only thing new:  I changed from a free trial to a pro trial...

 

Arghh!! Any help would be appreciated.

 

Thanks,

Chas

1 ACCEPTED SOLUTION
v-micsh-msft
Employee
Employee

The REST API article updated on July 21, 2017, there should be no changes made for the delete rows action:

Delete Rows

 

Example:

DELETE https://api.powerbi.com/v1.0/myorg/datasets/{dataset_id}/tables/{table_name}/rows

Make sure you didn't disable the "historic data analysis", and take a try with a newly added row for testing purpose.

 

Regards,

Michael

View solution in original post

2 REPLIES 2
v-micsh-msft
Employee
Employee

The REST API article updated on July 21, 2017, there should be no changes made for the delete rows action:

Delete Rows

 

Example:

DELETE https://api.powerbi.com/v1.0/myorg/datasets/{dataset_id}/tables/{table_name}/rows

Make sure you didn't disable the "historic data analysis", and take a try with a newly added row for testing purpose.

 

Regards,

Michael

HI Michael,

 

I did check as you suggested and history was on, but it helped me find the issue.  I had moved the Datasets, Reports, and dashboard to a new Workspace -- My powershell, which pushes the real-tme data, was referencing MyWorkspace dataset location without group or workspace id... 

 

Corrected the powershell, authenicated and data was on the move..

 

Thanks,

Chas2002

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors