How to set the Outlook Email Sensitivity using API Call
{ "message": { "subject": "Meet for lunch?", "body": { "contentType": "Text", "content": "The new cafeteria is open." }, …
Cross-origin token redemption is permitted only for the 'Single-Page Application
Explanation of the error: The error we're encountering, AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type, indicates that your Azure AD registered app is trying to redeem a token from a different…
How to get the option SPOTenant -DisallowInfectedFileDownload in Node.js?
Hi everyone! I need to get an option DisallowInfectedFileDownload in Node.js application. I'd like to do it via Graph API. But I found only one way to get this parameter - via Powershell. I can get value: Get-SPOTenant | Select-Object…
Missing Graph Java SDK v6.x.x JavaDocs are missing
There no JavaDocs on Maven Central for the of the v6 releases of the Graph Java SDK (https://mvnrepository.com/artifact/com.microsoft.graph/microsoft-graph/6.8.0). They are present for v5, but not v6. Where can I download them?
Exception of type 'Microsoft.Fast.Profile.Core.Exception.ProfileBadRequestException' was thrown
We've had a flow running in production for about a month now that updates associate images using the Graph. This week we are seeing issues where the Base64 image is throwing an error. Permissions haven't changed. We tried going directly through Graph…
AD B2C Microsoft Graph to send verification code to email
Hi, I would like to know if there is possibility to send verification code to email using Microsoft graph. Basically, I want to do everything in MS Graph ie. signing up, signing in, send verification code, SMS, MFA and social media sign up and sign in.
Using MS Graph to get Calendar for a resource
Trying to get Calendar information for a specific users (not Me) but getting error. Getting user detail: Query: https://graph.microsoft.com/v1.0/Users/5e28a862-6056-44fc-b8a6-f3cdbdd47fcb Result : gave me detail about this users without any…
How to set the Outlook Email Sensitivity using API Call
Trying to set the sensitivity of an outbound Email using following API. No error. Email is sent/received successfully. But Message sensitivity is NOT set to "Secure" as expected. { "message": { "subject": "Mail…
How to modify the metadata of a file on Sharepoint using Microsoft Graph and Python
Hello, I am trying to modify the metadata (i.e. value in a column I created on SH) using the following Python script but I receive the following error message. Do you have any thoughts/advice? Response Text:…
How to set the Outlook Email Sensitivity using API Call ?
Trying to set the sensitivity of an outbound Email using following API. No error. Email is sent/received successfully. But Message sensitivity is NOT set to "Secure" as expected. Pls help. { "message": { "subject":…
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…
official microsoft code example for onedrive upload not work
Hy I try to upload files via php to my onedrive since a few weeks. It didn't work. So I found this code example https://learn.microsoft.com/de-de/graph/sdks/large-file-upload?tabs=PHP But I got a error message: Class new Models\AttachmentItem() not…
Excel files saved on Sharepoint corrupted with embed_image function of Xlsxwriter (Microsoft Graph and Python)
Hello, I have the following section of my Python script that works perfectly fine locally but as soon as I work on remote files on a SharePoint site, the Excel file gets corrupted after running the script (see attached image). All other formatting tasks…
Powershell to update Intune DevicemanagementName
Hi everyone, I'm looking to use powershell to modify some Android device Management Names in Intune. I've managed to figure out how to find the device I want to change using the Get-IntuneManagedDevice. $Device=Get-IntuneManagedDevice…
Microsoft Graph api removeing password credential fails
I'm trying to remove password credential for a Spn but I haven't been successful. I tried Microsoft Graph API in Graph explorer ` POST /servicePrincipals/{id}/removePassword ` and using powershell …
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? …
Can we print a document using Universal Print API using application permissions not delegated User permissions?
Can we print a document using Universal Print API using application permissions not delegated User permissions?
While get user’s list of followed sites (using application permissions). By calling GET /me/followedSites endpoint gives "access denied”
Hi team, I was trying to get user’s list of followed sites (using application permissions). But calling GET /me/followedSites endpoint gives "access denied” and not able to know the root cause for this issue. Is something know issue or is it…
Value cannot be null. Parameter name: storeId
Hi When I use below code to send email usisng a graph client; await graphClient.Users[SenderUserEmail].SendMail(message, true).Request().PostAsync(); I get exception; Code: ErrorInternalServerError Message: An internal server error occurred. The…
B2c: "userPrincipalName already exists" even though the user can't be found via the Graph API
Since yesterday 10AM UTC+2 where having some issues with creating new users via the Graph API in one of our B2c tenants. Some requests time out and retries end up with userPrincipalName already exists and HTTP 400. The problem is: the actual user cannot…