I'm using the Microsoft Graph Explorer on the Microsoft Planner (formerly Tasks) API.
I can requests users fine, e.g. /beta/users.
But when I try to access my plans using /beta/me/plans or /beta/plans/{ID}, I get an unknown error with the details below:
Status Code: 403
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "62299f57-1792-4b0c-8b60-8613c54f4f50",
"date": "2017-01-17T21:12:51"
}
}
}
I'm trying to query the tasks on a plan that I own.
This API has changed. This URL should be
GET https://graph.microsoft.com/v1.0/me/planner/plans
Related
When accessing data using https://graph.microsoft.com/beta/teams/{id}, it is failing with 400 bad request without any error details. {id} is the value received from the response of https://graph.microsoft.com/beta/groups.
Following response is returned.
{
"error": {
"code": "AuthenticationError",
"message": "Error authenticating with resource",
"innerError": {
"date": "2021-10-15T15:01:43",
"request-id": "1d82fe40-5186-46fc-9fb7-c16341eb1ffb",
"client-request-id": "29c9e68d-bfd8-6f53-65c4-c49a82581a76"
}
}
}
We tried using MS graph SDK as well as graph explorer. All the consent are given for the end point.
What could be the reason for the error?
I'm trying to get the chat messages from MS team channel using API.
https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/messages
It works in graph explorer and returns the list of all chat messages. But when I hit the same API within Postman it return the following error:
I have consented all the required permission in azure app. What else am I missing here. Has anyone faced similar issues?
Please let me know.
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"date": "2021-04-20T04:01:46",
"request-id": "e32d3a2e-001c-4478-8c9c-8d5ff0c5e125",
"client-request-id": "e32d3a2e-001c-4478-8c9c-8d5ff0c5e125"
}
}
}
list channel messages is under protected API in MS teams. Before calling this API with application permissions, you must request access. To get the access you have to apply request access form
When I get the list of events using :
https://graph.microsoft.com/beta/users/myemail#email.com/events/delta
Microsoft Graph Explorer
I get the link #odata.nextlink, but this link returns an error InvalidDeltaToken
{
"error": {
"code": "InvalidDeltaToken",
"message": "The value 'NCZVRzVYWmtGYVRtaHFiemxpWmxOYVNHaFRWVkpVVmsxbFZVNUJAHFUYRJKJNSDSDZCUVE9PQ==' of parameter '$deltaToken' is invalid.",
"innerError": {
"date": "2020-12-04T06:57:25",
"request-id": "5a96ac45-d7ed-4454-8597-eae1587c32",
"client-request-id": "85679541-3618-b871-b880-f51191ab745"
}
}
}
// the ids have been modified !
Microsoft Graph Explorer
This issue occurs when the list of events has more than let say 200 elements (not sure exactly but over 175, I'm starting having the problem).
I can't find any workaround even using odata.maxpagesize, I'm still having the issue.
I'm using Microsoft Graph Explorer to reproduce the error.
when I'm trying to test ms teams api it always returns 404
For example - the simplest query: GET https://graph.microsoft.com/v1.0/me/joinedTeams
{
"error": {
"code": "ResourceNotFound",
"message": "Resource not found.",
"innerError": {
"date": "2020-07-24T08:47:53",
"request-id": "0ae3aa34-4aa5-4609-ac6b-01c2aba09b24"
}
}
}
I made test team, added couple of test users etc.
The problem was that I was using personal ms account instead of admin account from azure portal.
I'm trying to query Microsoft Graph beta branch for me/findMeetingTimes, but all I can get is error:
{
"error": {
"code": "ErrorInternalServerError",
"message": "The value is set to null\r\nParameter name: targetSmtpAddress",
"innerError": {
"request-id": "eb163718-457d-4715-af4d-59f934fffaa7",
"date": "2017-07-19T08:53:32"
}
}
}
I get the same result running the query from Graph Explorer. There is no targetSmtpAddress parameter I could find.
Thank you for any help!
Have you checked if calendar is enabled on this account?