Create a new (send/received) message with itemAttachment using Microsoft Graph
Because Microsoft is phasing out EWS in a rather unusual fashion I am rewriting all of my code to use Microsoft Graph. Some things are quite easy and neat to rewrite. Copying a Message is not one of them. It has been a dreadful process of trial and…
Graph API calendar events skip and top not working properly
I try to access calendar events with the following link: https://graph.microsoft.com/v1.0/users/user@company.com/calendar/events?top=6 which works. I also got an nextlink at the end: "@odata.nextLink":…
How to call MSAL with the help of `Office.auth.getAuthContext()` response?
In Microsoft documentation for the Office.auth.getAuthContext() method, it mentions: "Gets information about the signed-in user. The add-in can pass this information to the Microsoft Authentication Library (MSAL.js) to get an access token for the…
Automatically Update Permission with Graph Api
Hello Community, I m having issues adding permissions in the API permissions. Basically following this guide: …
How can I filter or sort classes when listing them via the Graph for Education API
When calling the List Classes endpoint for a school that is part of a district, the API returns thousands of classes, old and new, in no particular order. We need to either filter that list or sort it by descending order of "last updated" or…
How to send an attachment file from Application to teams channel or user using Graph API
Hi, I would like to send an attachment to teams channel or 1:1 chat from my application using Graph API delegate permissions. I can not use the "contentURL" here. I have to generate the file from app itself and send to teams. How can I achieve…
Getting error using roleEligibilitySchedules rest api
In my NodeJS app v18.17.1 I am using msgraph-sdk-javascript this._graphClient = Client.init({ authProvider: (done) => { done(null, userToken); }, defaultVersion: "beta", debugLogging: true …
need to fetch last accessed details of a file using the graph api
Currently i am trying to fetch the audit logs of the one drive to see if any app has accessed my file hosted on ondrive using the graph api /auditLogs/directoryaudits. But the response is empty. Is there any endpoint that needs to accessed to fetch the…
undefined: graphdrives.NewInvitePostRequestBody (Graph SDK Golang)
Hi There I am trying to invite people to SharePoint Folders by using the example here (Golang): https://learn.microsoft.com/en-us/graph/api/driveitem-invite?view=graph-rest-1.0&tabs=go However, NewInvitePostRequestBody seems to be inexisting. I also…
Graph API not returning external users information from team meeting
Hello All, I am facing a issue. when the agents on call with external users in team, microsoft graph API is able to fetch data for external user. but as soon as external user hung up the call, the graph API is not able to retrieve this external user…
Retrieving SharePoint Page Permission Details via Microsoft Graph API
For a GENAI project, we are working on retrieving content from a SharePoint page using the Microsoft Graph API (https://developer.microsoft.com/en-us/graph/graph-explorer). We have found a URL to get the page content. However, we have not found a URL to…
Could not grant admin consent. Your organization does not have a subscription (or service principal) for the following API(s): Azure Communication Services,Microsoft Graph
i have add Teams.ManageCalls and Teams.ManageChats in api permission. But when i try to grant admin consent. i get error "Could not grant admin consent. Your organization does not have a subscription (or service principal) for the following API(s):…
Can a user exist in mail enabled security in graph and service account in exchange online?
We are working on migrating customers from Exchange Online to Microsoft Graph. In this context, can a user simultaneously belong to both a Service Account and a Mail-Enabled Security Group, while also having basic read permissions to ensure the…
one drive shared links API
import * as msal from '@azure/msal-node'; const msalClient = new msal.ConfidentialClientApplication({ auth: { clientId: CONFIG.ONE_DRIVE_CLIENT_ID, authority: `https://login.microsoftonline.com/${CONFIG.ONE_DRIVE_TENANT_ID}`, …
Are those feature feasible about "Power Automate" used in Teams chat ?
Hi all, I have some functions to implement but not sure if they are feasible about "Power Automate" used in Teams chat. Using REST API to trigger the power automate flow and during the process, adaptive cards will be issued to different…
Could not create a Private Channel using Microsoft Graph API on a Targeted/First Release tenant
We are having issues creating a Teams Private Channel within Targeted Release M356 tenants when using Microsoft Graph API. When we want to create a Private Channel the channel is created but the SharePoint folder backing up the channel is not created.…
How to Set and Identify Hosts When Creating a Meeting via Microsoft Graph API
Hello, I am creating online meetings using the Microsoft Graph API and need to distinguish between hosts (organizers) and regular attendees. Specifically, I want to ensure that only designated hosts can perform actions such as recording, while regular…
The difference of group chat member roles. ("owner" vs "guest")
Hi. First, what I'm referring is NOT the difference of roles of team in MS Teams, but the difference of roles in group chats. I created a group chat by calling this API: POST https://graph.microsoft.com/v1.0/chats And, I added two members. One has…
C# MSGraph API Sharepoint get Sites list
Hello, Need to get sharepoint site content using MS Extra DI login; I use two way to authenticate on azure Sharepoint site and get sites list: Using TenantId/ClientId/ClientSecret, Using MS Extra ID - login form is shown using 2 factor…
Invitations are blocked for this directory due to suspicious activity
https://learn.microsoft.com/en-gb/answers/questions/2088931/invitations-are-blocked-for-this-directory-due-to I tried adding around 200 users in bulk last week but the operation failed mid-way with the "Request was unsuccessful. Details: Invitations…