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:…
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…
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…
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…
Automatically install app as a personal app
Hello, could someone help me with automatically installing an app as a personal app for users who add the bot to a channel in a team? For example, when Adobe Acrobat is added to a channel in a team, it is also automatically installed as a personal app…
No application access policy found for this app
We are encountering application access policy issue when tried to access Online Meetings API. We registered a new app registration and provided grants to application permissions for Online Meetings. we followed MS documentation to configure access…
Problems moving a sent message to another folder
I'm trying to update an application which was using IMAP and SMTP to use MS Graph instead, since the IMAP/SMTP access to Office365 is now slowing to a crawl. The application needs to "file" sent messages into specific folders, rather than…
Getting error while reading the user by email address
Hello there, I wanted to explore the Microsoft graph API's for creating the online meeting events via teams meeting. Now the events must be related to respective users. To get the user i have followed below. I have enrolled into the trial version of…
getting error while creating event for specific user using id
Hey I am trying to create an event with team meeting link to join for the given user id, below are the endpoints i have tried. /users/{user_id}/events : [ method - POST ] /users/{user_id}/calendar/events : [ method - POST ] Now, to clarify few…
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…
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…
Error AADSTS650053: The application 'XXXX' asked for scope 'Exchange.Manage' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000'. Contact the app vendor.
Hi! When I ask for the delegated permission Exchange.Manage on the url https://login.microsoftonline.com/common/oauth2/v2.0/authorize, I receive the error in this question title. The error says that the permission is asked on the Graph ressourceId, but…