Category "microsoft-graph-api"

Microsoft Graph API Activity Feeds Notification does not push to mobile app

I'm POST-ing to MS Teams Activity Feed Notifications via the Microsoft Graph API. However, the notifications are only being pushed through to the desktop and br

Copy a file, rename in case it exists using MS Graph for Onedrive/Sharepoint

I am copying a file from one drive to another. As part of the body request, I am also providing conflictBehavior as rename (tried with replace as well) but the

Uploaded Image to Sharepoint using Graph API contains no Content (.NET)

I alreadey use the following method to upload files (docx, xlsx) to our sharepoint. Now i'm trying to upload images (png, jpg) to the same library. I don't get

How to get Compliance Certification for Team recording bot

We are making our own bot to record team meeting, but after adding compliance policy, I am geeting this error("API call not allowed for non-Compliance Recording

InvalidAuthenticationToken. Access token validation failure. Invalid audience

I am using client credentials flow of OAuth 2.0 client credentials grant. I have given the necessary permission Calendars.ReadWrite in my Azure application, whi

Date filters not working as expected when querying Microsoft Graph API

I'm trying to filter the results I'm getting from the Users/Calendar/List Events endpoint of the MS Graph API. While trying to figure out what's going on I've b

NULL exception error using Select method in MS Graph .NET SDK

I'm trying to use the Microsoft Graph .NET SDK Library to query the Microsoft Graph API. I've had no trouble making some basic requests, but now I'm trying to m

Filtering query by the field: recurrence/range/endDate

Is it possible (using Graph Api) to filter query by recurrence/range/endDate event field? For other data types it works, but for the endDate field, which is a D

Querying all users that have a role in Azure Active Directory using MS Graph SDK

I want to query all users in Azure Active Directory who have an app role assigned to. I am looking for something like this: private readonly GraphServiceClient

Is it possible to programatically add an event to my own Office 365 calendar without an Azure subscription?

According to this guide there are a jillion ways to integrate, some of which are beyond my understanding, but they seem to require a Client Id which is created

Microsoft.Graph.Core Code:accessDenied uploading file to One Drive API

I use the below code to upload the file to OneDrive API. var uploadedFile = await requestBuilder .ItemWithPath(fileName)

Getting error "invalidRequest" when creating upload session (Microsoft Graph Api)

I am getting the below error when creating upload session (Microsoft Graph Api). { "error": { "code": "invalidRequest", "message": "Invali

Error 'Invalid hostname for this tenancy' on using graph api of sharepoint to subscribe event notification

I am new to sharepoint and now I am trying to create a webhook for my sharepoint sites, such that on any crud operation i would get notification in my app I ha

API Permission Status not granted warning in Azure AD Application API Permission

In the below image as you could see I'm getting the warning, "Not granted for SKCET Corporation Private Limited", what should I do to remove it ?

Microsoft Graph API Pagination is not working for getting all users from Azure AD

We are using Microsoft Graph API Beta version to retrieve all users from the Azure AD using below code. API returns only 100 users in the response and to use pa

MS Teams activity feed notifications don't arrive to mobile

I've successfully implemented activity feed notifications in my app (tab) for MS Teams. The problem is, I don't receive them on mobile devices: neither push not

Teams API: Setting presence only with user consent

Recently the Teams API has been extended so that applications can set the availability / presence for a user logged into Teams: https://docs.microsoft.com/en-us

MS Teams CallRecord: where is the first CallSegment and how I can access it?

in the call seen in the next image, the 2nd user has 2 Call segment but in the call record on the last one is shown. If my mind is correct i left the call and

Upload file to SharePoint using HTTP Client is not working

I want to upload a static file to SharePoint using Graph API and HTTP Client. We have a folder where the file is kept, now we have to read the file from the fol

Get SharePoint folders and docs using Microsoft Graph API

I'm trying to get the folders and documents from a SharePoint document library using Microsoft Graph API. If I do a GET request for https://graph.microsoft.com