Hello Everyone, <br/> I have created a Flow that uses my permissions to create useraccounts in Entra.
My problem now is that we use PIM-Roles that have to be activated daily to grant adminpermissions such as useraccount creation.
If I am away at vacation or just didnt activate my role the flow will fail due to insufficient permissions.
Now I could create an Account with the needed permissions but this account then becomes the new security risk since it has its permissions permanently active. <br/> Does anyone have a safe method to resolve this problem?
@SudeepGhatakNZ
Thank your for your reply.
I am currently working on your Idea but i ran into an issue and cant seem to get it to work.
This is my flow and that is the error I get.
I am not too familiar with REST API Calls
Good question!
I think I would include the PIM authorisation in the flow itself.
This could be achieved using the GRAPH Api.
Although I haven't tried that myself, I would start by looking at the following links:
https://learn.microsoft.com/en-us/graph/api/resources/privilegedidentitymanagementv3-overview
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2