Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Owner is not actionable #13

Closed
Flukas88 opened this issue May 13, 2024 · 3 comments · Fixed by #14
Closed

Owner is not actionable #13

Flukas88 opened this issue May 13, 2024 · 3 comments · Fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@Flukas88
Copy link
Contributor

Flukas88 commented May 13, 2024

When I try to activate the owner role

screenshot-2

I get an error

2024/05/10 15:05:24 ERROR: The role assignment validation failed with status 'PendingEvaluation'

@netr0m
Copy link
Owner

netr0m commented May 22, 2024

Thanks for the report! It looks like the role you're trying to activate requires evaluation (i.e. approval) from another party (e.g. a manager) - could that be the case? (ref. https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-resource-roles-approval-workflow#view-pending-requests)

The current solution attempts to validate the request, and expects the status of the request to be 'Granted' before requesting the actual role activation. Seeing as the status returned by your request is 'PendingEvaluation', it fails. None of the roles I have available require approval, so I have never encountered this issue before. I will create a PR with a fix for this issue!

@netr0m netr0m self-assigned this May 22, 2024
@netr0m netr0m added the bug Something isn't working label May 22, 2024
@netr0m
Copy link
Owner

netr0m commented May 22, 2024

@Flukas88 I've issued a fix in #14 which I believe should resolve this issue. Please give it another go with the latest version, and let me know if your issue persists 😄

@Flukas88
Copy link
Contributor Author

will check asap and get back to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants