10,760 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Missing webhook notification for new emails intermittently with active subscriptions

We have created azure function which will get triggered for new email and process it. But for some strange reason some times it is not getting triggered for some mails. So to resolve that we had to create missing function which will check if there is any…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,335 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,215 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-14T11:52:34.06+00:00
Aarsh Patel 0 Reputation points
1 answer

Microsoft.Graph New-MgBetaPlannerRoster is not working getting error Bad request

$tenantID ="id of the tenant" $ClientID = "id of the client" $CertThumbprint = "thumbprint of the certificate" Connect-MgGraph -ClientID $clientID -TenantID $tenantID -CertificateThumbprint $CertThumbprint $body = @' {    …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-04-11T15:09:48.28+00:00
METOEVI, Isabelle (MTL) 5 Reputation points
answered 2024-05-14T10:25:26.4733333+00:00
Luca Heiss 0 Reputation points
1 answer

Getting an error when trying to create a new excel workbook.

I am trying to use the Graph API to create a new Excel workbook. I keep finding this way to do it everywhere on the internet. But I keep getting this error. POST https://graph.microsoft.com/v1.0/me/drive/root/children { "file": {}, …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-13T20:11:06.9133333+00:00
Jalen Parham 0 Reputation points
answered 2024-05-14T09:54:44.0766667+00:00
CarlZhao-MSFT 37,461 Reputation points
1 answer

Want to integrate Graph API with the Azure app for sending messages to the team's users uisng email

I want to send messages on Microsoft Teams using user email.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,166 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2023-05-03T06:12:02.02+00:00
ghulam murtaza 0 Reputation points
commented 2024-05-14T09:40:36.6033333+00:00
Ghulam murtaza taraki 0 Reputation points
0 answers

Inconsistent API Errors with Webhook Events: Could not find the requested call record. Records about calls or online meetings that started more than 30 days ago are not available.

Hello Team, We have implemented a Teams webhook to receive events whenever a Teams call ends. Upon receiving the webhook from Microsoft, we are making another call to the Microsoft Graph API service to retrieve the details of the call record using the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-14T09:30:18.9133333+00:00
Anand Tiwari 0 Reputation points
2 answers

Error: 401 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown.

I want to query (not update) all the items under a SharePoint Online list thru REST API: https://{mysiteurl}.sharepoint.com/mysite/_api/web/lists/getbytitle('{mylistname}') I can successfully get the token via: …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,763 questions
asked 2024-01-15T14:18:42.3166667+00:00
Mark Lui 21 Reputation points
answered 2024-05-14T09:14:53.5933333+00:00
Zdeněk Vinduška 0 Reputation points
0 answers

Do the timezone and time change in the in the result of msgraph-sdk calendar_view.get() ?

I am using python msgraph sdk to query calendar views. Below is my request: params = {"start_date_time": "2024-05-15T00:00:00+08:00", "end_date_time": "2024-05-15T23:59:59+08:00"} query_params =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-14T09:14:27.6033333+00:00
Shaun Yang (Medalsoft) 0 Reputation points
2 answers One of the answers was accepted by the question author.

Issue with Microsoft Graph API: Getting 403 Forbidden Error for Call Records Endpoint

I am encountering an issue while trying to access call records using Microsoft Graph API. The error I am receiving is a 403 Forbidden error. I have granted all the necessary permissions, including 'CallRecords.Read.All,' and consent has been given.…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-01-03T07:16:38.01+00:00
Ram Kumar Tamang 40 Reputation points
commented 2024-05-14T09:04:10.1566667+00:00
Nitesh Kumawat 0 Reputation points
3 answers

Graph API for MS Teams - Call Logs

Hi, We'd like to archive our Teams call logs, as we are often asked for these but currently they are only saved for 30 days in the Teams Admin Console. We thought we might be able to use the Graph API to download Teams call logs for all of our…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2021-11-01T10:08:05.6+00:00
David Jones 1 Reputation point
commented 2024-05-14T08:47:20.4166667+00:00
Prashant Devkota 1 Reputation point
1 answer

Graph API `GET /teams/{id}/channels/{id}/filesFolder` results in "siteUrl cannot be null or empty"

Hi, We encountered the following error when accessing Graph API GET /teams/{id}/channels/{id}/filesFolder (document: https://learn.microsoft.com/en-us/graph/api/channel-get-filesfolder?view=graph-rest-1.0&tabs=http). { "error": { …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-13T09:20:01.22+00:00
CAT 1 Reputation point
commented 2024-05-14T08:11:39.95+00:00
CAT 1 Reputation point
0 answers

Onedrive Webhook subscription Issue.

Hello Team. Topic If you use https://graph.microsoft.com/v1.0/subscriptions , you will fail subscription, and if you use https://graph.microsoft.com/beta/subscriptions , you will succeed subscription. Expect https://graph.microsoft.com/v1.0/subscriptions…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-14T07:51:20.5633333+00:00
JongYoung Ko 0 Reputation points
edited the question 2024-05-14T08:00:13.47+00:00
JongYoung Ko 0 Reputation points
1 answer

How to post messages on a channel

I have a multi-tenant Microsoft Teams tab app. I want it to post messages on a selected channel from my server. I successfully receive the token using this endpoint: https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token Then, I use the token to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-08T19:54:04.64+00:00
Roman 0 Reputation points
commented 2024-05-14T07:43:30.1166667+00:00
Yakun Huang-MSFT 395 Reputation points Microsoft Vendor
1 answer

Failed to filter based on file property in MS Graph API

https://graph.microsoft.com/v1.0/me/drive/root:/{folderName}:/children?$top={top}&$filter={filter}, {filter}=file eq null, this Graph API works before, but now it return "error": { "code": "notSupported", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
842 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,141 questions
asked 2024-05-13T03:23:37.54+00:00
Dai, Coco 0 Reputation points
commented 2024-05-14T07:37:22.9466667+00:00
Dai, Coco 0 Reputation points
1 answer

The reference target 'Application_xxxx-xxxx-xxxx' of type 'Application' is invalid for the 'owners' reference.

Hi folks, I am trying to add an application as an owner to a few Azure AD group but encountering below error message: "The reference target 'Application_xxxx-xxxx-xxxx' of type 'Application' is invalid for the 'owners' reference." I tried with…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,107 questions
Microsoft Entra
asked 2024-05-13T16:26:45.3366667+00:00
Apurva Pathak 310 Reputation points
commented 2024-05-14T07:18:14.5466667+00:00
Apurva Pathak 310 Reputation points
1 answer One of the answers was accepted by the question author.

Get Doc Library associated with a Group

I'm trying to Get the document library associated with a group, GET /groups/{groupId}/drive as mentioned over here…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,763 questions
asked 2024-05-07T15:29:00.86+00:00
Akshith Reddy Thalla 80 Reputation points
accepted 2024-05-14T07:17:53.3733333+00:00
Akshith Reddy Thalla 80 Reputation points
1 answer

Set Retention Label & permanent delete based on retention label

Unable to set the retention label (https://learn.microsoft.com/en-us/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0&tabs=http) PATCH /drives/{drive-id}/items/{item-id}/retentionLabel ---I also want to permanently delete based on retention…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-02T05:27:21.3166667+00:00
Akshith Reddy Thalla 80 Reputation points
commented 2024-05-14T07:17:01.22+00:00
Akshith Reddy Thalla 80 Reputation points
1 answer

Microsoft graph api error "You do not have permissions to open this file in the browser."

There was no problem when I first created the microsoft account. After some time passed, when I tried to request again, I got an error. I send a request to this endpoint and the following error is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-13T15:01:27.7+00:00
developeruser 0 Reputation points
edited the question 2024-05-14T04:14:54.59+00:00
ManoharLakkoju 535 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Custom roles are not returned when i query a users memberof endpoint in graph api

Hi, I have used graph api users memberOf endpoint to get the roles assigned for a user . The response from the endpoint returns all the groups and roles that is assigned for that user , but the custom defined role is not returned . Is there any other way…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
679 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,695 questions
asked 2024-05-13T05:55:00.7266667+00:00
Harishankar B 0 Reputation points
commented 2024-05-14T04:12:44.5433333+00:00
Harishankar B 0 Reputation points
1 answer

employeeexperience/communities returning 400 bad request

Steps to reproduce the behavior: Go to 'graph explorer' enter https://graph.microsoft.com/beta/employeeExperience/communities/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIyMDIxMzQ1Njg5NiJ9 click run report See error 400 bad response

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-13T23:46:55.4966667+00:00
Sellars, Martin 0 Reputation points
answered 2024-05-14T02:35:40.7533333+00:00
Yakun Huang-MSFT 395 Reputation points Microsoft Vendor
1 answer

Upload files to Teams' team channel using Graph from VBA in Excel with Library 'Request check out'

I have an Excel file running some VBA code. This file is to be accessed and edited by my co-workers, so I share it in a channel in a Teams' team. This file, upon some choices and inputs on a kind of form inside it, automatically generates some other…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,166 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,738 questions
asked 2024-05-13T13:33:45.0833333+00:00
Inácio Rodrigues 0 Reputation points
edited an answer 2024-05-14T02:14:59.1866667+00:00
LiweiTian-MSFT 14,850 Reputation points Microsoft Vendor