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

Export-MsIdAppConsentGrantReport PropertyNotFoundException #59

Open
mmascolino opened this issue Jul 12, 2024 · 5 comments
Open

Export-MsIdAppConsentGrantReport PropertyNotFoundException #59

mmascolino opened this issue Jul 12, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@mmascolino
Copy link

Building upon Issue #46 , I have updated both the MSIdentityTools module and the Microsoft.Graph module to the latest versions. I continue to get this error on a very large EntraID tenant.

To give you an idea the error is occurring during "Processing delegate permissions" 35824 out of 43464. At this point I don't know if this is a transient error, bad data in the EntraID, my PIMable global reader running out or something else.

@mmascolino mmascolino added the bug Something isn't working label Jul 12, 2024
@merill
Copy link
Member

merill commented Jul 18, 2024

Does it stop processing or do you see that error for a few apps?

@mmascolino
Copy link
Author

After first instance of this error it continues onward in the Process delegate permissions step for thousands of entries. It encounters more instances of this error and eventually freezes. Its been stuck at 35898 of 43547 for an hour or so.

@robbieveivers
Copy link
Contributor

@mmascolino I had a PR which I think solves your issue. Maybe try again.

#58
#58

@mmascolino
Copy link
Author

@robbieveivers - thanks. Tentatively I think this may have addressed this. I say tentatively because the command runs longer than my PIMable elevation to Global Reader so eventually it stalled out (actually there appears to be a different infinite loop bug in this condition).

So I am working with my security team to get my PIMable assignments changed so I can get the full output.

@robbieveivers
Copy link
Contributor

@mmascolino ohh true, yeah thats a big tenant. Let us know how it goes with extending the PIMable assignment time. Our tenant is only small compared to yours but it seems to grow all the time.
image
, I think we need to look at a Clean up App report, searches for unused apps, and then options to remove/archive.

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

No branches or pull requests

3 participants