I want to reach the list of participants of a spesific Teams meeting by using Postman. But I'm getting an error.
my Http Request:
https://graph.microsoft.com/v1.0/communications/calls/7531d31f-d10d-44de-802f-c569dbca451c/participants
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"date": "2020-10-26T16:50:16",
"request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"client-request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
The problem was about the tokens .I got the response by using app access token instead of user token, finally it worked.
Related
Using Microsoft's Graph API, I am trying to return users with provisioning errors. Using this URL:
https://graph.microsoft.com/v1.0/users?$select=onPremisesProvisioningErrors,displayName&$filter=onPremisesProvisioningErrors ne null
I get back the error:
{
"error": {
"code": "BadRequest",
"message": "Invalid filter clause",
"innerError": {
"date": "2022-10-04T17:37:29",
"request-id": "d62be5cf-4f5e-47da-93f1-1bb721bc9b14",
"client-request-id": "689377a9-469b-bfef-b7d5-d48e7938acec"
}
}
}
Is there a way to identify just those users with some sort of provisioning error?
I would use any operator to filter users with provisioning errors:
https://graph.microsoft.com/v1.0/users?$select=onPremisesProvisioningErrors,displayName&$filter=onPremisesProvisioningErrors/any()
But it returns the exception:
{
"error": {
"code": "Request_UnsupportedQuery",
"message": "Empty any query against property 'onPremisesProvisioningErrors' is not supported.",
"innerError": {
...
}
}
}
According to the documentation, onPremisesProvisioningError resource has property category with only one possible value PropertyConflict.
I suggest to use filter on that property category.
https://graph.microsoft.com/v1.0/users?$select=onPremisesProvisioningErrors,displayName&$filter=onPremisesProvisioningErrors/any(r:r/category eq 'PropertyConflict')
It's a little bit workaround but it should return users with provisioning errors.
I am using rest api to create subscription for calendar resources but getting below error. Can anyone help me out over here.
===========================================================
{
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource '00030000-3c24-324c-0000-000000000000' hosted on database '1a65164a-54a2-469a-a1f2-a837508bb8a6' is currently on backend 'Unknown']",
"innerError": {
"date": "2021-07-03T21:19:13",
"request-id": "1259c1ae-42eb-4999-88a2-3fa8157f7816",
"client-request-id": "1259c1ae-42eb-4999-88a2-3fa8157f7816"
}
}
}
I am using GraphServiceClient to create/update events and got following error. is there better way/
mechanism to handle this kind of errors
{
"error": {
"code": "ApplicationThrottled",
"message": "Application is over its MailboxConcurrency limit.",
"innerError": {
"date": "2020-06-30T10:09:41",
"request-id": "8a293e9c-7510-4993-a1b3-f9e74ba6087c"
}
}
}
For one user, in one tenant, me/calender/calenderview?startDateTime={start_datetime}&endDateTime={end_datetime} is returning 404:
{
"error": {
"code": "ResourceNotFound",
"message": "Resource could not be discovered.",
"innerError": {
"request-id": "55f9559d-80af-458a-9276-278acf2c0286",
"date": "2020-01-20T13:08:18"
}
}
}
client-request-id is 61894e75-d190-4338-a0a4-e9f81ee3af4e
request-id is 55f9559d-80af-458a-9276-278acf2c0286
A startDateTime and endDateTime parameter are required.
Like:
/me/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
https://learn.microsoft.com/en-us/graph/api/calendar-list-calendarview?view=graph-rest-1.0&tabs=http
I have the application for OneNote users. Some users have error 19999 for any OneNote API request.
Request/response examples:
GET https://graph.microsoft.com/v1.0/me/onenote/notebooks
{
"error": {
"code": "19999",
"message": "Something failed, the API cannot share any more information at the time of the request.",
"innerError": {
"request-id": "2e94b8fb-b43c-4dd6-bb2a-6979fa854718",
"date": "2019-06-10T03:21:15"
}
}
}
GET https://graph.microsoft.com/v1.0/me/onenote/pages
{
"error": {
"code": "19999",
"message": "Something failed, the API cannot share any more information at the time of the request.",
"innerError": {
"request-id": "d650669d-b48f-4d6e-bd18-e0805e79167c",
"date": "2019-06-10T03:27:53"
}
}
}
How can I resolve this issue?
Tenant does not have a SPO license. I will fix the error code to be more specific. Thanks!