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
6
votes
3 answers

REST APi to get all times in specific folder in SharePoint document library

I would like to get items in specific folder inside SharePoint document library called "Pages" with REST API I used below rest API which I can get all items in document library https://spsite/_api/web/lists/getByTitle('Pages')/items But I have not…
Laleh
  • 183
  • 1
  • 1
  • 13
6
votes
1 answer

RESTAPINotEnabledForComponentSharedMailbox error

I have users that cannot use our services because Outlook REST API returns the following error code RESTAPINotEnabledForComponentSharedMailbox. It looks like their mailbox is not a shared mailbox. So what kind of mailbox is that? Can you tell me…
Benoit Patra
  • 4,355
  • 5
  • 30
  • 53
6
votes
2 answers

How to properly register and access Office 365 Graph API for OAuth2 (using omniauth from Ruby)?

I'm trying to access the Office 365 (Graph API) from our Ruby on Rails application (specifically, the Calendar Read API). We're using omniauth for our OAuth2 flows and as such, we have also tried to access the Graph API using the omniauth-office365…
Pascal Lindelauf
  • 4,782
  • 4
  • 40
  • 55
6
votes
3 answers

API Call From Word Web Add-In (Office.Js) Is Not Working: CORS Issue?

Friends, I am trying to call API from Word Add-in and getting "Access Denied" error. I did some research and it looks like "Cross Origin Resource Sharing" is the cause. 1. Web API I am hosting Web API 2 locally at…
6
votes
2 answers

Can not get signed in email using Office 365 REST API

I followed this post http://dev.office.com/code-samples-detail/2142 and Ruby to get user's email address. Here is the code: # Parses an ID token and returns the user's email def get_email_from_id_token(id_token) # JWT is in three parts,…
6
votes
2 answers

Skype for Business UCWA and Web API with Office365

Is it possible to connect to Office365 server and use UCWA (ucwa.skype.com/) with Skype for Business now? I want to use this example https://www.matthewproctor.com/Send-An-IM-With-UCWA-Creating-the-Application/ but I don't know which server I can…
5
votes
1 answer

Getting "unauthorized_client" error while regenerating new Microsoft token in OAuth 2.0 client credentials flow

We are using OAuth 2.0 client credentials flow for admin authentication. We are using this API to regenerate the admin oauth token. But we are getting the below error for a user when generating the token after token becomes invalid. Can you please…
karthik
  • 191
  • 3
5
votes
1 answer

how to integrate google docs in web application (preview, edit, save)

I want to integrate google docs in web application (Angular 10) for preview, edit and save. I have documents stored on my server. I want to preview documents using google docs which stored on my server(it can be stored on Amazon S3 or Azure etc). I…
5
votes
0 answers

Guests(live account) added to Azure AD are not able to login if tenant id is passed during o-Auth flow in a B2B scenario

We are having Azure AD B2B integration, where a live id account is added to a Office 365 Tenant. When initiating o-auth flow if we specify tenant Id its not working for these guests users only it works fine for regular users in that tenant. Initial…
Deepak Sharma
  • 1,873
  • 10
  • 23
5
votes
2 answers

Why do I get Gateway Timeout whenever my MS Graph API mail search finds no results?

As of this week I am suddenly getting gateway timeout from Graph when my mail search finds no results. I am using a query like this…
Igby Largeman
  • 16,495
  • 3
  • 60
  • 86
5
votes
3 answers

List all files recursively in microsoft graph

We are trying to retrieve all files under a folder recursively, but I can't find an API for that. I've tried using the search API without a query, but this doesn't return anything.…
5
votes
1 answer

The property 'iCalUId' does not exist on type 'Microsoft.OutlookServices.Event

I'm using Graph API to get/list and create calendar events. Lately I was trying beta API and recently I've encountered following error on attempt to create calendar event: The property 'iCalUId' does not exist on type…
Vasily
  • 137
  • 1
  • 8
5
votes
0 answers

How to send nested attachments?

Stuck here writing JS code to send out an email via REST within a custom Outlook add-in. Scenario is following report \ \---- another message (item attachment) \ \------- attachment (file attachment) In words, I am sending a…
5
votes
1 answer

Authentication in Outlook 365 api

My use case is: make a script that will run every hour to extract information about a user's calendar. My script runs in Python and I get a token but I am unable to get the user's events. I have registered my app in the Microsoft Application…
Fabrice Dugas
  • 509
  • 1
  • 5
  • 15
5
votes
1 answer

Unable to get Token from oauth2 office365 calendar API

I am not able to get token from office365 calendar API,From last 7 to 8 months it was working but suddenly I am getting the error "expecting an array or an iterable object but got [object Null]". You guys can see my code here var oauth2 =…
1 2
3
85 86