10,738 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Unable to get Get a client ID in Microsoft Graph quick start

I am trying to download a sample at https://developer.microsoft.com/en-us/graph/quick-start? but after clicking Get a client ID and successfully login with organization account (with Multi-factor Outlook authentication) I am keep getting errors like…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,665 questions
asked 2024-05-10T00:26:06.1366667+00:00
Michael Freidgeim 21 Reputation points
commented 2024-05-11T21:56:32.6233333+00:00
Michael Freidgeim 21 Reputation points
0 answers

Copy and past embedded images from one Excel file to another with Microsoft Graph on Sharepoint

Hello, Is there a way to copy and past embedded images from one Excel file to another with Microsoft Graph on SharePoint? I was able to copy the data from one Excel file to another with the following script but the format is not preserved and the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,498 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,742 questions
asked 2024-05-11T21:13:46.8266667+00:00
Lexignot 25 Reputation points
1 answer

I want to find the owners of the app id using Graph Api. But when I am in microsoft tenant it does not give me owners for Ame Tenant. How can I achieve this.

I am using https://graph.microsoft.com/v1.0/applications(appId='9a3a7c13-5ed7-4dd4-beeb-d5b2f4fe4a7e')/owners?$select=mail,displayName To get the owners of this app id. The app id mentioned above lives inside Ame tenant, how can the get the owners in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-10T19:45:56.0166667+00:00
Prachi Sharma 0 Reputation points Microsoft Employee
commented 2024-05-11T20:41:43.15+00:00
awijekoon 1,025 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Graph API - Upload File to ListItem

Hello, I know how to use the Graph API to upload small files (<4MB) to Drive Folders and to Document Libraries. However, I can not figure out how to Upload Files to existing ListItems. Is that possible with the Graph API? Many Thanks, Shadi

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 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,686 questions
asked 2022-04-28T06:55:31.467+00:00
Shadi Rashed 66 Reputation points
answered 2024-05-11T09:13:11.2733333+00:00
Willing Huang 6 Reputation points
3 answers

Create a New Item in a List with Attachment

Hello, I'm using Microsoft SharePoint Online and using the Microsoft Graph RestAPI v1.0 API. When creating a list item, there is an "Add Attachment" field. Is it possible to add attachments to list items using the Microsoft…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,742 questions
asked 2022-06-09T14:56:59.86+00:00
hey hey 6 Reputation points
answered 2024-05-11T09:12:41.2533333+00:00
Willing Huang 6 Reputation points
2 answers One of the answers was accepted by the question author.

Get-MgUserAuthenticationMethod Command doesn't return any information

I am trying to build a PowerShell script we can use to run hourly that would basically look for users who have recently signed up for Multifactor Authenticator or have Authenticator setup on their account in general and then add them to the group that…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,578 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,100 questions
asked 2024-05-09T17:27:25.7166667+00:00
Miranda-5426 20 Reputation points
commented 2024-05-11T06:43:59.57+00:00
Vasil Michev 96,076 Reputation points MVP
1 answer

How to get Manager and Org Chart in Mail contacts from remote tenant

We have two Office 365 (O365) tenants and want to synchronize the address books between them. Currently, we are using a PowerShell script to synchronize mail contacts, but we're encountering an issue where the Manager and Org chart fields are not being…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-02-08T15:15:14.48+00:00
Faiyaj Jamadar 1 Reputation point
answered 2024-05-11T02:24:48.7666667+00:00
Sharad Kakadiya 0 Reputation points
0 answers

Invalid filter clause: Could not find a property named 'field_2' on type 'microsoft.graph.listItem

Hi, please help me with a problem. When i make a request like this, a error just prompting. Sorry for my…

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.
3,877 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-10T22:56:05.59+00:00
TI TECNOLOGIA 0 Reputation points
commented 2024-05-10T23:35:08.55+00:00
serla alsakd 0 Reputation points
3 answers

Using Conditional Formatting/ Formula to Compare Two Dates

I am trying to compare two dates in a large data sheet as a Success or Failure depending on the Ship Date. For example, on the first line, the Ship Date is 2/29/2024 which is after the due date (-1 of 2/26/2024), making it a failure. The Expected…

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
485 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,648 questions
asked 2024-03-19T12:49:22.49+00:00
Villa, Carissa 0 Reputation points
commented 2024-05-10T22:52:26.52+00:00
BhargavaGunnam-MSFT 26,496 Reputation points Microsoft Employee
1 answer

How to troubleshoot 'Bad Request' error when using 'startswith' to filter groups in Microsoft Graph API?

I'm using the following endpoint to query the Microsoft Graph API, tracking changes by delta and filter groups by displayName using…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,665 questions
asked 2024-05-10T18:40:00.9666667+00:00
Sameh Tawfik (MiddleEast) 0 Reputation points
answered 2024-05-10T21:35:32.5066667+00:00
Hitesh Pachipulusu - MSFT 80 Reputation points Microsoft Vendor
1 answer

I am trying to access the API https://graph.microsoft.com/v1.0/me/onlineMeetings, but unable to due to permissions

I am trying to access the following API, but i am unable to use this due to permission issues, It mentions that it needs onlineMeetings.Read permission, but i am not able to provide consent on that, even though it does not need admin consent. Is this…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-10T10:02:20.7733333+00:00
Harmeet Singh 0 Reputation points Microsoft Employee
answered 2024-05-10T18:52:54.1+00:00
Hitesh Pachipulusu - MSFT 80 Reputation points Microsoft Vendor
1 answer

Why am I receiving 405s from a `Get Messages` endpoint specified in the API documentation?

https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http This page in the documentation (updated 03/15/2024) specifies an endpoint to receive the MIME content of a message. When using this endpoint on Postman, I receive…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-10T14:37:14.7233333+00:00
Jon Schipp 1 Reputation point
answered 2024-05-10T18:10:05.8966667+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
0 answers

How To Modify the "All Day" Property for a bookingAppointment

A bookingAppointment object appears to not have an "All Day" property in the documentation. This property clearly exists however, as verified by the option within Bookings to toggle it. Moreover, if we read the bookingAppointment object…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-10T17:10:29.7833333+00:00
Justin 1 Reputation point
1 answer One of the answers was accepted by the question author.

Microsoft Graph {user-id}/calendar/events returns 403 even though I've been given read access

Making a call to {user-id}/calendar/events is returning a 403, even though the specified user has given read access to their calendar.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-08T21:51:27.9233333+00:00
Ryan 20 Reputation points
accepted 2024-05-10T16:43:36.1566667+00:00
Ryan 20 Reputation points
0 answers

Unable to delete contactFolder (getting ErrorCannotDeleteObject)

Hello, I'm trying to do a simple delete operation on the user contact folders. It was working fine until last sunday (05/05/2024). Since then, I keep getting the following error: { ... statusCode: 403, body:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-10T14:46:15.5966667+00:00
Baptiste Martinet 0 Reputation points
0 answers

Mircrosoft Graph Sharepoint API for drive ids

I am following the script here to get my graph api call in the graph explorer to find a file in a sharepoint folder (https://stackoverflow.com/questions/64558105/can-i-use-the-microsoft-graph-api-to-get-the-id-of-folder-within-a-sharepoint-do) When I go…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,742 questions
asked 2024-05-10T14:40:50.0466667+00:00
Grant Fullston 0 Reputation points
2 answers

How can I look up a user's manager with the MSGraph Java SDK (unattended)?

For a bit of background, I am writing a Java app to run as a module in an older, legacy java application that was set up to use LDAP for directory services. I've registered an application in Entra and provided the least privileges so it can read the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-09T19:50:18.4666667+00:00
Brad Ellis 0 Reputation points
answered 2024-05-10T14:28:18.2933333+00:00
Brad Ellis 0 Reputation points
1 answer

Set Retention Label & permanent delete based on retention label

Unable to set the retention label (https://learn.microsoft.com/en-us/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0&tabs=http) PATCH /drives/{drive-id}/items/{item-id}/retentionLabel ---I also want to permanently delete based on retention…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-02T05:27:21.3166667+00:00
Akshith Reddy Thalla 80 Reputation points
edited a comment 2024-05-10T14:22:07.4733333+00:00
Akshith Reddy Thalla 80 Reputation points
0 answers

Microsoft Grpah Apo intune Mobile device and software

i have requirements to pull mobile devices from MS intune using graph api, i am able to pull manageddevies but not able find api which gives me application or s.w installed on moible device i tried deviceappmanagment api but not able to add filter in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,406 questions
asked 2024-05-10T13:52:48.3766667+00:00
Ashwin Gupta 0 Reputation points
1 answer

How to post messages on a channel

I have a multi-tenant Microsoft Teams tab app. I want it to post messages on a selected channel from my server. I successfully receive the token using this endpoint: https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token Then, I use the token to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
asked 2024-05-08T19:54:04.64+00:00
Roman 0 Reputation points
commented 2024-05-10T13:06:10.3366667+00:00
Roman 0 Reputation points