11,284 questions with Microsoft Graph-related tags

Sort by: Updated
2 answers

Graph API timeouts

It happened to me multiple times, that when I do a moderate number of requests (in a single thread), then sometimes Graph API timeouts, randomly on any call (even after 30 seconds). example: GuzzleHttp\Exception\ConnectException: cURL error 28:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2022-03-28T14:22:13.22+00:00
Krasa 36 Reputation points
answered 2024-07-05T15:59:46.06+00:00
Lathrop, John 0 Reputation points
1 answer

Exception of type 'Microsoft.Fast.Profile.Core.Exception.ProfileBadRequestException' was thrown

We've had a flow running in production for about a month now that updates associate images using the Graph. This week we are seeing issues where the Base64 image is throwing an error. Permissions haven't changed. We tried going directly through Graph…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-05-07T12:34:10.21+00:00
Matt Perry 55 Reputation points
commented 2024-07-05T14:53:06.2566667+00:00
Matt Perry 55 Reputation points
1 answer

Microsoft Graph API app registration

We are a Salesforce ISV looking to provide Outlook & Teams integration in our Salesforce app. I have created an App Registration in the MS Entra admin center, all is working fine in prototype. Users will connect from Salesforce via OAuth and approve…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 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,367 questions
ISV (Independent Software Vendor)
asked 2024-06-18T11:58:20.4466667+00:00
Jess Robinson 0 Reputation points
commented 2024-07-05T09:57:32.3333333+00:00
Jess Robinson 0 Reputation points
1 answer

Could any one help to explain the API permission 'DeviceManagementManagedApps.ReadWrite'?

Could any one help to explain the API permission 'DeviceManagementManagedApps.ReadWrite'? In which scenario do we need this permission? why do we need this permission? We did not find any official documentation for this. any information would be…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-07-02T09:00:23.8233333+00:00
Kenny Dong 0 Reputation points
commented 2024-07-05T08:50:36.14+00:00
Kenny Dong 0 Reputation points
1 answer One of the answers was accepted by the question author.

I want to create an online meeting using Graph API. Can it be done using a free account?

I tried the /onlineMeetings and /calendar endpoints but getting stuck with some error responses. Is it due to absence of paid service or am I doing something wrong?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,501 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-07-05T08:06:07.0233333+00:00
Mac 20 Reputation points
accepted 2024-07-05T08:49:13.1966667+00:00
Mac 20 Reputation points
2 answers

"code": "General", "message": "No Application Access Policy found for this app.", also i don't see the authentication_code, /me api is not working

Screenshot 2023-07-04 182243.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2023-07-04T13:38:46.27+00:00
achal 5 Reputation points
commented 2024-07-05T08:37:39.27+00:00
CarlZhao-MSFT 39,736 Reputation points
0 answers

How to identify for undelivered mail in java code for graph based api?

For identifying undelivered mail, we are checking for "report-type=delivery-status" OR "X-MS-Exchange-Message-Is-Ndr" is present in mail headers content or not. But this is not present in above undelivered mail headers

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-07-05T06:35:09.5166667+00:00
Shrawane, PratikDeepak 0 Reputation points
edited a comment 2024-07-05T08:26:08.9766667+00:00
Shrawane, PratikDeepak 0 Reputation points
1 answer

When sending emails using Microsoft Graph API, what's the correct way to send more than 150 MB within 5 minutes?

Background: We have created 2 Azure single-tenant apps with the same set of permissions (Mail.Send & Mail.ReadWrite) within the same tenant. As per Graph API's documentation, we should be able to send emails of size upto 150 MB per email, through 1…

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.
4,222 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,337 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-06-25T08:53:13.3+00:00
Piyush Chugh 0 Reputation points
commented 2024-07-05T08:18:29.3166667+00:00
Piyush Chugh 0 Reputation points
3 answers One of the answers was accepted by the question author.

How can I retrieve associations between managedDevices, deviceCompliancePolicies, and MobileApps using Microsoft Intune APIs?

I'm working with Microsoft Intune via Microsoft Graph API and encountered an issue while attempting to retrieve associations between managedDevices, deviceCompliancePolicies, and MobileApps. Specifically, when I make the following API call: GET…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,668 questions
asked 2024-07-01T12:30:38.3333333+00:00
Sara Caballero 40 Reputation points
commented 2024-07-05T08:17:49.1033333+00:00
Crystal-MSFT 45,736 Reputation points Microsoft Vendor
0 answers

How can I retrieve associations between managedDevices and Apps using Microsoft Intune APIs?

I'm working with Microsoft Intune via Microsoft Graph API and encountering complexities in managing the relationship between devices and applications. The process I'm using involves utilizing two variables: user ID and device ID, using the query format:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,668 questions
asked 2024-07-05T07:07:35.7766667+00:00
Sara Caballero 40 Reputation points
2 answers One of the answers was accepted by the question author.

Access is denied. Check credentials and try again. Group Events with Application Token

I'm getting the following error (Access is denied. Check credentials and try again) when try to execute the following with an application token https://graph.microsoft.com/v1.0/groups/{omitted}/events?$expand=singleValueExtendedProperties($filter=id eq…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-07-04T10:59:03.9766667+00:00
AshB 20 Reputation points
answered 2024-07-05T05:54:25.2133333+00:00
AshB 20 Reputation points
1 answer

create case using graph powershell ediscovery(premium)

create case to export using graph powershell cmdlets ediscovery(premium). what are the permissions for delegates ,scopes.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-06-27T11:45:51.95+00:00
Vinay Boda 0 Reputation points
commented 2024-07-05T05:53:46.3066667+00:00
Yakun Huang-MSFT 1,950 Reputation points Microsoft Vendor
1 answer

How can I filter emails by the recipient email address in Microsoft Graph API?

I am working with a mailbox that has emails of different recipients forwarded to it. I am trying to filter messages by the recipient email address using the any filter, but I get the following error: Client Error: 400 Client Error: Bad Request for url:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-06-26T14:13:56.0066667+00:00
Nana Blay Eku-Kintoh 0 Reputation points
commented 2024-07-05T05:53:10.26+00:00
Yakun Huang-MSFT 1,950 Reputation points Microsoft Vendor
1 answer

Trying to use Azure + Graph API to read emails from my outlook email.

Hello, I have been trying for quite some time now to use the Graph API in combination with Azure to read the messages inside of my outlook email's inbox. I am doing this in Python. I have been very thorough 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,262 questions
asked 2024-06-26T02:38:31.67+00:00
Sacha Baniassad 0 Reputation points
commented 2024-07-05T05:52:00.09+00:00
Yakun Huang-MSFT 1,950 Reputation points Microsoft Vendor
1 answer

cannot add more than 15 filter conditions

i'm trying to list all user emails using the "https://graph.microsoft.com/v1.0mailFolders/inbox/messages" endpoint. my requirement is want to get only emails from selected domains and ignore emails from some selected email addresses. but as of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-06-24T13:14:00.89+00:00
Roshan API Test 0 Reputation points
commented 2024-07-05T05:50:04.4233333+00:00
Yakun Huang-MSFT 1,950 Reputation points Microsoft Vendor
1 answer

Get 401 unauthorized when uploading bytes to the upload session

Hi I am using graph sdk 5.80.0 with Android phone. I always encounter an exception saying "com.microsoft.graph.core.ClientException: Error while executing the request" when I upload bytes of a file to my Onedrive after an upload session is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-06-28T13:24:06.6333333+00:00
Gtman Chin 45 Reputation points
commented 2024-07-05T05:27:25.1833333+00:00
Yakun Huang-MSFT 1,950 Reputation points Microsoft Vendor
0 answers

The move message in Graph API is working for the first mail. But for the subsequent mails on top of it, move api is not moving the mail to respective folder and still giving a successful response.

The move message in Graph API is working for the first mail. But for the subsequent mails on top of it (example Reply mail or forward mail), Move API is not moving the mail to the respective folder and still giving a successful response (201 created).…

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.
4,222 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-07-05T05:25:00.03+00:00
pronita kumar 0 Reputation points
1 answer

Change tracking not supported on Azure US Government for Administrative Unit

Hellow Microsoft teams, I am trying to use the delta query to track changes on Administrative Unit objects in Microsoft Graph dataAzure US Government environment. However, I received an error stating that change tracking is not supported in this…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 questions
asked 2024-07-02T08:48:54.0466667+00:00
Henry Vu 0 Reputation points
commented 2024-07-05T03:52:48.6166667+00:00
Henry Vu 0 Reputation points
2 answers

What is the UserID required by Get-MgUserContact?

According to the documentation, Get-MgUserContact requires either a UPN or a UserId in the -UserId field. However, mail contacts don't have UPNs, and the documentation doesn't define what a mail contact's UserID is. I've tried email address, display…

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.
11,262 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,273 questions
asked 2024-07-01T21:34:31.9933333+00:00
JayCarper-5747 216 Reputation points
commented 2024-07-05T03:14:45.78+00:00
Bruce Jing-MSFT 2,520 Reputation points Microsoft Vendor
0 answers

POST https://graph.microsoft.com/v1.0/subscriptions` resulted in a `400 Bad Request` giving response as "code":"ValidationError"

I am getting 400 error, unable to get the validationToken in notification url, my notification url is publicly accessible from internet with .uno as domain name. Still unable to process the request for subscription. Any app registration permissions need…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,262 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,367 questions
asked 2024-07-04T09:33:48.1266667+00:00
Shruti Malode 0 Reputation points
edited the question 2024-07-05T01:57:42.2933333+00:00
Faery Fu-MSFT 18,176 Reputation points Microsoft Vendor