ricmik / azuread-privilegedaccessgroups Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.