office365api

Azure AD for Office 365 does not show in new portal

戏子无情 提交于 2019-12-11 12:48:41
问题 In new Azure Portal i don't see any way to manage AD. Customer does not really have Azure AD subscription just Office 365. But i can see it in old Management , add APPS that work with AD and everything. How can i do that in new Azure Portal? Demonstrated on this screnshot using same account: https://dl.dropboxusercontent.com/u/16550256/azure%20vs%20azure.png Everything I find on this matter regards the OLD azure management. 回答1: New Portal doesn't support Azure AD management yet, not all

Add event to O365 group calendar with “Application” permission

做~自己de王妃 提交于 2019-12-11 12:18:43
问题 Use Case My application needs to dynamically create Office 365 Outlook calendars, share them with a variable number of Office 365 users, and manage the calendar events at any time. Approach Since the application needs to manage the calendars at any time, it needs to authenticate with Application Permission. Using the Groups API, I can do the following: Create the group (and therefore the calendar) Add members Create events (in the calendar) Problem The problem is that creating events is "Not

Update Office365 personal Contacts

守給你的承諾、 提交于 2019-12-11 08:45:59
问题 The context: Our company has 12 coordinators. Each coordinator manages a bunch of personal contacts. Coordinator1 manages 409 personal contacts. Coordinator2 manages 216 personal contacts. Etc... We have a nightly task that populates a SQL Server TABLE holding personal contact information. The data in the TABLE is extracted into 12 different CSV files which in turn is sent to each coordinator. The coordinator has the responsibility to Import this CSV file into his Outlook in order to keep his

Can Office 365 REST API send an email with both plain text and HTML body?

て烟熏妆下的殇ゞ 提交于 2019-12-11 07:59:47
问题 I'm looking at the API docs, and it looks like you can specify only one Body in a Message . Sending a message: https://msdn.microsoft.com/en-us/office/office365/api/mail-rest-operations#SendMessages The Message type: https://msdn.microsoft.com/en-us/office/office365/api/complex-types-for-mail-contacts-calendar#MessageResource Is it possible to do something like a multi-part message with plain text and HTML? Ultimately I'm looking to send this message with an attached calendar meeting

Are app-only tokens already available for Microsoft Graph API webhooks?

梦想与她 提交于 2019-12-11 06:16:48
问题 I'm trying to retrieve information via a webhook, regarding User's OneDrives on a Tenant, using an app-only token, and the Microsoft Graph API. The problem I'm having is that the Microsoft Graph Explorer keeps returning me an undefined error in an 500 response, that gives me little information, when creating a new subscription : { "error": { "code": "", "message": "An error has occurred.", "innerError": { "request-id": "16546770-c3b0-4d9f-8a9c-1a79fb17ffcd", "date": "2016-09-06T10:15:04" } }

Unique user id in multi tenant Azure AD apps

依然范特西╮ 提交于 2019-12-11 04:32:02
问题 Do you know the unique user id in multi tenant Azure AD apps pattern? I'm now developing app using Microsoft Graph with Azure AD multi-tenant application pattern. For identifying each user I want to know the unique id - I'll use it as a key in our own database to save user's data. In this reference, id parameter in user object is "The unique identifier for the user", but I wonder is it unique id in each tenant or in all tenant ? It is important thing because my app will use in multi tenant.

Get missing auditlog from Management Activity API in Office365

旧城冷巷雨未停 提交于 2019-12-11 04:18:35
问题 Our application calls out-of-the-box Office 365 Management API to retrieve activities and events on files stored in SharePoint Online. However per our experiment, the application can’t seem to retrieve not enough logs. Example: We upload 1000 files to document library in Sharepoint Online. We receive 8 subscriptiona. Each subscription, we only get maximum 100 logs. Total call API get logs to retrieve 600 logs. Not enough! Here my code to get subscription List<SubscriptionsContent>

Writing a simple microsoft graph client without using a web server

徘徊边缘 提交于 2019-12-11 01:58:28
问题 I'm looking to write a script to update a Distribution List in Office365. I'm in the process of learning the MS Graph API and have gotten the python REST sample to work. It appears that all the sample Graph API code, regardless of language or platform, has an assumption that I'm coding from a web user interface in one way or another. Is it possible to write a simple client that runs from a Linux box and allows me to specify my Office 365 id in my code, without having to select it from a

Office365 API returns: the hostname component of the audience claim value 'https://graph.microsoft.com' is invalid

雨燕双飞 提交于 2019-12-11 00:59:10
问题 I can't seem to work this out. I found some questions close to this issue that says configurations is the issue, however, I am able to use the send mail function. I am just starting to learn Office365 API and would greatly appreciate the help! Here is the snippet: $curl = curl_init( $headers = array( 'Authorization: Bearer ' . $_SESSION['access_token'], 'Content-Type: application/json;' . 'odata.metadata=minimal;' . 'odata.streaming=true' ); curl_setopt_array( $curl, array( CURLOPT

Can I sync calendar events with the Microsoft Graph API?

谁都会走 提交于 2019-12-10 18:19:41
问题 I'm working with the Microsoft Graph api to try and sync calendar events from Outlook. I was looking at this article concerning the Outlook api, which suggested I add the header odata.track-changes to my request and I would receive a deltaToken , which I could use on a later request to fetch only those events which had been updated or created since the last sync. I have been successful fetching events, but I'm not getting a deltaToken back :/ Is this only supported in the Outlook api? Graph's