Forum Discussion

powercdc's avatar
powercdc
Regular Visitor
3 years ago
Solved

GetModifiedWorkspaces API - what constitutes 'modified'?

Hi,   The documentation on the GetModifiedWorkspaces is very scant.... Admin - WorkspaceInfo GetModifiedWorkspaces - REST API (Power BI Power BI REST APIs) | Microsoft Learn   It doesn't describ...
  • v-jianboli-msft's avatar
    3 years ago

    Hi powercdc ,

     

    The 'modified' workspace is determined by the parameter modifiedSince. It  is set to a date-time, only the IDs of workspaces that changed after that date-time are returned. If the modifiedSince parameter isn't used, the IDs of all workspaces in the organization are returned.

    According to my test, if no new content is published to a workspace, but permissions are changed (e.g. user is given access to a report) - this workspace won't be returned by the API call

    The API will return the workspace even if it has been deleted(unless you exclude inactive workspace).

     

    Best Regards,

    Jianbo Li

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