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
0
votes
1 answer

OneDrive for busines API with Office365

I'm writing a library on php to communicate Office365, and now I need to communicate with OneDrive for business. I follow all the steps from this link https://dev.onedrive.com/auth/aad_oauth.htm When i try to connect with curl GET…
Nerxhan
  • 311
  • 2
  • 10
0
votes
1 answer

Which applications should I add in "permissions to other application" section in azure,to registering application for One Drive Business

I want to integrate one drive for business into my winform application.I have registered my application in azure for that.I created a trial office 365 account to test my implementation.I am able to authenticate user and I accepted all the…
V K
  • 1,645
  • 3
  • 26
  • 57
0
votes
1 answer

Create mail fails on Office365 Unified API

I have been trying to create an email as illustrated here: https://msdn.microsoft.com/office/office365/HowTo/examples-of-office-365-unified-api-calls#msg_eg_manage_me_create_mail_message However, that seems to fail with a 500 Internal Server…
d0kt0r1
  • 305
  • 1
  • 3
  • 15
0
votes
0 answers

Office 365 Unified APIs: Files respond with 401

When querying files using "https://graph.microsoft.com/beta/me/files" the following response is returned: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":"Access denied. You do not have permission to perform…
Dekel
  • 526
  • 3
  • 11
0
votes
1 answer

Not able to use One Drive API for One Drive for Business

I am trying to provide one drive functionality in my winform application(.Net 3.5). I have successfully implemented this for one drive, but I am having trouble doing it for one drive for business. I have registered my application in azure and I am…
V K
  • 1,645
  • 3
  • 26
  • 57
0
votes
2 answers

Office365 API OneNote API included

Months ago I integrated Office365 sign on on my website. (I used office365 account to sign in to my website). Now I want to include Onenote API feature like create page, create section etc. I research that is possible with office365 login you have…
Nerxhan
  • 311
  • 2
  • 10
0
votes
1 answer

Cannot access Contacts through Office365 Unified API

I was using the Office365 Unified API, most of the endpoints like Mail, Calendar, Files, Groups work OK besides the Contacts. I fire this kind of request: https://graph.microsoft.com/beta//contacts And I am getting an empty response even…
d0kt0r1
  • 305
  • 1
  • 3
  • 15
0
votes
0 answers

Publishing Office365 Api Webapp in Azure Web site with Azure DB

I am facing strange issue, I'm following this simple (https://github.com/OfficeDev/O365-WebApp-SingleTenant). I follow all steps and Works succesfully in localhost but when I deploy the same app on Microsoft Azure, it throws the following exception…
0
votes
1 answer

Office 365: Get Subscription License Count

I am attempting to get the number of licenses that I have on my Office 365 account. When I log in to the Office 365 portal and view Billing > Licenses, I'm given a table with the name of the subscription and the number of valid, expired, and…
eltaco431
  • 740
  • 2
  • 10
  • 24
0
votes
1 answer

Office 365 unified API (preview) - create distribution group

When creating a group in the unified API, it assigns our other domain. The code below assigns the name tgr@FuseFX.onmicrosoft.com instead of tgr@fusefx.com (fusefx.com is our default domain, and we can't remove the onmicrosoft one.) Is there…
cbishop
  • 63
  • 6
0
votes
1 answer

O365 REST API Calendar: Multiple Conditions with Clientlibrary

I'm using the O365 Clientlibrary to get some Events from the user calendar. I only want events between a defined timespan (4 days). Unfortunately I get a error message when I define more condidtions. Code: DateTime date = DateTime.Now; var events =…
AJRames
  • 135
  • 1
  • 11
0
votes
1 answer

Creating Unified Groups using Unified API not creating One Drive

Using the Unifed API to create Unified Groups (https://msdn.microsoft.com/office/office365/HowTo/groups-rest-operations#CreateAGroup). Up until yesterday this seemed to be working fine. After waiting an hour we were able to add members,…
mike w
  • 101
  • 1
  • 10
0
votes
1 answer

Creating group conversations with attachments via unified api

Has anyone been able to post a conversation with an attachment to a group using the unified api? I have been able to post conversations to a group with no attachments ( using examples at…
mike w
  • 101
  • 1
  • 10
0
votes
1 answer

Create a file with content on OneDrive for Business with Files REST API

I've been trying to write an app that uploads files to a OneDrive for Business account through the Files REST API. I've successfully been able to use do this by using with the following method Creating an empty file in the root directory. Uploading…
0
votes
2 answers

Building Daemon or Service Apps with Office 365 Unified API

My service app works well with Office 365 Rest api: get access token, get all the data of all the users in my organization. Then, i try to use Office 365 Unified API. I've got access token but could not get data, always error "403 forbidden". Please…
Nguyen Tho
  • 89
  • 7