office365-restapi

Can not send large message with Office 365 REST API

非 Y 不嫁゛ 提交于 2020-01-07 03:10:29
问题 I'm using JavaScript to make a POST request to create a message to Office 365 with xhr (Or using Faraday gem to make POST request - Ruby on Rails).My flow is encode file to base64 and create a JSON contain all attachments(encoded) then POST to https://outlook.office.com/api/v1.0/me/sendmail . var endpointUrl = "https://outlook.office.com/api/v1.0/me/sendmail"; var xhr = new XMLHttpRequest(); xhr.open("POST", endpointUrl); xhr.setRequestHeader("Authorization", "Bearer " + token); xhr

OData Search with Office 365 Mail API .NET Client

我与影子孤独终老i 提交于 2020-01-06 08:34:06
问题 I need to perform an OData query $search = "subject:pizza" using the OutLook 365 API but using the Outlookservicesclient (found the in the outlook 365 sdk, this nuget https://www.nuget.org/packages/Microsoft.Office365.OutlookServices-V2.0/) See this OutLookAPI OData query Reference This works correctly using an HttpClient but with the .NET client library, its seemingly not possible to add any non-standard query parameters. Ie: var messages = await client.Users['mail@me.com'].Messages .Where(m

Error accepting audio calls in skype for business web app. Error Failed to parse SessionDescription in Chrome

感情迁移 提交于 2019-12-25 19:16:09
问题 I have a Skype For Business Online web app. I am using Skype Web SDK and Azure AD for authentication. On making a audio call from Lync, I sucessfully receive notification in the web app. But the audio call soon gets disconnected. Error is Failed to parse SessionDescription. candidate:a5BpIVxQzQh5t/7CqfgBOQeCbDFb0l/mEzYbPkw96vg 1 1V4ajHJQOLI2T9wGQfzL1g UDP 0.830 172.51.21.32 24068 Expects at least 8 fields. The name of error comes as OperationError 回答1: Currently the Skype Web SDK doesn't

Azure AD - disable a client's application

你说的曾经没有我的故事 提交于 2019-12-25 09:17:04
问题 I want to create a service that can deny\revoke access to a user's mobile mail application. To be specific, I want to temporarily revoke access to a mobile mail client app (like Nine) using office365 online exchange mail, which is authenticated as an Azure Active Directory application. So far I figured out how to do similar or partial actions: I can manually revoke azure AD apps using this link: https://account.activedirectory.windowsazure.com/applications/default.aspx But I didn't find an

Office 365 default Calendar's ID changes automatically

眉间皱痕 提交于 2019-12-25 08:29:55
问题 I was using V2 DLL of Office 365 API for performing calendar operations. I am saving default calendar's ID for performing operations on it. It was working fine for me from last two years but lately since last 1 month, when I am trying to fetch calendars from my account - just to check if the calendar is available on whom I am trying to work on - the calendar ID fetched is different from the calendar ID fetched from O365 API Saved Calendar ID -

Can I move or copy messages (Office 365) using the REST API v1.0 using Powershell

China☆狼群 提交于 2019-12-25 07:19:13
问题 So far, thanks kindly to Fei Xue, I have been able to send emails using the REST API. What I would like to know is can I move emails between folders. The following reference (using V1.0) suggests I can..https://msdn.microsoft.com/en-us/office/office365/api/mail-rest-operations#Moveorcopymessages I have put something together but its not working. The IDs represent the message ID and the destination folder ID $contentType = "application/json" $uri = "https://outlook.office365.com/api/v1.0/me

What is the purpose of the new “Read user and shared mail” delegated scope in Azure AD portal for Office 365 Exchange Online

故事扮演 提交于 2019-12-24 08:36:42
问题 What is the purpose of the new delegated scope "Read user and shared mail" in Azure AD for Office 365 Exchange Online. Is it for accessing shared mailbox with Outlook REST Api? It seemed impossible until now. Is there some documentation available? Is this scope requires admin_consent ? ? 回答1: Yes. This permission is used for accessing the messages from the shared mailbox. However we need to specify the shared mailbox we want to retrieve the messages from. Here is an example for your reference

outlook.com rest api incorrect organizer email

岁酱吖の 提交于 2019-12-23 22:55:17
问题 When a user has created an event in outlook.com shared calendar, the REST API tells that calendar owner is organizer. I have one calendar in Outlook.com and I'm syncing all calendar event's to my server with a calendar subscription. I get notifications when something happens and there is url in the notification which I can use to get object of that newly created event. I have now another user in outlook.com and I have shared my calendar to him. When he does something in that shared calendar I

What to do if app misses notification - SequenceNumber jumps over by one or more?

蹲街弑〆低调 提交于 2019-12-22 17:04:09
问题 Where I am right now? I have subscribed to calendar notifications via office365's REST API. When any event in that calendar are created/updated/deleted office365 sends notification to my app's endpoint which I assigned when I created this subscription. Subscription code works like a charm and notifications are coming immediately. I really want to make my code error tolerant and here comes the problem: what happens if notifications are coming in non-incremental order? For example if someone

How to create event where current user not organizer using Microsoft Graph API

依然范特西╮ 提交于 2019-12-12 12:29:17
问题 Need to create an event where current user is not the organizer. I tried with the following code that I'm using to create the event: var eventsEndPoint=New Uri("https://graph.microsoft.com/v1.0/users/johndoe@some.com/events"); var postBody="{'Subject':'Testing Organizer - 12','Location':{'DisplayName':'Some place'}," + "'Start': {'DateTime': '2016-07-15T15:00:00.0000000', 'TimeZone':'UTC'}," + "'End': {'DateTime': '2016-07-15T15:30:00.0000000', 'TimeZone':'UTC'},"+ "'Body':{'Content': 'This