outlook-api

Adding users to Exchange admin role groups via API?

孤者浪人 提交于 2020-06-29 15:00:30
问题 Is it possible to add users/members to Exchange admin role groups via an API? The equivalent PowerShell cmdlet would be Add-RoleGroupMember and the specific group I wish to add to is View-only Organization Management . Microsoft Graph has an endpoint to add to directory roles, however I can't seem to find a "View-only Organization Management" group listed in my tenant's DirectoryRoles or DirectoryRoleTemplates, so I suspect MS Graph hasn't got access to these Exchange role groups. Poking

Outlook API: Receiving 'ErrorIrresolvableConflict' when trying to send Draft

寵の児 提交于 2020-01-24 15:46:06
问题 When trying to send a draft, I receive an error: "ErrorIrresolvableConflict","message":"The send or update operation could not be performed because the change key passed in the request does not match the current change key for the item., Item could not be saved because conflicts were detected when saving. The message seems to send later when trying in a sandbox. 回答1: I fixed this by inserting a timeout between the creation of the draft and sending the draft. Essentially, race condition issues

Is there a way to get the Suggested Contacts through Outlook API?

天涯浪子 提交于 2019-12-24 11:37:31
问题 I'm currently developing an app that fetches my contacts in my Microsoft account. The problem is, unlike Google, when I send or receive an email to/from a new contact, it isn't copied into My Contacts, so I can't get it through https://outlook.office.com/api/v2.0/me/contacts . However, when I wrote a new email, it appears as a suggestion, so I guess it is stored somewhere else. The question is: is there a way to access to my suggested contacts through the API to get their emails? And how?

Get all messages from Outlook API

▼魔方 西西 提交于 2019-12-24 08:35:29
问题 I'm consuming the Outlook API, attempting to access all messages from an inbox which contains ~45,000 messages (and other folders such as Sent Items). The main request I'm making is to https://outlook.office.com/api/v2.0/me/messages. If I add ?$count=true, the "@odata.count" value is returned as -1. I can add $top=500 to the request which gives me 500 messages returned and an "@odata.nextLink" , but if I pass $top=5000, there's no "@odata.nextLink" which I'd expect to see. A few particular

Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer

旧巷老猫 提交于 2019-12-23 02:19:26
问题 I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text. So say someroom is an meeting room.. we only get "someroom" text location. Is this possible? how Trying this. Also read maybe I need location.AdditonalData , but see no examples anywhere. PATCH : Event_URL Body PAYLOAD : { "subject": "Test Graph 2", "location": { "displayName": "someroom", "locationEmailAddress": "someroom@mydomain.onmicrosoft.com", "address":

Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer

谁说胖子不能爱 提交于 2019-12-23 02:19:01
问题 I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text. So say someroom is an meeting room.. we only get "someroom" text location. Is this possible? how Trying this. Also read maybe I need location.AdditonalData , but see no examples anywhere. PATCH : Event_URL Body PAYLOAD : { "subject": "Test Graph 2", "location": { "displayName": "someroom", "locationEmailAddress": "someroom@mydomain.onmicrosoft.com", "address":

Outlook Javascript API - window.open not working from Outlook 2016 Desktop/Windows

喜欢而已 提交于 2019-12-11 02:36:33
问题 I have an Office Add-In written in the new JavaScript API, inside of it, I have a JS function which after some logic opens a web app in a new window using window.open(url, '_blank') It works when called from the add-in pane in Outlook Web in both, localhost hosted add-in, as well as after deployment on heroku. However when called from a command (add-in button on ribbon) it works only when the add-in is hosted on localhost, after I deploy it on heroku, the add-in works, shows commands in the

Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer

最后都变了- 提交于 2019-12-06 19:39:35
I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text. So say someroom is an meeting room.. we only get "someroom" text location. Is this possible? how Trying this. Also read maybe I need location.AdditonalData , but see no examples anywhere. PATCH : Event_URL Body PAYLOAD : { "subject": "Test Graph 2", "location": { "displayName": "someroom", "locationEmailAddress": "someroom@mydomain.onmicrosoft.com", "address": { "@odata.type": "microsoft.graph.physicalAddress" } } } also tried this: endpoint: https://graph