Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SivaMani
Resident Rockstar
Resident Rockstar

Admin - Get Activity Events PowerShell

Hello,

 

I'm trying to extract Power BI Activity logs. Here is my approach,

  1. I have a Power BI Service account with Admin privilege 
  2. Registered an App in Azure Portal with Tenanut Read and Write permissions
  3. Successfully generated access token using AzureRM module in Powershell
  4. Struck here - Calling https://api.powerbi.com/v1.0/myorg/admin/activityevents API

I got this error - Invoke-RestMethod : {"Message":"The requested resource does not support http method 'POST'."} 

 

1 REPLY 1
micpol
Frequent Visitor

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.