12,767 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Sharepoint - using Graph api to get the folders and files for a sharepoint site

Hello, I am successfully retrieving a AccessToken via oAuth 2.0 with roles of "roles": [ "Sites.Selected", "Sites.Read.All", "User.Read.All", "Files.Read.All", "Sites.FullControl.All" …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 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.
3,191 questions
asked 2025-01-13T17:01:09.06+00:00
Larry Bellou 20 Reputation points
answered 2025-01-14T06:37:40.4633333+00:00
AllenXu-MSFT 22,536 Reputation points Microsoft Vendor
0 answers

Sending Emails Using OAuth Authentication with Azure AD and Exchange Online

Hello Everyone, Since Microsoft has disabled Basic Authentication in Exchange Online for sending emails, I am trying to implement OAuth 2.0 with the Exchange Online service. To set this up, I have taken the following steps: Created a new app in Azure…

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.
5,470 questions
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.
12,767 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,798 questions
asked 2025-01-14T06:20:46.98+00:00
Akash Sharma 0 Reputation points
commented 2025-01-14T06:34:12.1366667+00:00
CarlZhao-MSFT 44,671 Reputation points
1 answer

Create Graph API giving bad request

I am trying to create a Group(com.microsoft.graph.models.Group) using Graph API. But it is giving below error. I am using Group's name as value for mailNickname GroupName is following this format. String groupName = String.format(GROUP_NAME_FORMAT,…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,311 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-13T12:46:36.29+00:00
Gajendra Jangid 0 Reputation points
answered 2025-01-14T02:32:50.4433333+00:00
Yakun Huang-MSFT 8,905 Reputation points Microsoft Vendor
1 answer

How to get siteid , drive id and list items with permissions

Hi team, Can you please provide code snippets to get Site Id, Drive ID , Items with permissions. I'm able to generate GraphServiceClient but while callig DriveID var drives = await graphClient.Sites[siteId].Drives.; //Here after dot(.) i expect…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-13T17:09:42.03+00:00
Balaji Mogadali 45 Reputation points
answered 2025-01-14T02:07:08.0466667+00:00
Yakun Huang-MSFT 8,905 Reputation points Microsoft Vendor
1 answer

I am using graph API to get online meeting transcripts but it keep giving me PreconditionFailed error

API used - GET /me/onlineMeetings/{online-meeting-id}/transcripts GET /users/{user-id}/onlineMeetings/{online-meeting-id}/transcripts ERROR { status: 0, data: { error: { code: "PreconditionFailed", message: "No iCalUid found for…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-09T14:52:18.36+00:00
Lochan Bisne 0 Reputation points
commented 2025-01-14T00:17:14.3433333+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
0 answers

Getting "Validation Testing client application reachability for subscription Request" Error After No Code Changes

I'm encountering the following error: "ValidationTestingclientapplicationreachabilityforsubscriptionRequest" This functionality worked perfectly before, and no code changes have been made. The error started appearing suddenly, and the message…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-13T19:47:22.4066667+00:00
Saul Droutman 0 Reputation points
2 answers

Why Do Office 365 Users Need Admin Consent Despite "Admin Consent Not Required" Setting in Azure AD?

An application registered in Azure AD uses Microsoft Graph API with the following permissions: Mail.Read User.Read offline_access In the Azure portal, these permissions are marked as "Admin consent: Not required." However, when testing…

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.
5,470 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,827 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,831 questions
asked 2025-01-13T11:57:04.3+00:00
Soobin Yang 0 Reputation points
answered 2025-01-13T17:13:07.8266667+00:00
Vasil Michev 111.7K Reputation points MVP
3 answers

Fetching All Directory Roles Assigned to Users Using PowerShell

Hi, I am developing a function to retrieve directory roles assigned to a user and get details based on the user ID, including whether the roles are assigned as eligible or active. I have been using, which provides the information in the format I need,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,798 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,731 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,831 questions
asked 2025-01-13T06:09:47.12+00:00
VJ 25 Reputation points
edited an answer 2025-01-13T17:06:59.56+00:00
Vasil Michev 111.7K Reputation points MVP
2 answers

How I can add an application to my Entra External ID user flow using Graph API?

Context We have built a portal where our in-house developers can register their applications. After approval, graph API's are called automatically to create the app registration/service principal. Multiple forms of authentication are supported. Use…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,981 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,831 questions
asked 2025-01-07T13:03:54.8+00:00
Danny Bollaert 20 Reputation points
commented 2025-01-13T17:03:00.35+00:00
Janaki Kota 230 Reputation points Microsoft Vendor
1 answer

Unable to authenticate to graph api using client credentials flow

Hello, I am trying to connect to our azure app using graph api and client credentials workflow. In Postman, I am getting error on token authentication. Error: "error": "unauthorized_client", "error_description":…

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
242 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-13T16:30:29.0666667+00:00
Shajedul Alam 0 Reputation points
answered 2025-01-13T16:51:04.8366667+00:00
Rajat Vashistha-MSFT 90 Reputation points Microsoft Vendor
1 answer

SharePoint Calendar some recurring events missing from Graph which are visible in SP Calendar

We have a SharePoint Events list containing recurring events that appear in the Calendar view, but when requested through Microsoft Graph for the EventDate in question don't appear in the Graph results. This was working OK as late as 22nd December 2024,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-10T14:01:11.78+00:00
Ian Morris 0 Reputation points
answered 2025-01-13T16:37:22.34+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
1 answer

Microsoft Graph PowerShell: unable to retrieve or remove properties from profile card

Hello to all of the community, I was requested to hide an attribute from the profile card for an organization (specifically the "Fax" attribute). So I tried using the Microsoft Graph PowerShell SDK to first list all of the attributes, using the…

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.
5,470 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-10T13:45:55.1833333+00:00
Matías Mödinger Mahú 0 Reputation points
edited the question 2025-01-13T16:06:02.8266667+00:00
Matías Mödinger Mahú 0 Reputation points
1 answer

Can't retrieve image from Sharepoint list image column via Graph

Hi there, I'm quite new to APIs and web requests, I usually just do desktop Python, so please go easy on me! I have a Sharepoint list containing some text columns and an image column, where the image is added directly rather than as an attachment: I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-12T23:13:49.3933333+00:00
SimonP555 0 Reputation points
commented 2025-01-13T15:50:38.81+00:00
SimonP555 0 Reputation points
0 answers

Latest update has killed the ability to use Graph API to update an excel spreadsheet from c#

Latest Graph API has broken the ability to update Excel from C# applications. When is this going to be fixed? We have had an application running successfully for months until latest update, in which the old WorkbookRange approach has been depcrecated but…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-13T15:39:21.5033333+00:00
Ian Wildman 0 Reputation points
edited the question 2025-01-13T15:40:14.4633333+00:00
Ian Wildman 0 Reputation points
2 answers

What license do I need to be able to send emails through Microsoft Graph via an unattended desktop app?

Context: I'm a developer who writes console programs that scrape web sites. When an event occurs, I send an email to myself. MS recently turned off basic authentication. No sample program anywhere on the internet works to send via Microsoft Graph or…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,144 questions
Microsoft Entra Internet Access
Microsoft Entra Internet Access
A Microsoft Entra service that provides an identity-centric Secure Web Gateway that protects access to internet, software as a service (SaaS), and Microsoft 365 apps and resources.
29 questions
Windows Licensing
Windows Licensing
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Licensing: Rules, regulations, and restrictions that define how software can be used and distributed.
125 questions
asked 2025-01-10T21:41:32.8166667+00:00
We s 0 Reputation points
edited a comment 2025-01-13T15:36:04.58+00:00
We s 0 Reputation points
2 answers One of the answers was accepted by the question author.

Timeline to support Microsoft Graph SDK for Java v5

We currently use msgraph-sdk-java v5 and are considering upgrading to v6, but looking at the number of breaking changes, we may want to postpone that. Could you let us know the timeline for support of v5 and if there are any plans to deprecate it?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2025-01-13T07:38:48.6133333+00:00
Ernar Zhanadil 0 Reputation points
accepted 2025-01-13T14:58:00.8566667+00:00
Ernar Zhanadil 0 Reputation points
1 answer

Prefer: respond-async header doesn't work at microsoft graph api

I'm trying to use microsoft graph api to make CRUD operations with excel files on onedrive. As far as there is no way to update multiple non-adjacent ctlls in single request I'm tryung to use Prefer: respond-async header in my batch request. const…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
asked 2024-12-24T18:53:36.3966667+00:00
Влад Луценко 0 Reputation points
commented 2025-01-13T13:16:20.99+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
1 answer

Search files inside a subfolder in OneDrive using Graph API

I need to search OneDrive files by a keyword using fuzzy match, the OneDrive search API works for me, except it will always search from the root folder. However, I'd like to search from the specific subfolder and its descendants. I tried to search…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,255 questions
asked 2025-01-02T15:22:04.5833333+00:00
Richie Hao 20 Reputation points
commented 2025-01-13T13:00:32.1533333+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
2 answers

Not able to call SharePoint Document Library driveitems using MS Graph API with filter functions 'contains' and 'endswith'.

We need to get files from the SharePoint Document Library with a filter that uses 'contains' and 'endswith'. The query goes as below: https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/items?$filter=contains(Name,'100001') and…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 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.
3,191 questions
asked 2025-01-06T14:54:27.92+00:00
Gautam, Priyamvada 0 Reputation points
commented 2025-01-13T12:59:31.9733333+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
1 answer

Unable to Send Messages to Teams Channels Using Graph API with Application Permissions

When using the Graph API with Application Permissions, sending messages to Teams channels is resulting in the error below. While Delegated Permissions work correctly for sending messages, is there another approach that allows sending messages to…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,640 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,767 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,049 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,235 questions
asked 2025-01-13T12:04:06.6666667+00:00
ABHISHEK KUMAR 61 Reputation points
answered 2025-01-13T12:20:59.0233333+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor