Forum Discussion
Enable PowerBI auditing through PowerShell
I can enable the auditing for Power BI through the web interface. But I wanted to do this via PowerShell. Can anyone help me with this?
4 Replies
- v-qiuyu-msftCommunity Support
Hi Robert_Luck,
Based on my research, we need to enable Power BI audit log feature in Power BI admin portal, Powershell isn't supported. After this feature enabled, we can use Powershell to retrieve log information. For more information, see:
https://docs.microsoft.com/en-us/power-bi/service-admin-auditing
Best Regards,
Qiuyun Yu- Robert_LuckNew Member
Hi v-qiuyu-msft,
I am aware of retrieving audit log using PowerShell. Currently, I need a way to enable PowerBI auditing through PowerShell / REST API.
- v-qiuyu-msftCommunity Support
Hi Robert_Luck,
It's not supported, as Power BI doesn't expose this kind of API, see: https://msdn.microsoft.com/en-us/library/dn877544.aspx
Best Regards,
Qiuyun Yu