Forum Discussion
Custom Refresh Mail
If you cannot use Premium connectors you would need to run a polling Powershell script at a reasonable interval (say, every 15 minutes, via Task Scheduler) and use the REST API to retrieve the refresh status of the most recent refresh. The script would then have to parse the result JSON and decide if a notification is required.
This implies that the Powershell script can run in unattended mode which comes with its own considerations (the need for an Azure App registration, for example).
whether it is triggered manually by the user
You should not allow report users to trigger refresh requests. That will quickly get you an invitation into the 429 club, or worse.
HI lbendlin ,
There are only two users who will be refreshing it, but they might do so at any time. Given that, is there any other workaround that could make this possible?
- lbendlin5 months agoSuper User
Yes - before issuing a refresh request you would need to probe if a refresh is currently in progress or if one was recently completed. In those scenarios the request should be denied.