Content
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…


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…


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…


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 '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…


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!


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…
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…


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…


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…


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:…


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…


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 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 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…


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…


Not found error -Microsoft Graph API
I am facing below issue while trying to get "Communication details".Please guide.


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…


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…


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

