Getting an error when trying to create a new excel workbook.
I am trying to use the Graph API to create a new Excel workbook. I keep finding this way to do it everywhere on the internet. But I keep getting this error. POST https://graph.microsoft.com/v1.0/me/drive/root/children { "file": {}, …
need to Need to call the Microsoft GraphApi from the .net application and get the user details based on the email address
Hi, I have a below requirement. I need to call the microsoft GraphApi from the .net application and get the user details based on the email address he/she types in the textbox. In Azure portal - i have enabled (Any Microsoft Entra ID tenant -…
Adding Scopes to a registered Service Principal
Hi there, We have a registered Service Principal (Enterprise Application) being used by several users granting us delegated permissions. We'd like to add an additional application (not delegated) permission to this service principal. For context, it…
Calling delta link on sharepoint sites do not indicate which one is deleted
Is it normal? It occurs every time I query a delta link(sites/delta) just after deleting a sharepoint site. { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites", "@odata.deltaLink":…
Calling delta link on sharepoint sites do not indicate which one is deleted
As you can see here, as the site were deleted, it appears in the delta call but nothing indicate if this site was modified, delete or added... we have no choice but calling each site to verify if it still exists { "@odata.context":…
How to Remove all Staff from Bookings Appointment
When Updating a Bookings Appointment that already has staff assigned, if you remove all staff members from the staffMemberIds property, the appointment will not update the assigned staff members. This operation is allowed in the webapp, so the API…
I've encountered the 'unauthorized_client: The client does not exist or is not enabled for consumers' error while trying to use authentication via Microsoft Graph in my web service; any ideas on how to fix this?
Hello, I've added authentication via Microsoft Graph to my web service. Everything was working fine, but at some point, I started getting an "unauthorized_client: The client does not exist or is not enabled for consumers" error when trying to…
Teams Meeting
I am trying to get the user from an ongoing meeting using MS Graph api, Is there a way to do this?
Certain fields of mguser update arent working and I am unsure why.
$csvData = $csv | Select "User principal name","Title", "Department", "City", "StreetAddress", "Reporting managers" foreach($user in $csvData){ $userPrincipalName = $user."User principal…
The reference target 'Application_xxxx-xxxx-xxxx' of type 'Application' is invalid for the 'owners' reference.
Hi folks, I am trying to add an application as an owner to a few Azure AD group but encountering below error message: "The reference target 'Application_xxxx-xxxx-xxxx' of type 'Application' is invalid for the 'owners' reference." I tried with…
How to query emails by recipient's email address?
I am using the Graph REST API. Below is my URL. https://graph.microsoft.com/v1.0/me/mailFolders('SentItems')/messages?$filter=sentDateTime ge 2024-04-27T16:00:00Z and sentDateTime le 2024-05-04T15:59:59Z and toRecipients/any(a:a/emailAddress/address eq…
Delete attachment api call is giving 500 Internal Server Error
For the following API: DELETE https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments/{attachmentId{}} I am getting the following response: { "error": { "code": "ErrorInternalServerError", …
In Graph for Teams we used to be able to get a shift group for Time Off instances, This has somehow disappeared? Am I crazy or just dont know how to query graph correctly
In previous months in Shifts for Teams off time instances had a shift group ID, I cannot find this anymore. Am i doing something wrong.
Microsoft graph api error "You do not have permissions to open this file in the browser."
There was no problem when I first created the microsoft account. After some time passed, when I tried to request again, I got an error. I send a request to this endpoint and the following error is…
Upload files to Teams' team channel using Graph from VBA in Excel with Library 'Request check out'
I have an Excel file running some VBA code. This file is to be accessed and edited by my co-workers, so I share it in a channel in a Teams' team. This file, upon some choices and inputs on a kind of form inside it, automatically generates some other…
Are there API queries which can be used to Fetch User data like name, address from MS Azure/Entra Id?
I am a Salesforce CRM developer and need API queries to fetch the user details like Name, Phone, Email, etc. From Microsoft Azure AD/MS Entra Id. Are there any documentation or reference for same?
Graph API Outlook Webhooks
I am trying to build a security system to monitor user's incoming emails and determine if the contents contain anything malicious. Initially, I want to use an outlook add-in, but there does not seem to be a way to automatically run the add-in…
Unable to rewrite question
The original question contains inappropriate and unrelated content and therefore cannot be rewritten in a way that adheres to safety and community guidelines. As a friendly reminder, questions must be clear, concise, specific, and directly related to…
How to Read mails in shared mailbox using Graph API
Does Microsoft Graph API provide any support to Read emails from a specific shared mail box? Is it possible to achieve this through Python Script.
How to fix MailboxNotEnabledForRESTAPI
Dear Team, I'm developing an application that requires access to a mailbox enabled for the Outlook REST API. We need a developer preview account to test our app's functionality, especially for creating online meetings, booking the host and recipient's…