Forum Discussion
Azure PIM Breaks Scheduled Refresh
This should be a limiation in such scenario. The O365 Adoption content pack needs admin permission, but Azure PIM will remove the permission after a timeout period. Then the refresh will be failed because of not enough permission.
Both products are working as expected in their way. If Power BI schedule refresh can trigger the role activation in Azure PIM, that would be perfect.
Best Regards,
Herbert
Why does the content pack need to refresh as the user? Why can't it be registered as an application in the directory that has permissions directly assigned? In that scenario, the user doesn't need admin permissions all the time, they only need to be able to consent to giving the application permission one time. That's how everything else works with the Graph API.