13,252 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Access Denied Error When Using App Authentication for Shared Mailbox

Hello, I’m developing an application that checks emails in a shared mailbox and moves them to different folders based on certain variables. So far, I’ve managed to do this using delegated access, logging in through a browser with my account. However,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T10:26:25.8033333+00:00
Vazquez Romero, Adrian 20 Reputation points
0 answers

How to resolve this error for outlook integration using microsoft graph api

Fatal error: Uncaught TypeError: Microsoft\Kiota\Abstractions\Authentication\BaseBearerTokenAuthenticationProvider::__construct(): Argument #1 ($accessTokenProvider) must be of type Microsoft\Kiota\Abstractions\Authentication\AccessTokenProvider,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T10:08:40.05+00:00
Capminds 0 Reputation points
1 answer

AADSTS7000215: Invalid client secret is provided error only to some users in my application

I have a website hosted in azure app service which uses graph API to get the outlook events of the customer logged in. There are many customers who login and access the outlook events daily. My issue is that some of the customers are not able to access…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T08:33:18.19+00:00
Rakesh Chandrashekar 0 Reputation points
answered 2025-03-13T09:55:43.4533333+00:00
CarlZhao-MSFT 45,681 Reputation points
1 answer

Microsoft graph - Update event request set isOnlineMeeting to false then true

On an event that has isOnlineMeeting set to true, a PATCH request with the bellow to update an existing event {"Subject":"Test Online Event 2025…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T08:09:42.1966667+00:00
Lang Nguyen 5 Reputation points
answered 2025-03-13T08:57:30.04+00:00
Rajat Vashistha-MSFT 1,155 Reputation points Microsoft External Staff
1 answer

PIM Group Eligible membership reporting

Hi, We use different Entra groups which have the memberships managed via PIM. Several users are added as eligible members to those groups. I am trying to generate a report of all eligible members in all of those PIM Managed groups. I tried different…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-12T19:44:24.26+00:00
Sukhwinder Singh 46 Reputation points
answered 2025-03-13T07:57:23.8366667+00:00
Vasil Michev 115.3K Reputation points MVP
1 answer

How to retrieve share history for a DriveItem using Microsoft Graph API

How can the Microsoft Graph API be used to retrieve sharing activities for a file or drive? The endpoint /drives/{drive-id}/items/{item-id}/activities has been utilized to get a list of activities, but what is the date range for this endpoint? Although…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-12T19:16:59.5966667+00:00
TANG, ZIFENG (GARY) 0 Reputation points
answered 2025-03-13T07:54:49.9666667+00:00
Vasil Michev 115.3K Reputation points MVP
1 answer

Filter on Guid for AppRoleAssignedTo.PrincipalId does not seem to work as expected

See: https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2306 Describe the bugUsing C# SDK nuget package Microsoft.Graph 5.40.0. Any time we try to create a filter like var userId = "<GUID VALUE>"; if(!Guid.TryParse(userId,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 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.
11,338 questions
asked 2024-01-29T10:42:53.76+00:00
Charles Laymon 25 Reputation points
commented 2025-03-13T07:52:29.5733333+00:00
Charles L 86 Reputation points
2 answers One of the answers was accepted by the question author.

Resource not found for the segment 'auditLog' while running the security auditlog query

Hello team, I've setup a M365 Dev subscription to test the audit log API for purview. When I run the https://graph.microsoft.com/v1.0/security/auditLog/queries using Postman, I get the following error. When I use the beta version, I get a valid…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-12T15:51:27.8666667+00:00
Naveen Kishore Potthuru 20 Reputation points
commented 2025-03-13T07:42:32.24+00:00
Naveen Kishore Potthuru 20 Reputation points
1 answer

Powershell Graph query not returning group members

Hello! I'm encountering problems making device status queries via the Powershell Graph module. We’re trying to retrieve a list of devices and their compliance status from an Intune/Azure group. This is a security group, and these devices are direct group…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-02-28T20:51:37.4733333+00:00
Riki Gay 0 Reputation points
commented 2025-03-13T07:09:43.0833333+00:00
Vasil Michev 115.3K Reputation points MVP
0 answers

How get the data if a viva engage community has setting restricted-posting as true using graph api

How get the data of a viva engage community if restricted-posting is true or false using graph api

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T06:12:55.9766667+00:00
Vj 0 Reputation points
1 answer

Monitoring About Graph api throttling

As far as I know, there are restrictions on the use of graph API. Is there a way to monitor the api usage? I wonder if there is anything I can monitor on the entra or admin site

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T02:23:27.7833333+00:00
ram ra 20 Reputation points
answered 2025-03-13T04:47:34.21+00:00
Saranya Madhu-MSFT 1,895 Reputation points Microsoft External Staff
1 answer

Create a background app in my tenant which can call graph api to subscribe to email of other tenants. What steps do I need to take to create the app, and what steps do my customers need to take to authorize my app to make graph API calls in their account.

Hi, I want to create an application that can subscribe to changes to outlook emails of my customers who have their own microsoft office 365 tenant/account. To do so I would have to create an application in my account that can make "create…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-11T17:35:01.47+00:00
Sohil Gogri 0 Reputation points
commented 2025-03-13T04:44:11.4766667+00:00
Saranya Madhu-MSFT 1,895 Reputation points Microsoft External Staff
0 answers

odata filtering of dates or percentcomplete not working for Planner API

GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/tasks?$top=2 Authorization: Bearer {token}   Expected: Only 2 tasks should be returned per page. Reality: All tasks are returned without proper pagination. Attempting Filtering GET …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-11T08:01:58.5766667+00:00
Anuj Kumar 0 Reputation points
commented 2025-03-13T04:35:11.9533333+00:00
SrideviM 755 Reputation points Microsoft External Staff
1 answer

Deleting Outlook Calendar Events with Graph API without notifying attendees

Is it possible to delete events using the Graph API in a manner that does not notify attendees? An automation is in place that creates a recurring event using the API, but there are instances when a specific day in that series should not be created. The…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-12T19:03:37.6666667+00:00
Jack Gaunt 0 Reputation points
answered 2025-03-13T04:03:01.1633333+00:00
Akhil Nasalwai - MSFT 815 Reputation points Microsoft External Staff
0 answers

Get Booking options Information Booking Duration (hours) &Booking window (days)

Hi, I want to get information about Booking Duration (hours) and Booking window (days) Rooms & equipment . I tried use List places and room resource type graph API, but the response doesn't include those. Also tried use 'mailboxSettings' , but it…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-13T01:22:35.97+00:00
Kadek Ardana 0 Reputation points
0 answers

How get the data if a viva engage community has setting restricted-posting as true using graph api

I want to check a particular viva community is restricted from posting or not using GET graph api.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-12T21:24:25.9733333+00:00
Vj 0 Reputation points
edited the question 2025-03-13T00:56:27.89+00:00
Shireesha Eeraboina 2,065 Reputation points Microsoft External Staff
2 answers

Set-MgUserLicense Error message

I have been trying to get Set-MgUserLicense to work for days now but every time I run this script I get this error message. Set-MgUserLicense : One or more parameters of the operation 'assignLicense' are missing from the request payload. The missing…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-07T15:45:18.94+00:00
Kathryn Anderson 0 Reputation points
edited a comment 2025-03-12T22:54:48.2433333+00:00
Quaine Day 0 Reputation points
0 answers

Get-MgDeviceManagementRoleDefinition AND Get-MgDeviceManagementRoleAssignment

The description of the MGGraph commands is really poor. I can't find enough examples to determine what the issue us. Get-MgDeviceManagementRoleDefinition Get-MgDeviceManagementRoleAssignment If I use RoleDefinition I get a list of GUIDs and the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-12T20:05:28.1233333+00:00
ComputerHabit 1,021 Reputation points
1 answer

API not authenticating with Azure

unable to authenticate API when using Microsoft Graph component and granting access.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
asked 2025-03-11T18:22:33.7466667+00:00
scottj 11 Reputation points
commented 2025-03-12T18:41:47.9766667+00:00
Venkata Jagadeep 330 Reputation points Microsoft External Staff
1 answer

Integrating Outlook as a Knowledge Base for Copilot Studio

Exploring the possibility of using Outlook as a knowledge base for Copilot Studio. Specifically interested in integrating Outlook's email and calendar data into Copilot Studio. Could anyone provide insights on the following? Data Integration:…

Outlook
Outlook
A family of Microsoft email and calendar products.
4,505 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,252 questions
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
230 questions
asked 2025-02-10T11:11:33.6633333+00:00
Mehdi Barati 10 Reputation points
commented 2025-03-12T18:38:29.13+00:00
Damon Betlow 1 Reputation point