Graph API InternalServerError with FanoutDownstreamContradiction when running queries with large amount of results over multiple sites
Hi, I am running a search query against our SharePoint environment over a large amount of sites using the Graph API. For this we use the 'search/query' endpoint. The request is done using delegated permissions. Currently, when we run a query, most of the…
[Unauthorized] : Insufficient privileges to perform requested operation by the application '00000003-0000-0000-c000-000000000000'
Hi, I am using azure automation with identity system-assigned for authentication and MS Graph with the permissions in the Screenshot to invite external users. But I have this code error: [Unauthorized] : Insufficient privileges to perform requested…
Missing files from Microsoft Graph API search
Hello, I am using the following endpoint for the search: POST https://graph.microsoft.com/v1.0/search/query { "requests": [ { "entityTypes": [ "driveItem" ], …
Getting AADSTS50013 while trying to create GraphServiceClient to get user mail inboxes
Hello. I have a frontend nextjs application with microsoft entra login, I get the access and refresh token and store them. I have then a python backend that does api calls of microsoft to get user inboxes and emails I am getting right now the…
We get the 403 forbidden error when changing passwords via an application
We use OpenText (formerly NetIQ) Identity Manager to create and maintain users on AzureAD/Entra, using the OpenText AzureAD Driver. It all works fine except for passwords; we get the 403 Forbidden error when we change a password and the driver stops. …
In my web application I am sending mail using using System.Net.Mail
In my web application I am sending mail using using System.Net.Mail; (c#). In my local machine mailing is working fine, but I hosted it on Azure the mail doesn't work. Sourced from MSDN
Compact, Canonical reference to a versioned document?
Hello, We are building versioned data containers on top of SharePoint, which requires us to have unambiguous URIs pointing to specific versions. For Amazon S3, we have a URI of the form: s3://$bucket/$path?versionId=$version_id Is there an…
Filtering on onPremisesSamAccountName is not working
Hi, just trying the following query: https://graph.microsoft.com/v1.0/users/?$filter=onPremisesSamAccountName eq 'username' But it is returning: { "error": { "code":…
How can I get the Section headers (title/displayName) from Sharepoint pages using Graph Api ?
When I use the endpoint as shown below the information about Section headers seems to be missing. GET /sites/{site-id}/pages/{page-id}/microsoft.graph.sitePage/webparts For eg. These information can't be seen on the response. SP.jpg If not by Graph…
Shared With Me files are not getting in API response
Using client credential authentication flow we are trying to get SharedWithMe files of user but we are getting empty response although the user has files in sharedWithMe API we are using: https://graph.microsoft.com/v1.0/users/{0}/drive/sharedWithMe API…
Why does Microsoft Graph /me/membersOf return null for all Fields but id?
I'm trying to request all my groups via https://graph.microsoft.com/v1.0/me/memberOf My access token has the scope User.Read(and more). I get the right groups in the response, but all fields in the group objects are null except for the id. I can see…
Getting "InvalidAuthenticationToken" error code and "Access token is empty." while trying to login to upload to OneDrive
var scopes= "files.readwrite files.readwrite.All User.Read offline_access"; var url = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize?' + 'client_id=xxxxxxxxxxxxxx'+ '&scope=' + scopes…
What is the UserID required by Get-MgUserContact?
According to the documentation, Get-MgUserContact requires either a UPN or a UserId in the -UserId field. However, mail contacts don't have UPNs, and the documentation doesn't define what a mail contact's UserID is. I've tried email address, display…
How can i get forensic data (match count, purview DLP policy name, rule matched, etc) for alerts
https://learn.microsoft.com/en-us/graph/api/security-alert-get?view=graph-rest-1.0&tabs=http How can we get forensic data related to the incidents or alerts with graph API ? the response does not include purview DLP related data like Policy name,…
Revoke SignIn Sessions is not working with User.RevokeSessions.All permission in logic app
I am trying to use logic apps to revoke the sign in session of a user using their User Principal Name. I registered an application in Azure and assigned it, the "User.RevokeSessions.All" permission and granted admin consent as well. I am able…
How to avoid sending email notification on /events api
I want to avoid sending notification while creating an videointerview event using mentioned api. I have tried using https://graph.microsoft.com/v1.0/me/events?sendNotification=false, but after creating event notification is still getting send. I have…
When calling MS Graph via API - trying to add new secret to SPN in Entra, getting "message": "Property passwordCredentials is invalid.", via logic app
Hey, I'm trying to call MS Graph using logic app in Azure to add secret to SPN. the call is POST /servicePrincipals(appId='{appId}')/addPassword via that link -…
Confusion with Entra ID tenant and Microsoft Account
Hello, I went through the following training module: https://learn.microsoft.com/en-us/training/modules/msgraph-user-photo-information/1-introduction and it seems to be working with the profile picture I put in my Entra ID tenant (with global…
Get Attendance Report for CalendarEvent OnlineMeeting
We are currently successfully getting attendance reports for online meetings using the /me/onlineMeetings/{meetingId}/attendanceReports/{reportId} endpoint. We are also scheduling calendar events using the /me/calendar/events endpoint and setting the…
Graph Api Events get all modified / deleted / canceled occurrences
Hello i need to list all modified / deleted / canceled occurrences of a event. I know the Request => GET /users/{id | userPrincipalName}/calendar/events/{id}/instances?startDateTime={start_datetime}&endDateTime={end_datetime} I understand…