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
Hey, In case if the access is lost the error messgae would be unauthorized access (401) and not 404.
404 is usually whenever the object you are trying to access doesnt exists.
AmosHersch
3 years agoMicrosoft Employee
that's not always true. Power BI tries to find the dataset with the credentials of the calling user. If it's not found with those credentials then you might get 404 (not found) error.
- AmilaGunawardan3 years agoFrequent Visitor
Hi,
Access policies remain the same. Is this related to any limitation in the trigger, I'm triggering this once in 30 mins and i have premium capacity.