Forum Discussion
Robert_Luck
8 years agoNew Member
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?
v-qiuyu-msft
8 years agoCommunity 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_Luck8 years agoNew 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-msft8 years agoCommunity 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- Robert_Luck8 years agoNew Member
Thanks, v-qiuyu-msft. I have requested the functionality in Power BI ideas portal.