office365api

How to get In-Place archive mailbox in Exchange Online using Office 365 APIs

╄→尐↘猪︶ㄣ 提交于 2019-12-29 09:05:10
问题 I want to get list of folders/emails inside In-Place mailboxes. But both mailbox list and folder list doesn't returns In-Place mailboxes. This is what I have tried till now: Get mailboxes using following request Request: https://outlook.office365.com/api/v1.0/users('someuser@somedomain.onmicrosoft.com') Response: { "@odata.context": "https://outlook.office365.com/api/v2.0/$metadata#Users/$entity", "@odata.id": "https://outlook.office365.com/api/v2.0/Users('12637010-f344-4827-9e3b-21218392985d

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 -

Using the Microsoft Graph how do I look up a group by email address?

我们两清 提交于 2019-12-25 06:27:14
问题 I'm using the Graph Explorer to play with the Microsoft Graph. I understand you can access a group by specifying its id, like so - https://graph.microsoft.com/v1.0/groups/14481298-e121-4d97-91d5-3fe555aa2871 and you can get its members as well like this - https://graph.microsoft.com/v1.0/groups/14481298-e121-4d97-91d5-3fe555aa2871/members But it isn't clear to me how you lookup a group by its email address and list the members in one call. I now know, so I thought I would share, and also ask

Launch MS Word on Client PC to Edit Document on Server

痞子三分冷 提交于 2019-12-25 05:19:23
问题 I have a web application(PHP) running on a server which hosts several DOCX Documents ( MS Word documents) I want the user (using my application) after choosing any document to be able to: open the document using Microsoft Word installed on his PC View the document and edit it. save his work, and changes must be committed to the server. could anyone help me how to do that ie. lunch MS Word on client PC from JavaScript know when the user closes the MS Word application on his PC is it necessary

O365 Outlook REST API, masquerading

∥☆過路亽.° 提交于 2019-12-25 00:26:08
问题 We must write a synchronisation solution that must create and update calendar events in O365 for up to 4000 users. It is impossible to authenticate as each user to do this, but all docs and examples I found are based on direct authentication as the current user. From another Calendar REST API I know masquerading, there I can create a app token as Administrator, and then masquerade the URI as another user to create events. But it seems that Outlook/O365 don't have this feature. Which way must

Microsoft Graph Client SDK vs. Requesting JSONs

风流意气都作罢 提交于 2019-12-24 20:21:32
问题 I know that the query: https://graph.microsoft.com/v1.0/me/messages Corresponds to: GraphClient.Me.Messages.Request().GetAsync() I am trying to replicate the following requests in Microsoft Graph Client SDK : Get All Categories https://graph.microsoft.com/beta/me/outlook/masterCategories Corresponding Graph client query: ?? Get All messages that contain certain words in their subject The link will be similar to this https://graph.microsoft.com/v1.0/me/messages?$search="hello world"

Microsoft 365 management API, currentStatus returns yesterday “statusTime” field

风格不统一 提交于 2019-12-24 09:18:44
问题 We're working on migrating to Office365/M365 and when we make an API call to the Microsoft Management API for status, the statusTime field is yesterday. Any ideas why? https://manage.office.com/api/v1.0/(tenant)/ServiceComms/CurrentStatus Here's a partial json from the Exchange Online status: "Status": "ServiceRestored", "StatusDisplayName": "Service restored", "StatusTime": "2018-10-01T18:49:36.4528522Z", "Workload": "Exchange", "WorkloadDisplayName": "Exchange Online" StatusTime is exactly

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

VBA download a File from OneDrive

血红的双手。 提交于 2019-12-24 05:45:14
问题 I am trying to download a file from OneDrive. I am new to API Concepts and here is Code, Sub OneDrive_Download() 'Declare the Object Dim oRequest As Object 'Create and Assign Object Set oRequest = CreateObject("MSXML2.XMLHTTP") 'Input User OneDrive URL URL = "https://xxxx-my.sharepoint.com/personal/sidxxx_ie/" 'Post the URL in the Object oRequest.Open "POST", URL, False 'Send Keys to the API oRequest.send ("{""client_id"":myclientid,""CLIENT_SECRET"":myclientsecret}") 'Print the Response in

Problems Accessing Office 365 Planner Data using Graph API (by application) due to 401 Unauthorized

孤人 提交于 2019-12-23 23:25:04
问题 I have been struggling with accessing planner data from office 365 using an application which I have setup in Azure. I have been able to successfully retrieve licensing and user information, but am unable to get a list of user tasks (from Planner). Further Clarification: I am trying to access other users planner data tasks, not my own. This is not a user facing application, a user never logs in. I am using the REST interface using my registered apps client/secret key in order to obtain a