Skip to main content

All Questions

0 votes
0 answers
54 views

Issue with Access Token Authorization in Microsoft Graph API Integration

I'm encountering an issue while integrating my application with the Microsoft Graph API. Below, I'm providing the relevant code snippets along with the logs for the application's behavior Code import ...
Abhishek Sharma's user avatar
1 vote
1 answer
474 views

Why can not get body field in response of Microsoft Graph API for listing messages?

I want to read certain email messages and filter them. I am using Microsoft Graph API to query the office 365 mail box as below. I also added API permission "Mail.ReadBasic.All" for getting ...
avantdev's user avatar
  • 2,724
1 vote
1 answer
651 views

Can I get the timezone in valid format which can be used by python directly from microsoft graph API while getting schedule of user?

API Example: I want user's working hours with timezone, I've used getSchedule api to get it But it's giving time zone which is directly incompatible with python So, I want timezone as "Asia/...
Tejas Chauhan's user avatar
0 votes
1 answer
487 views

I can't seem to get 'Inbox' and 'Sent Items' folders using Microsoft Graph API

I am unable to get the Inbox and Sent items folders when I print all my folders. But I am able to get other folders including the custom folders I have added. Here's my code that calls the api - url = ...
Piyush Agrawal's user avatar
1 vote
0 answers
204 views

Why could MS graph explorer and my python request results be different even request details are the same

I'm using ms-graph user:findMeetingTimes api in order to retrieve free meeting times of given user. I have used https://developer.microsoft.com/en-us/graph/graph-explorer with POST https://graph....
simkusr's user avatar
  • 812
4 votes
2 answers
9k views

How to get authorization token through OAuth2 and read Outlook emails through http requests?

I've been retrieving my emails in Outlook by only using python requests to GET the endpoint https://outlook.office365.com/api/v1.0/me/messages Example code: import requests requests.get('https://...
AlphaFoxtrot's user avatar
1 vote
2 answers
594 views

Microsoft Graph API CalendarView request not working

Here's my piece of code that handles and processes a specific date: def o365_calendar_parse_url(self): if validate_params(self.parameters): data_url = self.o365_base_url + self....
CodeTrooper's user avatar
  • 1,888
2 votes
1 answer
2k views

Microsoft outlook graph events api: how to get different timezone?

I'm trying to GET Microsoft calendar events. Default timezone of my outlook account is US Eastern Time Zone. But the response I'm getting from rest api call is all in UTC. How can I get my default ...
Hannan's user avatar
  • 1,191
2 votes
1 answer
437 views

Trouble getting contact folders through microsoft graph api

I'm having difficulties getting Microsoft Graph to return two test Contact Folders that I have set up named Test and Test 2. When I use v1.0: headers = {'Authorization': 'Bearer ' + token, 'Accept':...
Jake Dansey's user avatar