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…
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…
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…
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…
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 {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.
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:…
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…
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…
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 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…
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…
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…
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…
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…
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? …
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…
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…
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…
Graph API does not return a contact which was created when user was onprem, now in Azure AD
The Microsoft Graph API V1 fails to retrieve contacts with phone numbers (personal contacts) created when the user account resided in the on-premises Active Directory (AD). Although the user account has since been migrated to Azure AD, Outlook…