Forum Discussion

meiwah's avatar
meiwah
Resolver I
2 years ago
Solved

Power BI Logs

Hi,   Does Power BI log events like granting of permission to a user? For example, the who is granted read access to a certain report at a certain time. Thanks!
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi meiwah 

     

    Thanks for the reply from ibarrau , please allow me to provide another insight:

    To access this information, you can use the cmdlet from the Power BI Management module in PowerShell. This cmdlet allows you to retrieve a user's activities, including permissions changes, over a specified period.

    Please try this command:

     

    Get-PowerBIActivityEvent
       -StartDateTime <String>
       -EndDateTime <String>
       [-ActivityType <String>]
       [-User <String>]
       [-ResultType <OutputType>]
       [<CommonParameters>]

     

    Here is the link for your reference:

    Get-PowerBIActivityEvent (MicrosoftPowerBIMgmt.Admin) | Microsoft Learn

     

    Best Regards

    Zhengdong Xu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.