Giter Site home page Giter Site logo

azuread-privilegedaccessgroups's People

Contributors

ricmik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

azuread-privilegedaccessgroups's Issues

Not actually an issue, a question

Hey there @ricmik,

Sorry to open an issue but hoping to get a hold of you. I'm doing a lot of PowerShell PIM work right now and have run into a blocker I was hoping to get your opinion on. Use Dev tools I also discovered in the past the "https://api.azrbac.mspim.azure.com" endpoint.

I was able to pull down a token for it using your scripts, but I'm specifically trying to take advantage of the below call:

https://api.azrbac.mspim.azure.com/api/v2/privilegedAccess/azureResources/roleAssignments/exportWithChildren?`$expand=subject,roleDefinition(`$expand=resource)&`$filter=(roleDefinition/resource/id eq 'xxxxxx-xxxxxx-xxxxxx')

If you go to PIM > Azure Resources > select any resource > Assignments > Export > select Export all members, it makes the above call.

The problem is even after grabbing the token I'm not able to successfully complete this call "Attempted to perform an unauthorized operation". There's currently no way to make that same call via a PowerShell cmdlet directly, and I figured this was some internal API originally and couldn't be used. So seeing your repo was a game changer for me.

Do you have any pointers or tips? Happy to take this off Github, thought this was worth a shot. Sorry and thanks again.
image

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.