Microsoft Q&A

Microsoft Graph Explorer API

242 questions

A developer tool where you can learn about Microsoft Graph APIs.

242 questions with Microsoft Graph Explorer API tags

Sort by: Updated
1 answer

How to search by last modified data and time to fetch recently modified records. Results should contain all the nested children and grand children

We are trying to search for last modified records in SharePoint online by using below search query https://graph.microsoft.com/v1.0/sites/siteId/drives/driveId/root/search(q='2023-03-27') But we are not getting accurate match for the date, instead we…

Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
295 questions
Microsoft Graph Explorer API
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,499 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,818 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
asked 2023-03-30T01:23:32.4166667+00:00
Amitabh Dudekula 0 Reputation points
edited an answer 2023-03-30T10:04:32.5033333+00:00
CharanyaB-MSFT 1,026 Reputation points Microsoft Vendor
2 answers

Unable to fetch all mailboxes of an organization using application perms Mail.Read

I have given application perms (Mail.Read) to my AAD app, followed Oauth flow, got an access token, and tried calling the URL "https://graph.microsoft.com/v1.0/users/{USER_ID}/mailFolders/Inbox/messages" I am unable to fetch the emails of…

Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
648 questions
Microsoft Graph Explorer API
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
505 questions
Microsoft Graph Permissions API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
739 questions
asked 2023-03-28T11:42:38.11+00:00
Anns 21 Reputation points
commented 2023-03-30T01:50:49.94+00:00
CarlZhao-MSFT 20,776 Reputation points
1 answer

How to retreive list of modified(Renamed) files in SharePoint online in specific time period using Graph Client api java

How to retrieve all SharePoint files modified whose name changes in last one hour in SharePointOnline using GraphServiceClient java api ? I went through some of the documentation and got below link its works for my requirement but looks like it will…

Microsoft Graph Explorer API
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
295 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,499 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,818 questions
asked 2023-02-09T05:43:25.6966667+00:00
Dudekula,Amitabh 0 Reputation points
commented 2023-03-29T04:55:18.0866667+00:00
Amitabh Dudekula 0 Reputation points
6 answers

Inconsistent lastSignInDateTime value for some users

If I read (some) users lastSignInDateTime value multiple times I will get randomly two different values. I use get-mguser or API I have tested multiple tenants and ~10-20% users are affected in any tenants. …

Microsoft Graph Explorer API
asked 2022-12-07T06:53:32.483+00:00
Jako Bergson 1 Reputation point
commented 2023-03-23T18:11:51.44+00:00
tim hodkin 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Graph 'GetPresence' without user sign-in

Hi! I tried to send a request to "/communications/presences/{userId}", but I only received a 200 (Success) response when I made a sign-in (using Delegated access token). However, I need to do this without any sign-in scenario. Is there any…

Microsoft Graph Explorer API
Microsoft Graph Permissions API
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
505 questions
Microsoft Graph Teamwork API
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
asked 2023-03-22T08:55:04.36+00:00
Baha Bayar 40 Reputation points
commented 2023-03-23T08:36:40.5733333+00:00
Baha Bayar 40 Reputation points
1 answer

Getting Forbidden error with mail graph api

Hi I am trying to get mails using Graph API. I am getting Forbidden error even though I have admin role. Can anyone can help me with this!

Microsoft Graph Explorer API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
739 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
asked 2023-03-17T07:52:22.8366667+00:00
DanielK 0 Reputation points
commented 2023-03-21T02:09:36.9566667+00:00
CarlZhao-MSFT 20,776 Reputation points
1 answer One of the answers was accepted by the question author.

How to Query OR condition in Graph API

I am trying to run OR condition to find users with either of license assigned but its not working. Can someone please help to correct it ? https://graph.microsoft.com/v1.0/users?$filter=assignedLicenses/any(x:x/skuId eq…

Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
648 questions
Microsoft Graph Explorer API
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
527 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
asked 2023-03-18T02:07:43.0433333+00:00
67868880 106 Reputation points
accepted 2023-03-18T11:26:45.1733333+00:00
67868880 106 Reputation points
1 answer

How to set organization and microsoft 365 branding through api

Hi, In the Microsoft Graph API there is a branding API. This API is not working (anymore). I see a feedback report from a few months back but without any response. How can we get the branding and how can we set the branding through the Microsoft Graph…

Microsoft Graph Explorer API
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
273 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
527 questions
asked 2023-03-10T14:03:04.64+00:00
Ralph Jansen 81 Reputation points
commented 2023-03-13T11:36:49.7766667+00:00
Ralph Jansen 81 Reputation points
6 answers

Retrieve all messages from an email address - Microsoft Graph Explorer

Hello, I would like to use the Microsoft Graph Explorer API to develop an applcation wich display all messages (emails) for a client's email address from Outlook. If 3 people send emails to a client, the application will display all emails for this…

Microsoft Graph Explorer API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
739 questions
asked 2021-05-10T15:12:24.86+00:00
Aurelien 1 Reputation point
answered 2023-03-10T13:49:32.13+00:00
jacksonville234 0 Reputation points
3 answers One of the answers was accepted by the question author.

The specified object was not found in the store., Default folder AllItems not found.

I am trying to read emails of users in a tenant. The admin has granted consent for the following permissions: offline_access AccessReview.Read.All AccessReview.ReadWrite.All APIConnectors.ReadWrite.All Channel.ReadBasic.All ChannelMessage.Read.All…

Microsoft Graph Explorer API
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,151 questions
asked 2022-12-06T07:26:22.26+00:00
Benjamin Munyoki 21 Reputation points
commented 2023-03-07T02:52:56.7033333+00:00
CarlZhao-MSFT 20,776 Reputation points
2 answers

Get event using Microsoft Graph: ErrorAccessDenied

0 Following the instructions from: learn.microsoft.com/en-us/graph/api/event-get , to get all of the details of an specific successfully created event. I am executing this HTTPS GET request with the URI:…

Microsoft Graph Explorer API
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
505 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
Microsoft Graph Calendar API
asked 2023-02-07T13:49:37.2166667+00:00
fomplus_graph 10 Reputation points
commented 2023-03-03T14:48:31.2466667+00:00
fomplus_graph 10 Reputation points
1 answer

When using /users/{user id}/calendar/calendarView?startDateTime={time}&endDateTime={time}} I dont receive a proper event's subject

In my front end application I am trying to receive rooms events in a period of time using above endpoint (rooms calendars are shared to admin user). My problems: 1)I receive data but instead of the event's subject, which I really need, I get a name…

Microsoft Graph Explorer API
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
505 questions
asked 2023-02-13T21:36:26.7366667+00:00
admin 41 Reputation points
answered 2023-02-28T14:54:46.06+00:00
SiddharthGautam-MSFT 855 Reputation points Microsoft Vendor
1 answer

Can we create folder and file upload at same time(in one request) using sharepoint api?

We need to create a folder and upload the file at the same time can it be possible. In any circumstances it is possible can you provide us with code or documentation about this? We want to create a folder and upload files in one API request.

Microsoft Graph Explorer API
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,499 questions
asked 2023-02-09T04:20:47.2266667+00:00
Purvesh Tejani 0 Reputation points
commented 2023-02-28T07:00:52.0033333+00:00
RaytheonXie_MSFT 16,981 Reputation points Microsoft Vendor
1 answer

Microsoft Graph API - Access a database after logging in - credential work flow

So i am using Microsoft Graph API with the JavaScript client, Im creating a React, Node/Express and PostgreSQL database. (might not be relevant to my question). But i need to create a database in the backend where when a user login's i can CRUD there…

Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
648 questions
Microsoft Graph Explorer API
Microsoft Graph Permissions API
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
273 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
505 questions
asked 2023-02-02T22:16:29.5166667+00:00
Asqueroso 1 Reputation point
answered 2023-02-27T13:26:01.6066667+00:00
Mohammed Mehtab Siddique (MINDTREE LIMITED) 731 Reputation points Microsoft Vendor
1 answer

Microsoft Graph API - Access a database after logging in - credential work flow

So i am using Microsoft Graph API with the JavaScript client, Im creating a React, Node/Express and PostgreSQL database. (might not be relevant to my question). But i need to create a database in the backend where when a user login's i can CRUD there…

Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
648 questions
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
273 questions
Microsoft Graph Permissions API
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
505 questions
Microsoft Graph Explorer API
asked 2023-02-02T22:18:29.6233333+00:00
Asqueroso 1 Reputation point
answered 2023-02-27T13:20:27.66+00:00
Mohammed Mehtab Siddique (MINDTREE LIMITED) 731 Reputation points Microsoft Vendor
2 answers

Event attachment issue for attendees

Hi all , I am trying to create outlook meeting event with multiple attendee using following API : POST https://graph.microsoft.com/v1.0/me/events And for the same event adding an attachment as an organizer using : POST…

Microsoft Graph Calendar API
Microsoft Graph Explorer API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
648 questions
Microsoft Graph Teamwork API
asked 2023-02-10T20:31:08.3466667+00:00
Malviya, Vishal 0 Reputation points
answered 2023-02-27T13:16:30.9633333+00:00
Palle Hansen 0 Reputation points
1 answer

Not found error -Microsoft Graph API

I am facing below issue while trying to get "Communication details".Please guide.

Microsoft Graph Explorer API
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
907 questions
asked 2023-02-01T09:26:23.0833333+00:00
Chanakya Jayabalan 60 Reputation points
edited a comment 2023-02-21T09:25:31.61+00:00
CarlZhao-MSFT 20,776 Reputation points
1 answer One of the answers was accepted by the question author.

https://graph.microsoft.com/v1.0/users only returns one object

Hello, 1) When I execute the following query on Graph Explorer: GET https://graph.microsoft.com/v1.0/users It only returns one object. When I execute the same query in postman it returns all tenant users. What is missing? 2) How I renew the token in…

Microsoft Graph Explorer API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,651 questions
asked 2023-02-14T08:18:24.73+00:00
PauloMatos 165 Reputation points
accepted 2023-02-16T09:26:43.43+00:00
PauloMatos 165 Reputation points
1 answer One of the answers was accepted by the question author.

can't consent to offline_acces permission in graph explorer

I need offline_acces to get refresh tokens for my Azure app. When I click on "Consent", it loads, then says "Success - Scope consent succesful" but it actually didn't activate and I can't Consent to it no matter what. Is this a bug…

Microsoft Graph Calendar API
Microsoft Graph Explorer API
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
824 questions
asked 2023-02-10T14:12:35.6433333+00:00
DM 20 Reputation points
edited an answer 2023-02-16T06:43:32.2233333+00:00
CarlZhao-MSFT 20,776 Reputation points
2 answers One of the answers was accepted by the question author.

Graph API token expires too quickly

I am using PowerShell to query the audit logs, in this way: $AccessToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" $invokeRest = Invoke-RestMethod -Uri…

Microsoft Graph Explorer API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,651 questions
asked 2021-11-12T15:25:48.477+00:00
Nadim J 51 Reputation points
commented 2023-02-15T16:27:14.42+00:00
Leonardo Bolaños 0 Reputation points