Questions tagged [office365-restapi]

Microsoft Office 365 is a commercial software plus services offer from Microsoft Corporation that includes the Microsoft Office suite of desktop applications plus hosted versions of Microsoft's Server products.

Office 365 exposed REST APIs to interact it with different languages.

222 questions
13
votes
4 answers

Get SharePoint List with Python

I am trying to find any way possible to get a SharePoint list in Python. I was able to connect to SharePoint and get the XML data using Rest API via this video: https://www.youtube.com/watch?v=dvFbVPDQYyk... but not sure how to get the list data…
John
  • 141
  • 1
  • 2
  • 6
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
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
7
votes
0 answers

Is it possible to access the address book with the Outlook REST API?

I know I can read contacts with the Office 365 API but I can't figure out if it's possible to fetch the contacts from the address book.
bbigras
  • 1,311
  • 2
  • 17
  • 32
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
1 answer

InefficientFilter error on Microsoft Graph requests which were previously working

Making the following request to the MS Graph to retrieve flagged messages ordered by due date: https://graph.microsoft.com/beta/me/messages?$filter=flag/flagStatus%20eq%20%27flagged%27&$orderby=flag/dueDateTime/dateTime%20desc&$top=100 would…
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
1 answer

Office 365 REST API calls from a .net console application

Please note that this question is not regarding generic REST service calling. Its about specific Office 365 REST service API. To be specific I need to utilize the 'Contact' API here:…
Rahatur
  • 3,147
  • 3
  • 33
  • 49
5
votes
2 answers

Any Office 365 REST API to get messages from all mailboxes in an organization?

I am exploring an option to see if it's possible to get messages from all mailboxes in an organization (i.e within a domain) using Office 365 Mail REST APIs or if there is any other way to easily get these messages. These are the options I have…
mbz_slk
  • 231
  • 4
  • 15
4
votes
1 answer

Choosing between the UpnName and SmtpAddress for the X-AnchorMailbox header when using Office 365 REST API

We use the Outlook REST API with Azure AD authentication to access mailboxes of our users. The documentation recommends the use of the x-AnchorMailbox header to optimize performance : For optimal performance when using the new Outlook REST…
Gabriel Boya
  • 761
  • 8
  • 17
4
votes
1 answer

How should start and end timezone be handled in OData parameters in O365 Calendar REST API v2.0?

What I'm trying to achieve I want to get all events in a user's calendar, sometimes within a specific window between two instants in time, sometimes just all. These events have to be ordered on event start as an instant in time. The problem I'm…
P44T
  • 1,109
  • 12
  • 21
4
votes
1 answer

SharePoint REST show current user profile picture

When getting the URL from the current user's profile via REST, the image tag is not able to display when the src is updated: