microsoft-graph-api

Validating a Microsoft Graph JWT Token

爷,独闯天下 提交于 2021-01-01 13:29:54
问题 I'm by no means an expert on MSAL/JWT/Graph authentication, but I'm hoping someone can explain this issue more clearly to me, or help me understand if there's a workaround or better approach. Essentially, there are certain scenarios where I might end up with a Microsoft Graph JWT token. Two examples I can think of easily are using the Microsoft Graph Toolkit or using Tabs SSO in Microsoft Teams. In both cases, I can get relevant identity information for the user from the JWT token I would

Why is Microsoft Graph API telling me events I've just created are being “@removed” when they are still there?

淺唱寂寞╮ 提交于 2021-01-01 09:24:13
问题 When I am doing a POST to me/calendars/[calendar-id]/events with the following payload. It successfully creates the event, and I receive the new event's id: { "start": { "timeZone": "America/Chicago", "dateTime": "2022-12-23T15:00:00" }, "end": { "timeZone": "America/Chicago", "dateTime": "2022-12-23T18:00:00" }, "subject": "Please don't delete me!", "body": { "contentType": "text", "content": "I'm just an event in the future, I wonder if I'll send a '@removed' notice?" } "isCancelled": false

InefficientFilter error on Microsoft Graph requests which were previously working

穿精又带淫゛_ 提交于 2020-12-29 14:14:56
问题 Making the following request to the MS Graph to retrieve flagged messages ordered by due date: https://graph.microsoft.com/beta/me/messages?$filter=flag/flagStatus%20eq%20%27flagged%27&$orderby=flag/dueDateTime/dateTime%20desc&$top=100 would previously succeed and give back the expected results. Recently some users have been getting the following response: { "error": { "code": "InefficientFilter", "message": "The restriction or sort order is too complex for this operation.", "innerError": {

InefficientFilter error on Microsoft Graph requests which were previously working

≡放荡痞女 提交于 2020-12-29 14:13:55
问题 Making the following request to the MS Graph to retrieve flagged messages ordered by due date: https://graph.microsoft.com/beta/me/messages?$filter=flag/flagStatus%20eq%20%27flagged%27&$orderby=flag/dueDateTime/dateTime%20desc&$top=100 would previously succeed and give back the expected results. Recently some users have been getting the following response: { "error": { "code": "InefficientFilter", "message": "The restriction or sort order is too complex for this operation.", "innerError": {

MS Graph API Error: 'Failed to execute Skype backend request GetThreadsS2SRequest

核能气质少年 提交于 2020-12-15 06:49:08
问题 I'm getting the following error message. Failed to execute Skype backend request GetThreadsS2SRequest when trying to Add , Update or Delete channels using MS Graph API for Teams. The calls were working fine for a while but now suddenly this error comes up. This happens particularly when the channel type is private . Any help would be much appreciated. Thanks. 来源: https://stackoverflow.com/questions/64858194/ms-graph-api-error-failed-to-execute-skype-backend-request-getthreadss2sreques

Odata.bind error when creating a team with microsoft graph

大憨熊 提交于 2020-12-15 05:15:31
问题 I'm using miscrosoft graph with .net core to create a team in Microsoft Teams. But when I send the request for the team creation I always get an error message: Invalid bind property name template in request. To do that, I followed the step required in the documentation here: https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta&tabs=csharp#example-4-create-a-team-from-group I already tried a bunch of example from the Microsoft documentation, from the v1.0 and beta one. My

Odata.bind error when creating a team with microsoft graph

僤鯓⒐⒋嵵緔 提交于 2020-12-15 05:15:12
问题 I'm using miscrosoft graph with .net core to create a team in Microsoft Teams. But when I send the request for the team creation I always get an error message: Invalid bind property name template in request. To do that, I followed the step required in the documentation here: https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta&tabs=csharp#example-4-create-a-team-from-group I already tried a bunch of example from the Microsoft documentation, from the v1.0 and beta one. My

Convert byte[] to Video (mp4 or any other palyable format)

怎甘沉沦 提交于 2020-12-15 04:41:29
问题 I am creating a bot that will record the Microsoft team live sessions. Audio recording is working fine but facing problems in generating the video file. The process I am following is that I am converting the video data into a byte array and then writing the data to a video format file. I am adding some code snippets, I have examined so far. 1. Stream videoStream = new FileStream(videoFilePath, FileMode.Create); BinaryWriter videoStreamWriter = new BinaryWriter(videoStream); videoStreamWriter

Convert byte[] to Video (mp4 or any other palyable format)

别等时光非礼了梦想. 提交于 2020-12-15 04:39:27
问题 I am creating a bot that will record the Microsoft team live sessions. Audio recording is working fine but facing problems in generating the video file. The process I am following is that I am converting the video data into a byte array and then writing the data to a video format file. I am adding some code snippets, I have examined so far. 1. Stream videoStream = new FileStream(videoFilePath, FileMode.Create); BinaryWriter videoStreamWriter = new BinaryWriter(videoStream); videoStreamWriter

Convert byte[] to Video (mp4 or any other palyable format)

断了今生、忘了曾经 提交于 2020-12-15 04:39:25
问题 I am creating a bot that will record the Microsoft team live sessions. Audio recording is working fine but facing problems in generating the video file. The process I am following is that I am converting the video data into a byte array and then writing the data to a video format file. I am adding some code snippets, I have examined so far. 1. Stream videoStream = new FileStream(videoFilePath, FileMode.Create); BinaryWriter videoStreamWriter = new BinaryWriter(videoStream); videoStreamWriter