Share via

Getting an AuthenticationError while using the /me/onlineMeetings API

Aurélien VINTAM 0 Reputation points
2023-08-10T14:37:22.41+00:00

Hello everyone,

For the context our product is using the graph API ton create and manage MS Teams meetings. It worked well until 2-3 month ago it stopped working. When i try to create an online meeting i get a 400 HTTP error and when i investigated a bit further it was caused by an AuthenticationError.

On the setup side we use axios to call the graph API (i.e. the https://graph.microsoft.com/v1.0/me/onlineMeetings using POST to create meetings). And we get the MS Graph token from MS Graph itself, as for the scope of the token we use the /.default. I read the docs and I have the correct permissions to use it so i don't know why this error triggers.

Am I missing something here ? Thanks in advance !

Permissions:

permissions_list

Error:

{
    "error": {
        "code": "AuthenticationError",
        "message": "Error authenticating with resource",
        "innerError": {
            "date": "2023-08-10T08:40:36",
            "request-id": "d2e580b4-77ad-4fa1-a1df-ebe7618e86c0",
            "client-request-id": "d2e580b4-77ad-4fa1-a1df-ebe7618e86c0"
        }
    }
}
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.