10,736 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

I want to find the owners of the app id using Graph Api. But when I am in microsoft tenant it does not give me owners for Ame Tenant. How can I achieve this.

I am using https://graph.microsoft.com/v1.0/applications(appId='9a3a7c13-5ed7-4dd4-beeb-d5b2f4fe4a7e')/owners?$select=mail,displayName To get the owners of this app id. The app id mentioned above lives inside Ame tenant, how can the get the owners in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-10T19:45:56.0166667+00:00
Prachi Sharma 0 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Get-MgUserAuthenticationMethod Command doesn't return any information

I am trying to build a PowerShell script we can use to run hourly that would basically look for users who have recently signed up for Multifactor Authenticator or have Authenticator setup on their account in general and then add them to the group that…

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,573 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,100 questions
asked 2024-05-09T17:27:25.7166667+00:00
Miranda-5426 0 Reputation points
commented 2024-05-10T18:53:11.5266667+00:00
Miranda-5426 0 Reputation points
1 answer

I am trying to access the API https://graph.microsoft.com/v1.0/me/onlineMeetings, but unable to due to permissions

I am trying to access the following API, but i am unable to use this due to permission issues, It mentions that it needs onlineMeetings.Read permission, but i am not able to provide consent on that, even though it does not need admin consent. Is this…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-10T10:02:20.7733333+00:00
Harmeet Singh 0 Reputation points Microsoft Employee
answered 2024-05-10T18:52:54.1+00:00
Hitesh Pachipulusu - MSFT 80 Reputation points Microsoft Vendor
0 answers

How to troubleshoot 'Bad Request' error when using 'startswith' to filter groups in Microsoft Graph API?

I'm using the following endpoint to query the Microsoft Graph API, tracking changes by delta and filter groups by displayName using…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 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,661 questions
asked 2024-05-10T18:40:00.9666667+00:00
Sameh Tawfik (MiddleEast) 0 Reputation points
1 answer

Why am I receiving 405s from a `Get Messages` endpoint specified in the API documentation?

https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http This page in the documentation (updated 03/15/2024) specifies an endpoint to receive the MIME content of a message. When using this endpoint on Postman, I receive…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-10T14:37:14.7233333+00:00
Jon Schipp 1 Reputation point
answered 2024-05-10T18:10:05.8966667+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
0 answers

How To Modify the "All Day" Property for a bookingAppointment

A bookingAppointment object appears to not have an "All Day" property in the documentation. This property clearly exists however, as verified by the option within Bookings to toggle it. Moreover, if we read the bookingAppointment object…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-10T17:10:29.7833333+00:00
Justin 1 Reputation point
1 answer One of the answers was accepted by the question author.

Microsoft Graph {user-id}/calendar/events returns 403 even though I've been given read access

Making a call to {user-id}/calendar/events is returning a 403, even though the specified user has given read access to their calendar.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-08T21:51:27.9233333+00:00
Ryan 20 Reputation points
accepted 2024-05-10T16:43:36.1566667+00:00
Ryan 20 Reputation points
0 answers

Unable to delete contactFolder (getting ErrorCannotDeleteObject)

Hello, I'm trying to do a simple delete operation on the user contact folders. It was working fine until last sunday (05/05/2024). Since then, I keep getting the following error: { ... statusCode: 403, body:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-10T14:46:15.5966667+00:00
Baptiste Martinet 0 Reputation points
0 answers

Mircrosoft Graph Sharepoint API for drive ids

I am following the script here to get my graph api call in the graph explorer to find a file in a sharepoint folder (https://stackoverflow.com/questions/64558105/can-i-use-the-microsoft-graph-api-to-get-the-id-of-folder-within-a-sharepoint-do) When I go…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,736 questions
asked 2024-05-10T14:40:50.0466667+00:00
Grant Fullston 0 Reputation points
2 answers

How can I look up a user's manager with the MSGraph Java SDK (unattended)?

For a bit of background, I am writing a Java app to run as a module in an older, legacy java application that was set up to use LDAP for directory services. I've registered an application in Entra and provided the least privileges so it can read the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-09T19:50:18.4666667+00:00
Brad Ellis 0 Reputation points
answered 2024-05-10T14:28:18.2933333+00:00
Brad Ellis 0 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,714 questions
asked 2024-05-02T05:27:21.3166667+00:00
Akshith Reddy Thalla 80 Reputation points
edited a comment 2024-05-10T14:22:07.4733333+00:00
Akshith Reddy Thalla 80 Reputation points
0 answers

Microsoft Grpah Apo intune Mobile device and software

i have requirements to pull mobile devices from MS intune using graph api, i am able to pull manageddevies but not able find api which gives me application or s.w installed on moible device i tried deviceappmanagment api but not able to add filter in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,406 questions
asked 2024-05-10T13:52:48.3766667+00:00
Ashwin Gupta 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,714 questions
asked 2024-05-08T19:54:04.64+00:00
Roman 0 Reputation points
commented 2024-05-10T13:06:10.3366667+00:00
Roman 0 Reputation points
1 answer

Issue with move folder API in Microsoft Graph when Email ID contains "/"

When attempting to move a folder using the following endpoint: Endpoint: https://graph.microsoft.com/v1.0/me/messages/{EmailId}/move I'm encountering an error when the EmailId parameter contains a "/" symbol. Despite trying to encode the Email…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 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.
10,306 questions
asked 2024-05-09T04:23:23.2433333+00:00
Waqar Ahmed 0 Reputation points
commented 2024-05-10T12:51:14.53+00:00
Waqar Ahmed 0 Reputation points
1 answer One of the answers was accepted by the question author.

Import Teams Call Records into Power BI via anonymous access

Hi I have been asked to create a dashboard for a business unit which uses Microsoft Teams for inbound calls, through a queue system, and outbound calls direct from the client. An app has been registered for Power BI in our Azure tenant and the following…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-10T08:17:37.7733333+00:00
Michael Kane 0 Reputation points
accepted 2024-05-10T09:48:16.1+00:00
Michael Kane 0 Reputation points
0 answers

How can I load Onedrive's files using Langchain and which loader can be used?

I want to integrate Onedrive into my chat bot web application. I got access token to use Microsoft graph API and used "OnedriveLoader" from langchain community for document loading as file support to train the chatbot. I did according to the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
839 questions
asked 2024-05-10T09:06:36.8066667+00:00
Phuu Pwint Thinzar Kyaing 0 Reputation points
1 answer One of the answers was accepted by the question author.

Transcript API identifier from calendar/events API

Hi, I am using the me/calendar/events API to fetch the meeting content and I want to fetch its transcript if available. Which identifier can I use from the response of the me/calendar/events to fetch the meeting transcript from the transcript API? …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-08T15:15:47.34+00:00
Enrico Cadoni 40 Reputation points Microsoft Employee
accepted 2024-05-10T08:44:49.31+00:00
Enrico Cadoni 40 Reputation points Microsoft Employee
1 answer

Unable to filter emails by multiple categories with Graph

Hello, I am trying to filter emails by multiple categories with Microsoft Graph, but I'm not able to get it to work. I found this thread which gives me a query to filter by category 1 OR category…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-07T06:47:39.59+00:00
Rafa 0 Reputation points
commented 2024-05-10T06:49:52.68+00:00
Rafa 0 Reputation points
0 answers

Cannot Extract Text from One Drive Office Files due to assigned SensitivityLabels

Hi , I have one WebAPI which extracts Text from document (using temporary File generated after downloading onedrive download Url). This document is uploaded from teams chat and is stored in one drive under ms chat files folder. So for .docx file , it is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
asked 2024-05-08T12:10:15.95+00:00
DADemoUser 0 Reputation points
edited the question 2024-05-10T05:55:40.91+00:00
MayankBargali-MSFT 68,746 Reputation points
1 answer

Graph API: ManagedDevices not updating Primary User when changed from the Intune Portal

I've noticed that if I change the primary user for a device in the Intune Portal, that change is not reflected when making a Get request to "https://graph.microsoft.com/v1.0/devicemanagement/manageddevices/<deviceID>" Oddly, though, if I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,406 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,100 questions
asked 2024-05-08T15:42:14.6566667+00:00
Michael DiGregorio 1 Reputation point
commented 2024-05-10T02:46:31.04+00:00
Crystal-MSFT 43,721 Reputation points Microsoft Vendor