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…
Graph API `GET /teams/{id}/channels/{id}/filesFolder` results in "siteUrl cannot be null or empty"
Hi, We encountered the following error when accessing Graph API GET /teams/{id}/channels/{id}/filesFolder (document: https://learn.microsoft.com/en-us/graph/api/channel-get-filesfolder?view=graph-rest-1.0&tabs=http). { "error": { …
azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra')
azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra'). you can refer this screenshot
Not able to REST call to https://graph.microsoft.com/beta/appCatalogs/teamsApps
Hi Team, I need sample code in C# or documentation how can I generate token in C# code and by using that token how can I hit the URL: and make the request to that API https://graph.microsoft.com/beta/appCatalogs/teamsApps
Graph API - filter and select together - 404 error
When i use 'filter' and 'select' together in a GRAPH API url, it gives a 404 error This is my URL in web.config - https://graph.microsoft.com/v1.0/users?$select=givenName&$filter=startswith(displayName,'searchName') Following is the code i use to…
Custom roles are not returned when i query a users memberof endpoint in graph api
Hi, I have used graph api users memberOf endpoint to get the roles assigned for a user . The response from the endpoint returns all the groups and roles that is assigned for that user , but the custom defined role is not returned . Is there any other way…
How to access OneNote Notebook data with MS Graph SDK python
Im trying to build a python app/script that goes through a onenote notebook and create folders for each section and creates html files for each of the pages in the section that will be saved in the respective folder. I tried to play around with the…
How to Authenticate Scan to email mailbox
Our organization is trying to have all mailboxes set up with MFA so we can turn of legacy. The issue is that we have scan-to-email function set up through a UserMailbox, so if we convert this to a SharedMailbox, users will no longer be able to use it for…
/invite endpoint "notAllowed" but /createLink ok in Sharepoint via Graph API
Hi, I don't understand why I can create a sharing link via the POST /sites/{siteId}/drive/items/{itemId}/createLink endpoint but when I try to use the POST /sites/{siteId}/drive/items/{itemId}/invite endpoint I receive a 403 with this body: { …
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…
Failed to filter based on file property in MS Graph API
https://graph.microsoft.com/v1.0/me/drive/root:/{folderName}:/children?$top={top}&$filter={filter}, {filter}=file eq null, this Graph API works before, but now it return "error": { "code": "notSupported", …
Is there any API to get Microsoft compliance reports?
I want to get the Microsoft Message encryption report and Alerts from Microsoft Compliance programatically using API. Manually I do the process in the following way: Message Encryption Report: Link:…
Get All SharePoint Files and Folder in a Tree structure of a Document Library using GraphAPI?
Get All SharePoint Files and Folder in a Tree structure of a Document Library? I can get all the files within the Document Library, but not in a structured way or in a tree format, by using -…
Resource graph query to get "microsoft.insights/guestdiagnosticsettings" resources?
According to documentation, resource type "microsoft.insights/guestdiagnosticsettings" should be available using Azure Resource Graph. https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/supported-tables-resources …
Set Retention Label & permanent delete based on retention label
Unable to set the retention label (https://learn.microsoft.com/en-us/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0&tabs=http) PATCH /drives/{drive-id}/items/{item-id}/retentionLabel ---I also want to permanently delete based on retention…