How to avoid sending email notification on /events api
I want to avoid sending notification while creating an videointerview event using mentioned api. I have tried using https://graph.microsoft.com/v1.0/me/events?sendNotification=false, but after creating event notification is still getting send. I have…
How do I limit access to API endpoints if a logged in user does not have an admin role
I'm creating an employee management application and I registered my app and have given the application delegated api access to Microsoft Graph Directory.AccessAsUser.all. I would like to restrict access to this api endpoint if the logged in user does not…
How to retrieve install status for specific app in Intune Graph API
We have for some time, been using the below to retrieve the install status for a specific app across all devices: https://graph.microsoft.com/$graphApiVersion/deviceAppManagement/mobileApps/$ApplicationID/devicestatuses This no longer seems to work,…
Issues configuring copilot with generative answers on Sharepoint site
Hi, I have a copilot that I can't get to read the documents from sharepoint using Manual Authentication. Here are my details, any insight is much appreciated.
Unable to get a Microsoft Graph Token
I am a user in the Azure tenant directory, trying to get a Token to send a message to a Teams channel. I can do that via Microsoft Graph Explorer. When I use a Token that Microsoft Graph generates I can send a message to Teams channel via curl and…
How can MS Graph API Get Message List, for a given user and mailbox, using delta retrieve more than 10 messages and sorted by receivedDateTime descending
The following query is used in an app-only authentication registered application. The intent is to watch a specific user's mailbox to consume the content and perform an…
How do you assign the sensitivity label in the creation of a new team with 'New-MgTeam'?
Hi, We are currently trying to automate requests we get for the creation of a new Team. In this creation, we want to be able to assign a certain sensitivity label. In PowerShell, we've got it to generally work with basic information, but we can't…
Conversion of pptx to jpg via graph API only returns the 1st page
Dear Sir or Madam, as noted in the documentation, the conversion of pptx to jpeg is supported by Graph API. https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-beta&tabs=http However, when I convert it to jpg,…
How many versions does a Drive Item need until it gets paginated via Graph API?
If I am getting a DriveItem and expanding its versions i.e. /drives/{id}/items/{id}?$expand=versions How many versions will there be until pagination kicks in (in the inner versions array)? I can't find the number anywhere in the documentation. I am…
Microsoft graph api always retrieves old document library name even if the library name is modified in SharePoint
Hi, I have been using Microsoft Graph api to retrieve SharePoint site's files, folders, document libraries for my application. When i change the document library name in SharePoint, graph api always returns me the old library name in its result. I was…
Error with using Graph Toolkit for SPFx
I'm trying to use graph toolkit in my SPFx solution. I followed the steps at https://learn.microsoft.com/en-us/graph/toolkit/get-started/mgt-spfx But when I tried gulp serve it was throwing errors as below: Error - [webpack]…
How to get a message using Graph from a mailbox using data in an email header
I want to use the details found when you view an email message as source (headers, spam results, body content etc) to ping the Graph API to retrieve certain details of the message. This would be done with an app that has application permissions. It would…
OfficeConversion_Fatal Error trying to convert pptx to pdf with more than 100 pages via Graph API
Dear Sir or Madam, There is an error appearing from converting pptx to pdf from o365 office via Graph API. We use a sharepoint from which we can read data via an o365 app registration. The error appears with documents starting form > 100 pages. The…
How to monitor calls to Azure CLI, Powershell, Microsoft Graph... from a user?
Hi everyone, I would like to know if there is a possibility to log the events of the calls made through the API to query information. The goal is to know if they are making many calls that triggers an alert in Sentinel to see if an attacker is doing an…
Unable to create Azure Custom Role using JSON and the PoweShell New-AzRoleDefinition ?
When I execute the below PowerShell script to create a custom Azure Role based on the specific JSON content below. Script: $paramNewAzRoleDefinition = @{ InputFile = C:\Custom.JSON Verbose = $true Debug = $true } New-AzRoleDefinition…
Apply Sensitivity Labels to Microsoft Exchange Mail via .NET core code.
Hi, I would like to apply sensitivity labels to emails programmatically. I have successfully obtained the email ID (message ID) and sensitivity label ID using Graph API in .NET Core Application C#. However, I cannot find an endpoint within the Microsoft…
Problems when receiving change notifications when getting presence
Hello we have a problem when we receive change notifications from graph API We receive null values on activity and availability. { "activity": "String", "availability":"String", "id":…
Encountering an issue while collecting billing data using the Azure Blob SDK, where the stream seems to be forcibly closed after processing a specific number of records.
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-download-java#download-from-a-stream I am in the process of transitioning to the Azure CSP Billing Data API and have implemented data collection functionality using the Azure Blob SDK, as…
Microsoft Universal Print: The token does not have one or more required security scopes. Client Credentials Flow
Hi, I am working with a solution where a client needs to use Microsoft Universal Print. I am using Microsoft Graph and the client credentials flow. After getting the access token via the credentials instance I have the following error upon making a…
System.InvalidOperationException: Content type text/html does not have a factory registered to be parsed
I am using a B2C tenant I have an app registration with Mail.Send Application permissions With granted Admin consent. The user with id b29d1ccb-xxxxxxxxxxxx is an internal account with User principal name:…