Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
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
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.
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
Thanks, @v-qiuyu-msft. I have requested the functionality in Power BI ideas portal.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 44 | |
| 16 | |
| 16 |