IF PowerBIIntegration.Refresh() is not working, follow any two approaches below
create a power automate that will refresh the report by auto trigger.
If the PowerBIIntegration.Refresh() is not working then use timer like options and it will trigger the auto refresh.
I was facing the same issue I created a power automated flow to fix this issue.