An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hi Bram Bertels,
Thank you for reaching out to Microsoft!
The error "Error authenticating with resource" along with a 400 bad request typically indicates a problem with the authentication token or the way the request is being made. Here are a few steps you can take to troubleshoot and potentially resolve this issue:
- Token Expiry: Ensure that the authentication token you're using is not expired. Tokens have a limited lifespan and need to be refreshed periodically.
- Rate Limiting: Although you mentioned that the calls are made every 5 minutes, it's worth checking if there are any rate limiting policies in place that might be causing some of the requests to fail.
Additionally, you mentioned that other Graph APIs are working fine. Please note that there are throttling limits per tenant as well, so it would be helpful to check if you are not exceeding them.
https://learn.microsoft.com/en-us/graph/throttling-limits
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.