mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #741] BUG: Mailbox Statistics - Request failed with status code 500 #377
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#377
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kfear27 on GitHub (Feb 9, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/741
When opening mailbox statistics and selecting a tenant an error is thrown:
Request failed with status code 500
Email and Exchange > Reports > Mailbox Statistics
This happens to all tenants
I have updated to the latest version and the issue still persists.
A permissions check returns that the app has all the permissions it requires.
@KelvinTegelaar commented on GitHub (Feb 9, 2022):
not a bug. your exchange token is not working.
@kfear27 commented on GitHub (Feb 10, 2022):
I managed to refresh the token successfully and update, it still failed. I wiped the resource group in Azure, along with the forked repo's. I then reconfigured the entire thing with a fresh app, permissions, tokens etc. Yet I am still receiving the same errors.
When I run the token permissions test script I see multiple
Connect-graphAPI : Could not log into the Graph API for tenant tenant-id-here: The remote server returned an error: (400) Bad Request
How can this fail with all new tokens?
The installation guide was followed to a tee.
@kfear27 commented on GitHub (Feb 10, 2022):
Fixed the issue. The UPN I used for this was a 'Risky User' in AAD
Find this under AAD > Security > Risky Users
Select your user, click dismiss user risk and wait 5~10 minutes until it disappears.
Once gone test again