11,443 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-22T12:08:27.7433333+00:00
Molleman, T. (Tim) (DIT_TR) 0 Reputation points
2 answers

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,195 questions
asked 2024-07-19T08:40:56.4166667+00:00
kinedy 0 Reputation points
commented 2024-07-22T11:35:31.0866667+00:00
Manu Philip 17,591 Reputation points MVP
3 answers

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" ], …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
974 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,274 questions
asked 2024-07-08T07:05:56.4966667+00:00
Olga Andreeva 126 Reputation points
commented 2024-07-22T10:03:57.8333333+00:00
Emily Du-MSFT 44,151 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,602 questions
asked 2024-07-17T15:00:04.8466667+00:00
joaoaddyai 0 Reputation points
edited a comment 2024-07-22T09:50:45.2066667+00:00
Akhilesh 7,235 Reputation points Microsoft Vendor
1 answer

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-19T13:59:42.4+00:00
Steve Tennant 0 Reputation points
answered 2024-07-22T09:49:20.6+00:00
CarlZhao-MSFT 40,231 Reputation points
1 answer One of the answers was accepted by the question author.

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,757 questions
asked 2024-07-22T09:36:39.85+00:00
Ajay Singh Moltra 135 Reputation points
accepted 2024-07-22T09:43:22.7033333+00:00
Ajay Singh Moltra 135 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,274 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.
2,807 questions
asked 2024-07-16T17:53:45.5866667+00:00
Ernest Prabhakar 0 Reputation points
commented 2024-07-22T09:29:28.8266667+00:00
Emily Du-MSFT 44,151 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,602 questions
asked 2021-10-05T11:36:13.62+00:00
Wayne Gibson 31 Reputation points
edited a comment 2024-07-22T09:26:26.1433333+00:00
Andrei 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,274 questions
asked 2024-07-03T14:13:06.2266667+00:00
Anto Thomas 20 Reputation points
accepted 2024-07-22T07:27:45.5766667+00:00
Anto Thomas 20 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
974 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,274 questions
asked 2024-07-16T18:42:39.3433333+00:00
Casepoint Developer 66 Reputation points
commented 2024-07-22T07:12:58.75+00:00
Yakun Huang-MSFT 2,495 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-19T12:12:24.5566667+00:00
Ante 20 Reputation points
accepted 2024-07-22T07:01:30.2666667+00:00
Ante 20 Reputation points
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
974 questions
asked 2024-07-19T11:37:39.96+00:00
Ahmed Waseem 0 Reputation points
commented 2024-07-22T06:03:38.8466667+00:00
Ahmed Waseem 0 Reputation points
2 answers

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…

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,323 questions
asked 2024-07-01T21:34:31.9933333+00:00
JayCarper-5747 216 Reputation points
commented 2024-07-22T05:58:58.23+00:00
Bruce Jing-MSFT 2,835 Reputation points Microsoft Vendor
1 answer

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-19T10:30:28.5366667+00:00
Russel Fernandes 0 Reputation points
edited the question 2024-07-22T05:40:14.7033333+00:00
PRADEEPCHEEKATLA-MSFT 85,511 Reputation points Microsoft Employee
1 answer

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…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,994 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-20T06:26:40.8266667+00:00
Azeeb Rusthique EY 0 Reputation points
commented 2024-07-21T12:08:39.78+00:00
Azeeb Rusthique EY 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-21T10:39:10.44+00:00
Divyanshu Gupta 0 Reputation points
answered 2024-07-21T10:39:10.4433333+00:00
Q&A Assist
2 answers

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

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,994 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-17T17:24:39.8033333+00:00
Eldi 0 Reputation points
commented 2024-07-20T13:35:47.4866667+00:00
rizwan322 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,602 questions
asked 2024-07-18T01:33:34.3133333+00:00
Karl Gardner 85 Reputation points
accepted 2024-07-19T21:36:04.33+00:00
Karl Gardner 85 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2024-07-19T18:24:24.7833333+00:00
Norris, Stephen 0 Reputation points
commented 2024-07-19T19:50:43.6833333+00:00
Norris, Stephen 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,421 questions
asked 2022-01-19T10:59:30.537+00:00
ASCII 1 Reputation point
commented 2024-07-19T17:15:04.4366667+00:00
Artur de Souza Aragão 0 Reputation points