Forum Discussion
Problems using Invoke-PowerBiRestMethod in PowerShell
- Anonymous3 years ago
Hi g_m_j ,
According to your statement, I think 404 error should be an authentication error in Power BI. Please make sure your account has access to Power BI or have access to pass the refresh API to Power BI.
About using Powershell to refresh dataset, I think this blog could help you better to use it:
Using-the-power-bi-api-with-powershell-scripts-refreshing-your-dataset
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi g_m_j ,
According to your statement, I think 404 error should be an authentication error in Power BI. Please make sure your account has access to Power BI or have access to pass the refresh API to Power BI.
About using Powershell to refresh dataset, I think this blog could help you better to use it:
Using-the-power-bi-api-with-powershell-scripts-refreshing-your-dataset
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.