Forum Discussion
AmilaGunawardan
3 years agoFrequent Visitor
Power BI Rest API Refresh Dataset gives 404 error
HI, I have created a PowerShell file to refresh the automation of a Power BI dataset. This below snippet worked for a few days and suddenly gave the below error. VERBOSE: POST https://api.powerbi....
- 3 years ago
This was fixed by adding the relevant AD group to the workspace as a member.
- 3 years ago
This error happened because the service principle access got revoked without a warning.
NandanHegde
3 years agoSuper User
Can you confirm the below 2 aspects:
1) The Service principal is still active in AAD and Access token is getting generated via the SP.
2) The workspace ID and datasetid are still the same? Because in case if you delete the dataset and republish it with same name in same workspace, the datasetid is newly created