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…
Invalid filter clause: Could not find a property named 'field_2' on type 'microsoft.graph.listItem
Hi, please help me with a problem. When i make a request like this, a error just prompting. Sorry for my…
what is the pricing model for Microsoft Graph Calendar Api ?
What is the exact pricing model for Microsoft graph api for creating meeting event in outlook calendar for a group of large users(suppose upto 1000 users).Do I really need a Azure portal account to work on api(Is it mandatory to create clientId and…
How can I create GraphServiceClient using AccessToken from AuthenticationResult
In my code I already used AcquireTokenSilent and AcquireTokenInteractive; they provided an AuthenticationResult (with AccessToken) which I would like to use to create a GraphServiceClient. I could not find a suitable constructor so I hacked a solution…
Graph Api- How Change Notification /Chat/getallmessages Pricing works
Hi, I have a requirement to build a chat functionality in application where there will be 2 types are users: External User (Single support email id having teams access will be used for all users) Internal User (All users will have its own email is…
How Can I Automate OneDrive Access and File Management using Python Script with Graph API?
I am working on a Python script to automate file retrieval and deletion from OneDrive based on specific filters using Graph API. Since the script will run without interactive login, it requires an access token for authentication. Can someone provide…
Graph API - Upload File to ListItem
Hello, I know how to use the Graph API to upload small files (<4MB) to Drive Folders and to Document Libraries. However, I can not figure out how to Upload Files to existing ListItems. Is that possible with the Graph API? Many Thanks, Shadi
How to set Microsoft Graph API permissions on Azure Managed Service Identity with bicep template
I have a requirement to set Microsoft Graph API permissions on Azure Managed Service Identity with bicep template to automate the deployment. Also I don't have access to azure portal to configure anything manual
Unable to get Get a client ID in Microsoft Graph quick start
I am trying to download a sample at https://developer.microsoft.com/en-us/graph/quick-start? but after clicking Get a client ID and successfully login with organization account (with Multi-factor Outlook authentication) I am keep getting errors like…
Copy and past embedded images from one Excel file to another with Microsoft Graph on Sharepoint
Hello, Is there a way to copy and past embedded images from one Excel file to another with Microsoft Graph on SharePoint? I was able to copy the data from one Excel file to another with the following script but the format is not preserved and the…
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…
Create a New Item in a List with Attachment
Hello, I'm using Microsoft SharePoint Online and using the Microsoft Graph RestAPI v1.0 API. When creating a list item, there is an "Add Attachment" field. Is it possible to add attachments to list items using the Microsoft…
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…
How to get Manager and Org Chart in Mail contacts from remote tenant
We have two Office 365 (O365) tenants and want to synchronize the address books between them. Currently, we are using a PowerShell script to synchronize mail contacts, but we're encountering an issue where the Manager and Org chart fields are not being…
Using Conditional Formatting/ Formula to Compare Two Dates
I am trying to compare two dates in a large data sheet as a Success or Failure depending on the Ship Date. For example, on the first line, the Ship Date is 2/29/2024 which is after the due date (-1 of 2/26/2024), making it a failure. The Expected…
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…
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…
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.