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