Questions tagged [office365api]

The Office 365 API lets developers build apps that use data stored within Office365. These can be stand-alone apps or plugins within the Office365 web apps.

Whether you want to incorporate the richness of Office 365 data into your app, or create a custom experience within Office 365 itself, or use custom reports to keep your Office 365 Enterprise environment running smoothly, you can use the following developer features to achieve your goals.

  • Integrate Office 365 data into your own apps
  • Create custom experiences within Office 365
  • Analyze and manage the health of your Office 365 Enterprise environment

You can also create custom experiences within the Office clients, such as Word, Excel, and PowerPoint, and within SharePoint 2013 and SharePoint Online.

Useful Links:

  1. Overview
  2. API reference
1287 questions
26
votes
2 answers

NameIdentifier vs ObjectIdentifier

I have a multitenant ASP.NET application using OpenIdConnect and Azure AD as an Identity provider for Office 365. When the user is authenticated I receive my claims in ClaimsPrincipal.Current. I wanted to identify a user and store this id reference…
12
votes
2 answers

Refresh token not returned for Office365 accounts purchased through GoDaddy

Background We have a feature that syncs calendar entries and contacts between our application and Office365, using the Office365 REST apis outlined here. We are using Version 1 of the API. For authorization we are performing authorization via Azure…
drunkel
  • 228
  • 1
  • 11
12
votes
3 answers

How to get client secret from azure active directory for native app for using one drive business API?

I am developing an outlook plugin.I want use one drive API's in it.I easily got the client Id and client secret for using API's for one drive personal accounts.But, when I registered my application for one drive business API's in azure active…
V K
  • 1,645
  • 3
  • 26
  • 57
11
votes
2 answers

Office 365 api in PHP

I'm trying to make an calendar view for my company to show which employees are available. I made an app in Azure, I can logon in to the system, I get an access token, but I can't get information. I build the request url using curl and send this…
apero
  • 1,074
  • 2
  • 23
  • 38
11
votes
2 answers

Is there a way to programatically edit Office 365 Excel documents?

I have to update a spreadsheet that looks like this. It's not hard at all. I just go to the last line and enter what I need in the appropriate columns. I'd like to automate this. The first thing I tried was Selenium Webdriver but the results are…
user2102611
11
votes
2 answers

Get a Authorized token for O365 Calendar

I'm making an app that needs to access the content of a Office 365 Calendar. That app shouldn't need a direct user action to log in and retreive its data, so I can't use a standard OAuth way to get this token. I was a bit familiar of google's…
Quadear
  • 467
  • 2
  • 10
11
votes
1 answer

What is the differences between Office 365 APIs and EWS

What are the differences between Office 365 APIs and EWS (Exchange Web Services) ? When do I use one or another?
dowi
  • 1,005
  • 15
  • 30
10
votes
1 answer

Grabbing files from Microsoft Teams using Python

Teams seems to lack any native way of mirroring files to a shared directory. I'm Trying use Python (or another language but python preferred!) to either: a. Directly pull from microsoft teams into memory using Python to process with Pandas b. Copy…
10
votes
4 answers

When registering an app on Azure Active Direct, what "redirect URI" or "Sign-on URL" should I use?

Might seem a silly question, but Microsoft's documentation isn't very beginner friendly, I think. It uses as examples "http://localhost:31544" for the sign-on url and "http://MyFirstAADApp" for the redirect URI, but although I understand what a…
Janilson
  • 1,042
  • 1
  • 9
  • 23
10
votes
1 answer

Using Proxy PAC with EWS API

I have a web application that calls the EWS Managed API to connect to office365. I've followed the Get started with EWS Managed API 2.0 client applications documentation on MSDN. In the web.config I've specified the proxy pac:
Alessandro
  • 4,382
  • 8
  • 36
  • 70
10
votes
1 answer

Microsoft Graph API: Get all rules for mail account

I have and admin account in Office365 with an app that's been given full access to anything exchange related. I am writing an app that has a use case where I would need to get all the Rules created in a user's mailbox. This would include things like…
Keshi
  • 906
  • 10
  • 23
10
votes
2 answers

Difference between Office 365 REST Api and Microsoft Graph

I would like to know difference between Office 365 REST API and Microsoft Graph, since we could find similar functionality for both of these. https://msdn.microsoft.com/en-us/office/office365/howto/rest-api-overview Following is the text from above…
10
votes
3 answers

How to retrieve contents of an itemAttachment via the Microsoft Graph API

I'm currently developing a solution which is retrieving e-mails via the Microsoft Graph API. In november 2015 Microsoft stated it is ready for production and I've read in another forum post that if you start now on developing using a Microsoft API,…
Bart Poelmans
  • 103
  • 1
  • 1
  • 7
9
votes
2 answers

Office 365 Graph API $top not being honoured on delta queries

The Office 365 Graph API documentation suggests that $filter and $top operations should be supported when used together on a delta…
David de-Vilder
  • 890
  • 1
  • 8
  • 18
9
votes
4 answers

c# how to get office 365 user photo using microsoft graph api

I want to be able to get all user's office365 photos within Azure Active directory. Right now I'm able to get the current user's email using graph SDK GraphServiceClient graphClient = SDKHelper.GetAuthenticatedClient(); public async Task
1
2 3
85 86