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 describe what constitues a 'modified' workspace. Is this information available?

 

For example:

- If no new content is published to a workspace, but permissions are changed (e.g. user is given access to a report) - is this workspace returned by the API call?

- How are deleted workspaces handled?

 

Any help or guidance on this would be greatly appreciated!

 

 

 

 

  • 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.

4 Replies

Replies have been turned off for this discussion
  • 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.

  • powercdc's avatar
    powercdc
    Regular Visitor

    Thanks for your response Jianbo Li.

    This does answer my question, but is not the answer I was looking for!

    I had hoped to use the ability to load data deltas by providing a parameter, however if security changes, permissions etc. are not covered, then I will need to do a full load each time.

  • Hi powercdc ,

     

    This question is beyond the topic discussed at the beginning of the thread, so to be able to better help other users, please consider marking the replies that are useful to you and creating a thread about the new topic, which will allow the thread to be addressed more efficiently.

    Thanks in advance!

     

    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.

  • hgupta13's avatar
    hgupta13
    Frequent Visitor

    Hello Jianbo Li

    What about the Deleted artifacts in a workspace. If I have an artifact and I delete it. Will that be considered as a modified workspaces and if that will be returned in the modified workspace with date time parameters?