11,894 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

How to get email of user if I have an access token with User.Read?

Hi all, I am able to perform an authorization code flow (see https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow and https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http) to get an access token with the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,482 questions
asked 2024-09-16T13:09:52.2333333+00:00
GZ 40 Reputation points
commented 2024-09-19T06:16:34.2566667+00:00
Yakun Huang-MSFT 4,395 Reputation points Microsoft Vendor
2 answers

How long will the online meeting APIs continue to return data?

1st question, This page states that online meeting APIs will stop returning data at the end of September. https://learn.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http However, it is stated in the blog pages and…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2024-09-16T08:04:30.08+00:00
Goktug 0 Reputation points
commented 2024-09-19T06:13:04.9366667+00:00
Yakun Huang-MSFT 4,395 Reputation points Microsoft Vendor
1 answer

Setting up Microsoft Graph API with App Only Authentication in Java Server

Hi, I am trying to create a Java project that converts a Word file to a PDF file using the Microsoft Graph API. I will create the Word file and upload it to OneDrive using the Graph API and then download it as a PDF. As this is a service, I want app-only…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
823 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,079 questions
asked 2024-09-11T10:14:41.3233333+00:00
Geethu Pachariyan 0 Reputation points
commented 2024-09-19T05:56:15.19+00:00
Yakun Huang-MSFT 4,395 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to add a MS list item "Person or Group" field using the graph api

I have been having the worst luck when trying to create a function that will create a ms list item with the graph. I am able to create generic text fields just fine. However, I have looked everywhere for documentation on how to fill out a "Person or…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 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,951 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,482 questions
asked 2024-09-14T03:36:57.6466667+00:00
Gino Luciano 20 Reputation points
edited the question 2024-09-19T02:07:12.05+00:00
Emily Du-MSFT 45,991 Reputation points Microsoft Vendor
0 answers

How to add comments,mentions for document collaborations(excel,word and powerpoint) using microsoft graph using java client

I have a requirement for document collaboration for different file types like power point,excel and word documents.When using microsoft graph to add comments to the microsoft word I don't see any API's listed to set comments.I only see JavaScript API. I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,606 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.
3,868 questions
asked 2024-09-18T22:39:07.27+00:00
Pradeep Gopal 0 Reputation points
edited the question 2024-09-19T01:48:39.3333333+00:00
Xyza Xue_MSFT 24,101 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Getting email from Graph API marked as suspicious when I send an email to my own Microsoft Email

Hi, I just signed up for a Microsoft business account I am using the Microsoft Graph API to create and send an emails (to myself as a first step) using the sendEmail API…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
Microsoft Entra
asked 2024-09-18T00:23:01.4433333+00:00
GZ 40 Reputation points
commented 2024-09-19T00:36:31.5566667+00:00
GZ 40 Reputation points
0 answers

UPN invalid for a User When Attempting passwordProfile property Update

I have a hybrid environment with password writeback enabled per Microsoft's documentation. When I attempt to change a synced user's password via Graph API (specifically by setting a new password in their passwordProfile) it keeps telling me that 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,894 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,482 questions
asked 2024-09-18T18:21:30.7833333+00:00
Wolf 0 Reputation points
0 answers

How can I resolve the "InvalidAuthenticationToken" error due to an improperly formatted JWT with too many dots when calling the graph api after sme time it start working normally

Hi everyone, I'm encountering an issue with fetching chats from [API/Service Name]. When I attempt to call the API, I receive the following for message Error fetching chats: It seems that the JWT token is not correctly formatted, with more dots than…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,993 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,686 questions
asked 2024-09-14T01:17:28.7866667+00:00
LOKESH K 0 Reputation points
commented 2024-09-18T17:44:28.36+00:00
Navya 9,805 Reputation points Microsoft Vendor
1 answer

Read and save data from C# app onto SharePoint

For security reasons, our business is required to maintain a visitor control log to track when external guests enter and leave the premises. When our infrastructure used to have on-prem file/storage servers, I had written a simple app that enabled the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,606 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,861 questions
asked 2022-05-09T10:04:28.383+00:00
Thomas Lu 1 Reputation point
commented 2024-09-18T17:19:05.4033333+00:00
Ayinapurapu, Vinaydeep 20 Reputation points
0 answers

Retrieve subcriptionId of license's tenant provided by an indirect provider as an indirect reseller

Hello, I'm sorry if this topic has already been resolved, but I couldn't find any information matching my request. I am currently an indirect reseller working with an indirect provider on Microsoft Patner Center. I order licenses for my clients via my…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2024-09-18T16:03:50.11+00:00
Jérémie Mondino 0 Reputation points
0 answers

Can we set custom labels defined through Microsoft Information Protection on emails via Graph API?

I am working on integrating Microsoft Information Protection (MIP) with an email system. Specifically, I want to know if it's possible to apply custom sensitivity labels, which are defined through MIP, to emails using the Microsoft Graph API. Here are…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,530 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2024-09-18T15:09:54.2+00:00
Dhananjay Siwach 21 Reputation points
2 answers

How unique is a drive item-id in the ms graph api?

What guarantees does the graph API offer regarding the uniqueness of a drive item-id? reference - https://learn.microsoft.com/en-us/onedrive/developer/rest-api/resources/driveitem?view=odsp-graph-online Is a drive item-id unique: within a drive within…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,079 questions
asked 2024-09-17T13:51:52.9033333+00:00
R Depping 10 Reputation points
commented 2024-09-18T14:20:26.9966667+00:00
R Depping 10 Reputation points
2 answers One of the answers was accepted by the question author.

Code: NoPermissionsInAccessToken Message: The token contains no permissions, or permissions can not be understood.

Hi, i'm trying to use this guide to get a token with a web app managed identity to send Mail as a user with Microsoft Graph …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2022-03-03T09:43:12.503+00:00
Stefano 56 Reputation points
edited a comment 2024-09-18T12:35:45.83+00:00
Oskar Berntorp (Novotek Sweden) 5 Reputation points
0 answers

API for Microsoft Authenticator

Hi Microsoft Team,   We are exploring options on defining a solution for a Conversational Virtual Assistant via our Contact Center Channels and would like to do some integration with MFA Platforms that would help us to use it as an Authorisation…

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.
6,669 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2023-10-16T08:48:11.39+00:00
David, John 5 Reputation points
commented 2024-09-18T12:30:58.23+00:00
Yogina Patel 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Graph Api => Search Sharepoint document library

I have a sharepoint document library with nested folders. I would like to be able to query the library for all files that have a substring in the name underneath a particular folder. According to this article, using V2 of the sharepoint online apis are…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 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,951 questions
asked 2024-09-17T11:27:20.3833333+00:00
David McDougald 40 Reputation points
accepted 2024-09-18T12:21:49.9533333+00:00
David McDougald 40 Reputation points
0 answers

Error de secret id al autenticar con una API

Hola, Os pongo en escenario. Queremos mandar correos desde una web externa, y necesitamos usar una cuenta de correo para ello. El cliente externo usa LIFEARAY. Nosotros hemos creado una API en Azure Entra ID, hemos puesto los permisos segun Microsoft,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2024-09-18T11:22:41.7733333+00:00
RubenHN 0 Reputation points
edited the question 2024-09-18T11:27:40.68+00:00
JananiRamesh-MSFT 26,631 Reputation points
1 answer

Facing issue while creating PIM request using managed identity using graph sdk

Hi Team, I am using managed identity-based authentication to create a PIM role using power shell script. Below is the code snippet used. function Get-ManagedIdentityToken { param ( [string]$resource = "https://graph.microsoft.com" …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,474 questions
asked 2024-09-18T06:42:46.1833333+00:00
Pavan Kumar 5 Reputation points Microsoft Employee
commented 2024-09-18T09:11:21.46+00:00
Vasil Michev 104.4K Reputation points MVP
7 answers

Graph Api Subscription List Empty

When I try to get the subscription list via the link https://graph.microsoft.com/v1.0/subscriptions/ I always get an empty response. But if you make the request using the id of a subscription, the response comes as expected. I can't understand why the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,219 questions
asked 2022-06-13T13:11:21.167+00:00
Lucas Prioste 31 Reputation points
commented 2024-09-18T09:08:18.3366667+00:00
Minh Nguyen Truong 0 Reputation points
1 answer

How can I fix error Webhook subscription limit reached?

https://graph.microsoft.com/v1.0/subscriptions error message: Operation: Create; Exception: [Status Code: Forbidden; Reason: Tenant has reached it's maximum number of subscriptions]

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
asked 2024-09-09T08:01:58.13+00:00
Minh Nguyen Truong 0 Reputation points
commented 2024-09-18T09:04:55.91+00:00
Minh Nguyen Truong 0 Reputation points
0 answers

DriveItem AdditionalData Patch method with error in Graph Api

I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,530 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,894 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,461 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
331 questions
asked 2024-06-06T17:08:51.2033333+00:00
Bruno Bispo 0 Reputation points
commented 2024-09-18T08:30:23.8733333+00:00
Zeb Spalding 0 Reputation points