Giter Site home page Giter Site logo

Comments (3)

toneshelby avatar toneshelby commented on June 19, 2024

I second this please! I am badly needing the Admin - Groups GetUnusedArtifactsAsAdmin for all workspaces on a large tenant for a massive cleanup project.

Also a function to Invoke-PowerBIRestMethod to pass in a url to produce back results would be a nice feature for pulling back any ad-hoc requests to the model or output file to a downloads folder - not sure if this is possible but would be very useful when admin is requested to produce for governance and compliance reporting on the fly.

from powerbirestapi.

klinejordan avatar klinejordan commented on June 19, 2024

These will be great additions but would present some challenges especially for beginners to calling APIs with M. All of these have a continuationToken pagination method which can be tricky in M.

Also, in large tenants, the GetUnusedArtifactsAsAdmin would almost certainly fail given that there's a 200 requests per hour limitation on them on you have to loop through each workspace one at a time. Similar API calls that have this kind of throttling are put into the "Experimental" folder as we cannot guarantee performance in large tenants.

from powerbirestapi.

klinejordan avatar klinejordan commented on June 19, 2024

@toneshelby can you expand on this request, perhaps in another Issue so we can track separately:

"Also a function to Invoke-PowerBIRestMethod to pass in a url to produce back results would be a nice feature for pulling back any ad-hoc requests to the model or output file to a downloads folder - not sure if this is possible but would be very useful when admin is requested to produce for governance and compliance reporting on the fly."

This connector already has a function (GETData) where you can put in any URL you want and it returns the raw JSON. But I'm not sure what you mean by "output file to a downloads folder", this is not a PowerShell script this is just a connector for Power BI and it can't programmatically dump files anywhere.

from powerbirestapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.