11,148 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Workbook Excel API for personal OneDrive accounts is not working

This API https://learn.microsoft.com/en-us/graph/api/workbook-createsession?view=graph-rest-1.0&tabs=http was working fine for Personal OneDrive accounts but it has stopped today on 6/4/2024. It is returning with the following error. The same error…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,620 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
914 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,658 questions
asked 2024-06-04T17:12:21.3133333+00:00
Abhishek 10 Reputation points
commented 2024-06-21T03:54:59.46+00:00
Adrian Wu 0 Reputation points Microsoft Employee
1 answer

Are these Application permissions correct?

https://learn.microsoft.com/en-us/graph/api/list-create?view=graph-rest-1.0&tabs=http#permissions On the page above, the Application + Least privileged permissions is "Sites.Manage.All" and the Application + Higher privileged permissions is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,073 questions
asked 2024-06-11T22:46:00.8+00:00
DS 0 Reputation points
commented 2024-06-21T02:48:03.0666667+00:00
Yanli Jiang - MSFT 23,036 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

graph sdk how to update secret for deployed application

I use ClientSecretCrendential as crendential, as we know, secret will be expired, then our team will generate a new one before old secret expired. so my question is how to use the latest secret to update graphServiceClient instance without…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-19T10:38:26.8133333+00:00
Huimin ZHANG 40 Reputation points
accepted 2024-06-21T02:41:10.61+00:00
Huimin ZHANG 40 Reputation points
0 answers

Two calendars with identical permissions return different HTTP status codes

I am using the /users/{calendar-id}/calendarView endpoint on two different calendars. Both have their calendars shared as "People in my organization can view when I am busy". No additional permissions have been set. When making the request…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-21T00:06:16.97+00:00
Ryan 20 Reputation points
1 answer

How to programmatically differentiate between a Business Microsoft 365 account and a consumer Office 365 account?

Hi, I am building a multi-tenant application that makes use of the Graph API. For authorizing a sign-in, my code is calling the “common/oauth2/v2.0/authorize” endpoint to fetch the OAuth access token for a user through the Graph API. I want to be able…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
642 questions
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,888 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,004 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,320 questions
asked 2024-06-17T23:40:44.7366667+00:00
Chirag 0 Reputation points
commented 2024-06-20T21:25:36.54+00:00
Chirag 0 Reputation points
6 answers

Teams Bot Framework get file attachments ?

Hello, I'm trying to build a Teams app to get file in a chat (compose box or message action) and send it to a webservice. How can the bot read the file content ? I can get the file contentUrl with the following code const url =…

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
771 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,410 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 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.
2,974 questions
asked 2022-09-15T19:38:33.283+00:00
Benoit Dupont 66 Reputation points
commented 2024-06-20T17:55:26.72+00:00
DrewB 5 Reputation points
2 answers One of the answers was accepted by the question author.

How to identify and create Service Principals of type "Enterprise Applications"

Hello, On the EntraID UI, when you go to Home --> Enterprise Applications --> All Applications, there is a default filter called "Application type == Enterprise Application". When you download the csv from this page, you get an export of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 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,189 questions
asked 2024-06-19T13:53:25.89+00:00
Dean Egan 20 Reputation points
commented 2024-06-20T13:54:47.22+00:00
Dean Egan 20 Reputation points
1 answer One of the answers was accepted by the question author.

Interact with Graph using an RBAC role assigned to my enterprise app's service principal

I am trying to access information via the Graph API using an app registration with a certificate - specifically using Graph PowerShell. The enterprise app assigned to this app registration has the appropriate assigned and consented to scopes…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-18T19:35:41.3133333+00:00
Jessie Robbins 20 Reputation points
accepted 2024-06-20T13:32:19.7866667+00:00
Jessie Robbins 20 Reputation points
1 answer

How to get a latest email conversation message and its attachments only either it is a reply or single email? Now, GraphAPI is gives latest email thread , so the entire conversations coming inside the body ? Any way to achieve this

The below code I have tried, usually the entire conversation messages inside the single email thread is coming inside the body as a html, but I want the latest reply email conversation message and with its attachments only, not the previous conversation…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,250 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-15T04:35:45.8133333+00:00
Yabesh 0 Reputation points
commented 2024-06-20T13:29:32.56+00:00
Yabesh 0 Reputation points
0 answers

Presence changes to inactive even though set presence expiration set to 4H

I set my presence to available and provide an expiration duration of 4H: (logs from browser inspect (chrome)): so both preferred and application presence are set to available, with an expiration duration of PTH4H. I then just leave the window open and…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-20T13:24:43.08+00:00
Wim Van Houts 0 Reputation points
0 answers

How do I use New-MgRoleManagementDirectoryRoleEligibilitySchedule?

I am trying to create a script that applies a role and a scope to a user. The below code as what I have tried, but the result I get is a 404 error. What am I missing? "message":"No HTTP resource was found that matches the request URI…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,237 questions
asked 2024-06-20T12:50:51.9033333+00:00
Sune Justesen 40 Reputation points
1 answer One of the answers was accepted by the question author.

get user email from adb2c using graph api

Im using var scopes = new[] { "https://graph.microsoft.com/.default" }; var clientSecretCredential = new ClientSecretCredential(tenantId, appId, clientSecret); var graphClient = new GraphServiceClient(clientSecretCredential,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 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,189 questions
asked 2023-07-18T22:49:32.17+00:00
Miguel 270 Reputation points
accepted 2024-06-20T11:05:47.1633333+00:00
Miguel 270 Reputation points
6 answers

Error code : "OrganizationFromTenantGuidNotFound" and "BadRequest"

Task: I need to check my mail once a day. Task for the backend. Did according to the instructions on the link: https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow I get a token like this: …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2022-04-07T11:11:13.413+00:00
U Anton 6 Reputation points
answered 2024-06-20T10:42:40.9133333+00:00
yu.zhang 0 Reputation points
1 answer

Best practice for Azure Auth for web app and API

I'm standing up a new React app which will be hosted in the same repo as a Fastify server. So I can use the server for logging (SSO) in the user and obtaining the token (work or school account). The React app will call the Web apis on the server…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
Microsoft Entra
asked 2024-06-19T11:02:13.54+00:00
chadwell 0 Reputation points
edited an answer 2024-06-20T10:19:52.85+00:00
CarlZhao-MSFT 39,101 Reputation points
1 answer

Getting change notification for drafted New Event

We are getting change notification for default New Event event created by Outlook. Your Environment Platform: PC desktop, Mac Host: Outlook Office version number: Outlook desktop for mac 16.83.3 Operating System: Windows 11, MacOS Browser (if using…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-04-19T09:46:39.2833333+00:00
Somenath Maji 5 Reputation points
answered 2024-06-20T10:02:02.18+00:00
Somenath Maji 0 Reputation points
1 answer

ListItem delta queries issue

We are experiencing issues with some listItems delta queries to MS Graph since last Friday, June 14th. Before that date, this request was working…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,073 questions
asked 2024-06-18T09:27:08.6466667+00:00
Miguel Angel García Martínez 10 Reputation points
commented 2024-06-20T10:00:10.5333333+00:00
Emily Du-MSFT 43,331 Reputation points Microsoft Vendor
1 answer

Get calendar events with an API call from python script help

Hi, I know that it was asked a lot, but it seems that nobody figured it out. I'm trying to do a simple thing. Get the calendar events from a user. I followed the instructions here:…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,250 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-19T17:39:40.3533333+00:00
aviv eldad 0 Reputation points
commented 2024-06-20T08:59:31.12+00:00
Yakun Huang-MSFT 1,405 Reputation points Microsoft Vendor
1 answer

How to see 'exception' entries with calendar graph API?

I've tried the list calendar view and events/{event_id}/instances API paths in both the v1.0 and beta API scopes. Neither is returning exception entries for cancelled instances of recurrent events. Any cancelled occurrences seem to just be absent. (Have…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-16T23:33:04.6233333+00:00
Neulinger, Nathan 0 Reputation points
commented 2024-06-20T08:46:58.48+00:00
Yakun Huang-MSFT 1,405 Reputation points Microsoft Vendor
1 answer

Cannot get responses from the MS Graph API

Hello community, I am new to APIs and for sure to Microsoft Grant APIs. I have followed the instructions in the articles below to register a new application. In one of the articles that explains how to access token is better to use the Microsoft…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-18T16:52:26.3833333+00:00
Jorziño Barradas 0 Reputation points
commented 2024-06-20T08:44:41.81+00:00
Yakun Huang-MSFT 1,405 Reputation points Microsoft Vendor
0 answers

When using ms graph sdks, is there a way to configure the api timeouts and retries for ms graph api calls, or how to read those setting.

We are using ms graph sdks to fetch emails from 0365 mailboxes, we have observed that the service is stopping its execution when the number of emails are high. this is the api call which sometimes takes more than 5000 ms , so we assume the thread is hung…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,126 questions
asked 2024-06-20T08:16:43.01+00:00
Ajay Kawde 0 Reputation points
edited the question 2024-06-20T08:19:39.27+00:00
Ajay Kawde 0 Reputation points