Category "microsoft-graph-api"

How to cache token with Microsoft Graph for Java

I am using Microsoft Graph SDK for some requests however everytime I perform a GET request it does another request to get a token. I've tried reading documentat

IPF.Imap can not be listed by graph api /users/{user_id}/mailFolders/{folder_id}/childFolders

As stated in the title, I am unable to list folders with FolderClass="IPF.Imap" using graph api /users/{user_id}/mailFolders/{folder_id}/childFolders. However,

Creating a Calendar event O365 package in python?

I'm trying to make a script to add Calendar events to my main calendar in outlook using python and the O365 package. But I keep running into various issues with

How i cant iterate a json object in power apps without use power automate

I have a custom connector with microsoft graph api in my power apps and i have a request and a response with graph explorer, now my problem is they i can't iter

Automatically save a send email as Adobe PDF and save in a folder

I would like to create an automatic step whenever I send certain emails with the subject line "Filing" and email body containing "filing done" to save these sen

Need to create VSTO UserProperties with MS Graph

We have an add in that works with user properties set as Outlook.OlUserPropertyType.olInteger I have been asked to integrate that with MSGraph. According to thi

How to add attachments to todoTasks using Microsoft Graph API v1.0

I am trying to add an attachment to a task using Graph API. Previously you can create and list attachments using Outlook Tasks enpoints in Outlook rest API and

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